After we have uninstalled all the software that must be uninstalled after the installation of our Linux server see Software that must be uninstalled after installation of the Server and after the addition of the necessary RPM packages, so that we will able to compile programs on our server, we must verify the list of all installed RPM programs again but this time with the following command:
To verify the list of all installed RPM package on your system, use the command:
[root@deep] /#rpm -qa > installed_rpmThe -qa option will query all installed RPM packages on your system and the symbol > will redirect the output to the file named installed_rpm. The content of the installed_rpm file must match exactly this:
setup-2.0.5-1 | findutils-4.1-32 | passwd-0.63-1 |
filesystem-1.3.5-1 | gawk-3.0.4-1 | perl-5.00503-6 |
basesystem-6.0-4 | cdecl-2.5-9 | flex-2.5.4a-7 |
ldconfig-1.9.5-15 | gdbm-1.8.0-2 | procps-2.0.4-2 |
glibc-2.1.2-11 | glib-1.2.5-1 | psmisc-18-3 |
shadow-utils-19990827-2 | gmp-2.0.2-10 | python-1.5.2-7 |
mktemp-1.5-1 | cpp-1.1.2-24 | quota-1.66-8 |
termcap-9.12.6-15 | gpm-1.17.9-3 | gdb-4.18-4 |
libtermcap-2.0.8-18 | groff-1.11a-9 | readline-2.2.1-5 |
bash-1.14.7-16 | gzip-1.2.4-14 | glibc-devel-2.1.2-11 |
MAKEDEV-2.5-2 | initscripts-4.48-1 | rootfiles-5.2-5 |
SysVinit-2.77-2 | ipchains-1.3.9-3 | rpm-3.0.3-2 |
chkconfig-1.0.7-2 | cproto-4.6-2 | sash-3.3-1 |
ncurses-4.2-25 | ElectricFence-2.1-1 | make-3.77-6 |
info-3.12h-2 | kernel-2.2.12-20 | shapecfg-2.2.12-2 |
fileutils-4.0-8 | patch-2.5-9 | slang-1.2.2-4 |
grep-2.3-2 | ld.so-1.9.5-11 | slocate-2.0-3 |
ash-0.2-18 | less-340-1 | stat-1.5-11 |
at-3.1.7-11 | libc-5.3.12-31 | sysklogd-1.3.31-12 |
m4-1.4-12 | libstdc++-2.9.0-24 | tar-1.13.11-1 |
bdflush-1.5-10 | lilo-0.21-10 | tcp_wrappers-7.6-9 |
binutils-2.9.1.0.23-6 | pwdb-0.60-1 | tcpdump-3.4-16 |
bzip2-0.9.5c-1 | pam-0.68-7 | tcsh-6.08.00-6 |
sed-3.02-4 | sh-utils-2.0-1 | time-1.7-9 |
console-tools-19990302-17 | logrotate-3.3-1 | timed-0.10-23 |
e2fsprogs-1.15-3 | losetup-2.9u-4 | tmpwatch-2.0-1 |
byacc-1.9-11 | lsof-4.45-1 | traceroute-1.4a5-16 |
cpio-2.4.2-13 | mailx-8.1.1-9 | utempter-0.5.1-2 |
cracklib-2.7-5 | man-1.5g-6 | util-linux-2.9w-24 |
cracklib-dicts-2.7-5 | mingetty-0.9.4-10 | vim-common-5.4-2 |
crontabs-1.7-7 | mkbootdisk-1.2.2-1 | vim-minimal-5.4-2 |
textutils-2.0-2 | mkinitrd-2.3-1 | vixie-cron-3.0.1-39 |
dev-2.7.10-2 | modutils-2.1.121-14 | which-2.8-1 |
diffutils-2.7-16 | mount-2.9u-4 | zlib-1.1.3-5 |
dump-0.4b4-11 | ctags-3.2-1 | dev86-0.14.9-1 |
ed-0.2-12 | ncompress-4.2.4-14 | egcs-1.1.2-24 |
bison-1.28-1 | net-tools-1.53-1 | kernel-headers-2.2.12-20 |
etcskel-2.0-1 | netkit-base-0.10-37 | |
file-3.27-3 | newt-0.50-13 |
setup-2.1.8-1 | file-3.28-2 | ncompress-4.2.4-15 |
filesystem-1.3.5-1 | findutils-4.1-34 | net-tools-1.54-4 |
basesystem-6.0-4 | gawk-3.0.4-2 | newt-0.50.8-2 |
ldconfig-1.9.5-16 | patch-2.5-10 | passwd-0.64.1-1 |
glibc-2.1.3-15 | gdbm-1.8.0-3 | perl-5.00503-10 |
shadow-utils-19990827-10 | bison-1.28-2 | popt-1.5-0.48 |
mktemp-1.5-2 | glib-1.2.6-3 | procmail-3.14-2 |
termcap-10.2.7-9 | gmp-2.0.2-13 | procps-2.0.6-5 |
libtermcap-2.0.8-20 | gpm-1.18.1-7 | psmisc-19-2 |
bash-1.14.7-22 | groff-1.15-8 | quota-2.00pre3-2 |
MAKEDEV-2.5.2-1 | gzip-1.2.4a-2 | gdb-4.18-11 |
SysVinit-2.78-5 | inetd-0.16-4 | readline-2.2.1-6 |
anacron-2.1-6 | initscripts-5.00-1 | make-3.78.1-4 |
chkconfig-1.1.2-1 | ipchains-1.3.9-5 | rootfiles-5.2-5 |
m4-1.4-12 | iputils-20000121-2 | rpm-3.0.4-0.48 |
ncurses-5.0-11 | cpp-1.1.2-30 | sash-3.4-2 |
info-4.0-5 | cproto-4.6-3 | shapecfg-2.2.12-2 |
fileutils-4.0-21 | kernel-2.2.14-5.0 | slang-1.2.2-5 |
grep-2.4-3 | ctags-3.4-1 | slocate-2.1-2 |
ash-0.2-20 | kernel-utils-2.2.14-5.0 | stat-1.5-12 |
at-3.1.7-14 | ElectricFence-2.1-3 | sysklogd-1.3.31-16 |
byacc-1.9-12 | ld.so-1.9.5-13 | tar-1.13.17-3 |
bc-1.05a-5 | less-346-2 | tcp_wrappers-7.6-10 |
bdflush-1.5-11 | libc-5.3.12-31 | tcpdump-3.4-19 |
binutils-2.9.5.0.22-6 | libstdc++-2.9.0-30 | tcsh-6.09-4 |
bzip2-0.9.5d-2 | lilo-0.21-15 | time-1.7-9 |
sed-3.02-6 | pwdb-0.61-0 | tmpwatch-2.2-1 |
console-tools-19990829-10 | pam-0.72-6 | traceroute-1.4a5-18 |
e2fsprogs-1.18-5 | sh-utils-2.0-5 | utempter-0.5.2-2 |
cpio-2.4.2-16 | logrotate-3.3.2-1 | util-linux-2.10f-7 |
cracklib-2.7-5 | losetup-2.10f-1 | vim-common-5.6-11 |
cracklib-dicts-2.7-5 | lsof-4.47-2 | vim-minimal-5.6-11 |
crontabs-1.7-7 | mailx-8.1.1-10 | vixie-cron-3.0.1-40 |
textutils-2.0a-2 | man-1.5h1-1 | which-2.9-2 |
dev-2.7.18-3 | mingetty-0.9.4-11 | zlib-1.1.3-6 |
diffutils-2.7-17 | mkbootdisk-1.2.5-3 | dev86-0.15.0-2 |
dump-0.4b15-1 | mkinitrd-2.4.1-2 | egcs-1.1.2-30 |
ed-0.2-13 | modutils-2.3.9-6 | kernel-headers-2.2.14-5.0 |
cdecl-2.5-10 | mount-2.10f-1 | glibc-devel-2.1.3-15 |
etcskel-2.3-1 | flex-2.5.4a-9 |
This step is required to make sure we have not forgotten to remove some unnecessary RPM or to add some important packages that permit us to compile programs on the system. If the result looks as our installed_rpm file above, we are ready to play with our new Linux server.