Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

13.1. The necessary packages

The following are the necessary packages needed to be able to compile the other software programs on your system after recompilation of your kernel. This software is on your Red Hat Linux 6.1 or 6.2 Part 1 CD-ROM under RedHat/RPMS directory if they are not already installed.
         [root@deep] /#mount /dev/cdrom /mnt/cdrom/
         [root@deep] /#cd /mnt/cdrom/RedHat/RPMS/
         

Version 6.1 only

autoconf-2.13-5.noarch.rpmctags-3.2-1.i386.rpm
m4-1.4-12.i386.rpmegcs-1.1.2-24.i386.rpm
automake-1.4-5.noarch.rpmElectricFence-2.1-1.i386.rpm
dev86-0.14.9-1.i386.rpmflex-2.5.4a-7.i386.rpm
bison-1.28-1.i386.rpmgdb-4.18-4.i386.rpm
byacc-1.9-11.i386.rpmkernel-headers-2.2.12-20.i386.rpm
cdecl-2.5-9.i386.rpmglibc-devel-2.1.2-11.i386.rpm
cpp-1.1.2-24.i386.rpmmake-3.77-6.i386.rpm
cproto-4.6-2.i386.rpmpatch-2.5-9.i386.rpm

Version 6.2 only

autoconf-2.13-5.noarch.rpmctags-3.4-1.i386.rpm
m4-1.4-12.i386.rpmegcs-1.1.2-30.i386.rpm
automake-1.4-6.noarch.rpmElectricFence-2.1-3.i386.rpm
dev86-0.15.0-2.i386.rpmflex-2.5.4a-9.i386.rpm
bison-1.28-2.i386.rpmgdb-4.18-11.i386.rpm
byacc-1.9-12.i386.rpmkernel-headers-2.2.14-5.0.i386.rpm
cdecl-2.5-10.i386.rpmglibc-devel-2.1.3-15.i386.rpm
cpp-1.1.2-30.i386.rpmmake-3.78.1-4.i386.rpm
cproto-4.6-3.i386.rpmpatch-2.5-10.i386.rpm

Important: It is better to install the software described above all together if you don't want to receive dependency error messages during RPM install. If you have followed all the steps in Installation of your Linux Server, then all of these packages are already installed on your system and you don't need to reinstall them again.

The RPM command to install a RPM package on your system is:
         [root@deep] /#rpm -Uvh foo-1.0-2.i386.rpm
         
The RPM command to verify that a package is or is not installed on your system is:
         [root@deep] /#rpm -q foo
         

Once again, after installation and compilation of all programs that you need on your server, its important to uninstall all sharp objects compilers, etc. describe above. This will protect your system from unauthorized users trying to compile programs on your server without authorization.

Another thing to do is to move the rpm binary program to a safe place like a floppy disk for the same reasons listed above. Imagine somebody with dark intentions trying to compile programs on your server and realizing that compilers are not available. They will switch to import programs RPM on the server and install it with the RPM commands. Whoops, Heh! Heh! surprised! RPM commands are not available either.

Of course, in future if you need to install new software on your server, all you have to do is to replace it from the floppy disk. To move the RPM binary in the floppy disk, use the command:
         [root@deep] /#mount /dev/fd0 /mnt/floppy/
         [root@deep] /#mv /bin/rpm /mnt/floppy
         [root@deep] /#umount /mnt/floppy/
         
To put the RPM binary to its original directory, use the command:
         [root@deep] /#mount /dev/fd0 /mnt/floppy/
         [root@deep] /#cp /mnt/floppy/rpm /bin/
         [root@deep] /#umount /mnt/floppy/
         

Warning

Never uninstall the RPM program completely from your system or you will be unable to reinstall it again later since to install RPM or other software you need to have RPM commands available.

 
 
  Published under the terms of the Open Publication License Design by Interspire