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) |