Objectives After completing this unit, students should be able to: Define the package definitions and naming conventions Identify how software products and updates are installed and managed on the system
8/12/2019 AU147vB0 Package
http://slidepdf.com/reader/full/au147vb0-package 1/17
Objectives
After completing this unit, students should be able to:Define the package definitions and naming conventions
Identify how software products and updates are installed
and managed on the system
8/12/2019 AU147vB0 Package
http://slidepdf.com/reader/full/au147vb0-package 2/17
AIX Product Offerings
AIX
LPPs
Bonus Pack
Expansion Pack
AIX Documentation
AIX Toolbox for Linux
8/12/2019 AU147vB0 Package
http://slidepdf.com/reader/full/au147vb0-package 3/17
Packaging Definitions
Smallest Unit
Specific Function
Collection of Filesets
Collection of Packages
Complete Product
fileset:
bos.INed
fileset:
bos.adt.lib
fileset:
bos.adt.prof
package:
bos.INed
package:
bos.adt
LPP:
bos
8/12/2019 AU147vB0 Package
http://slidepdf.com/reader/full/au147vb0-package 4/17
8/12/2019 AU147vB0 Package
http://slidepdf.com/reader/full/au147vb0-package 5/17
Bundles
A Bundle is a collection of packages and filesets suitedfor a particular environment
Predefined system bundles in AIX 5.1 include:
App-DevCDEGNOMEKDE
Media-DefinedNetscapedevices
wsm_remote
8/12/2019 AU147vB0 Package
http://slidepdf.com/reader/full/au147vb0-package 6/17
Software Updates
# oslevel
5 . 1 . 0 . 0
Version Release Modification Fix
MIGRATION smit update_all
8/12/2019 AU147vB0 Package
http://slidepdf.com/reader/full/au147vb0-package 7/17
Software States
Applied:
Committed:
Committed
FILESET 5.1.0.0
Install
FILESET 5.1.0.0(New Version)
FILESET 4.3.3.0(Old Version)
AppliedFILESET 5.1.0.0
Commit
or
Reject4.3.3.0
5.1.0.0
FILESET 4.3.3.0(Old Version)
Install
8/12/2019 AU147vB0 Package
http://slidepdf.com/reader/full/au147vb0-package 8/17
Software Installation and Maintenance
Software Installation and Maintenance
Move cursor to desired item and press Enter.
Install and Update Software List Software and Related Information Software Maintenance and Utilities Network Installation Management
System Backup Manager
F1=Help F2=Refresh F3=Cancel F8=Image
F9=Shell F10=Exit Enter=Do
8/12/2019 AU147vB0 Package
http://slidepdf.com/reader/full/au147vb0-package 9/17
Install and Update Software
Install and Update Software
Move cursor to desired item and press Enter.
Install Software Update Installed Software to Latest Level (Update All) Install Software Bundle
Update Software by Fix (APAR) Install and Update from ALL Available Software
F1=Help F2=Refresh F3=Cancel F8=Image
F9=Shell F10=Exit Enter=Do
S f
8/12/2019 AU147vB0 Package
http://slidepdf.com/reader/full/au147vb0-package 10/17
Install Software
Install Software
Type or select values in entry fields.Press Enter AFTER making all desired changes. [Entry Fields]
* INPUT device / directory for software /dev/cd0 +* SOFTWARE to install [_all_latest] + PREVIEW only? (install operation will NOT occur) no + COMMIT software updates? yes + SAVE replaced files? no +
AUTOMATICALLY install requisite software? yes + EXTEND file systems if space needed? yes + OVERWRITE same or newer versions? no + VERIFY install and check file sizes? no + Include corresponding LANGUAGE filesets? yes + DETAILED output? no +
Process multiple volumes? yes + ACCEPT new license agreements? no + Preview new LICENSE agreements? no +
F1=Help F2=Refresh F3=Cancel F4=List
F5=Reset F5=Command F7=Edit F8=ImageF9=Shell F10=Exit Enter=Do
commitvsapply
S ft I t
8/12/2019 AU147vB0 Package
http://slidepdf.com/reader/full/au147vb0-package 11/17
Software Inventory
# smit list_installed
List Installed Software and Related Information
Move cursor to desired item and press Enter.
List Installed SoftwareList Applied but Not Committed Software UpdatesShow Software Installation HistoryShow Fix (APAR) Installation StatusList Fileset Requisites
List Fileset DependentsList Files Included in a FilesetList Fileset Containing FileShow Installed License Agreements
F1=Help F2=Refresh F3=Cancel F8=ImageF9=Shell F10=Exit Enter=Do
lslpp command
-L lists the installed software-h shows the history of a software product
Li t I t ll d S ft
8/12/2019 AU147vB0 Package
http://slidepdf.com/reader/full/au147vb0-package 12/17
List Installed Software
Fileset Level State Description ---------------------------------------------------------------------------------------------------------------------Path: /usr/lib/objrepos bos.adt.base 5.1.0.0 COMMITTED Base Application Development
Toolkit bos.adt.include 5.1.0.0 COMMITTED Base Application Development
Include Files bos.adt.lib 5.1.0.0 COMMITTED Base Application Development
Libraries bos.diag.com 5.1.0.0 COMMITTED Common Hardware Diagnostics bos.diag.rte 5.1.0.0 COMMITTED Hardware Diagnostics bos.diag.util 5.1.0.0 COMMITTED Hardware Diagnostics Utilities bos.docregister.com 5.1.0.0 COMMITTED Docregister Common bos.docsearch.client.Dt 5.1.0.0 COMMITTED DocSearch Client CDE Application
Integration bos.docsearch.client.com 5.1.0.0 COMMITTED DocSearch Client Common Files bos.docsearch.rte 5.1.0.0 COMMITTED DocSearch Runtime bos.dosutil 5.1.0.0 COMMITTED DOS Utilities bos.games 5.1.0.0 COMMITTED Games
# lslpp -l bos.*
S ft M i t d Utiliti
8/12/2019 AU147vB0 Package
http://slidepdf.com/reader/full/au147vb0-package 13/17
Software Maintenance and Utilities
Software Maintenance and Utilities
Move cursor to desired item and press Enter.
Commit Applied Software Updates (Remove Saved Files) Reject Applied Software Updates (Use Previous Version) Remove Installed Software
Copy Software to Hard Disk for Future Installation
Check Software File Sizes After Installation Verify Software Installation and Requisites
Clean Up After Failed or Interrupted Installation
F1=Help F2=Refresh F3=Cancel F8=ImageF9=Shell F10=Exit Enter=Do
#smit maintain_software
i tfi C d
8/12/2019 AU147vB0 Package
http://slidepdf.com/reader/full/au147vb0-package 14/17
Installs a fix
# instfix -k IX38794 -d /dev/rmt0.1
Searches for a fix
# instfix -ik IX38794 All filesets for IX38794 were found.
Searches for a fix by keyword
# instfix -s SCSI -d /dev/rmt0.1
instfix Command
Exercise: AIX Software Installation
8/12/2019 AU147vB0 Package
http://slidepdf.com/reader/full/au147vb0-package 15/17
Exercise: AIX Software
Installation
Exercise: AIX Software Installation
Checkpoint
8/12/2019 AU147vB0 Package
http://slidepdf.com/reader/full/au147vb0-package 16/17
1. Which of the following states can your software be in, in order for you to be able to use it? (select all that apply)
a. Applied stateb. Removed statec. Install state
d. Commit state
2. What command is used to list all installed software on your system? ________________________________________________________
3. Which of the following can you install as an entity? (select all that apply)
a. Fileset
b. LPPc. Packaged. Bundle
4. What is the difference between the SMIT menus: Install Software and
Update Installed Software to Latest Level (Update All)? _______________________________________________________
Checkpoint
Unit Summary
8/12/2019 AU147vB0 Package
http://slidepdf.com/reader/full/au147vb0-package 17/17
AIX package naming conventions include the followingterms:LPPPackage
filesetsuffix
Use the lslpp command, SMIT or the Web-based
System Manager to list all software products installed onthe system
Unit Summary