Skip to content

AIX - Package/Fix

Commands

Packages

Packages list:

# With state:
lslpp -l

# Generic:
lslpp -L all

# Historical:
lslpp -h

Get which package provide a bin:

lslpp -w {bin}
# Ex: lslpp -w /usr/dt/bin/dtterm

List package from a directory:

installp -l -MR -d /path/to/packages

Install package:

installp -aYX -d /path/to/packages lsof 

Commit package:

installp -c {package}

Delete package:

installp -u (-g) {package}
# Ex: installp -u -g bos.cifs_fs.rte

Create .toc (Package index):

bffcreate -ld .

List package greather/lower than version:

oslevel -rg 7200-04
oslevel -sg 7200-04-02-2028

Update

Update package:

smitty update_all

Fix

Check that installed levels are completed:

instfix -i | grep -i ML
# Output:
#   All filesets for 7.1.0.0_AIX_ML were found.
#   All filesets for 7100-00_AIX_ML were found.
#   All filesets for 7100-01_AIX_ML were found.
#   All filesets for 7100-02_AIX_ML were found.

List installed fix:

instfix -ivq

Check missing fix or package:

instfix -icqk {ML} | grep :-:
# Ex: instfix -icqk 7200-01_AIX_ML | grep :-:

Install interim fix (*.Z):

# Preview
emgr -e {ipkg-name} -p

# Install
emgr -e {ipkg-name} -X

Install a fix:

# Preview
installp -a -d {fix-name} -p all

# Install
installp -a -d {fix-name} -X all

Check quality of package installation:

lppchk -vm3
Back to top