Section G.2. Installation and Upgrade Tasks


G.2. Installation and Upgrade Tasks

Table G-2 shows differences in Linux and Solaris installation and upgrade tasks.

Table G-2. [*] Installation and Upgrade Tasks

Task

Solaris

Red Hat

SUSE

Install packages

pkgadd

rpm -i

 

Display installed packages

pkginfo or pkgparam

rpm -qa

 

Remove software package

pkgrm

rpm -e

 

Upgrade/install a package

pkgadd

rpm -U

 

Verify correct installation

pkgchk

rpm -V

 

Install a patch

patchadd

rpm -F

(upgrades only if already present)

List contents of installed package

Look in /var/sadm/
install/contents

rpm -ql

 

Check which file belongs to a package

Look in /var/sadm/
install/contents

rpm -qf

 

Check package information

Look in /var/sadm/
pkg/ PKGNAME/
pkginfo

rpm -qi

 

Remove a patch

patchrm

N/A

 

Display installed patches

showrev -p

N/A

 

Install OS on another disk(alternate disk installation)

Live upgrade

Install different OS on different disk/partition, dual boot using GRUB

Create an installation server for network installation

setup_install_server
install_dir_path

anaconda (see www.tldp.org/HOWTO/Network-Install-HOWTO.html)

autoyast (see www.tldp.org/HOWTO/Network-Install-HOWTO.html)

Create a boot server for network installation

setup_install_
server -b

bootdirpath

grub (see www.tldp.org/HOWTO/Clone-HOWTO/)

grub(see www.tldp.org/HOWTO/Clone-HOWTO/)

Set up a client for network installation

add_install_
client

anaconda (see www.tldp.org/HOWTO/Network-Install-HOWTO.html)

autoyast (see www.tldp.org/HOWTO/Network-Install-HOWTO.html)


[*] Table A-2 of IBM Redbook




UNIX to Linux Porting. A Comprehensive Reference
UNIX to Linux Porting: A Comprehensive Reference
ISBN: 0131871099
EAN: 2147483647
Year: 2004
Pages: 175

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net