Yousuf> Hi Guys, I am a very new user of Linux. I just installed Red Hat
Yousuf> Linux 6.2 GNOME desktop. Could you guys help me in installing
Yousuf> software from a CD-ROM and the steps involved in it. Is there any GUI
Yousuf> tool for that.
Since you have a RedHat system, you can make use of the RPM (RedHat Package
Management) system. Software which is distributed in RPM format has filenames
which end in .rpm. Before the .rpm is another suffix which identifies the
architecture platform that the rpm is aimed at - assuming you have an x86
compatable machine, this is likely to be one of i386, i586 or i686 for 386/486,
Pentium and Pentium Pro machines respectively. If you have a PowerPC machine,
such as a G3 Mac, then this machine suffix will be ppc. If the file is for any
architecture (i.e. fonts are not specific to one machine type), the suffix is
For example, emacs might be distributed in a file which looks like:
So this can be read as a package containing Emacs 20.6, which has been patched
for the third time, compiled for the 386 compatable platform (which by the way
includes all the Pentiums and AMD chips), and distributed in rpm format.
To install it, you must be the superuser for the system - known as
'root'. However you should NOT run as root the whole time!! I can not emphasize
this enough! Even if you are about to do a load of administration, installation
and configuration, at the graphical login log in as a normal user. Particularly
with graphical tools, it is extremely easy to drag, say, the entire system
directory into a home directory without noticing and then you are in
trouble. There are other gotchas as well. Unlike Windows, Unix has a long
tradition of separating the administration of the system from the use of the
system, and it's a habit that new users should get used to fast.
Anyway, once you have logged in as a normal user, pull up a terminal window.
and type in the 'root' password. Now this terminal and only this terminal has
superuser priviledges. You can also start other graphical programs from this
terminal and they too will have superuser priviledges.
Now to install that software. If you know where the software is and you are
happy with the command line, you can simply change to the directory containing
the file and type something like
rpm -Uvh emacs-20.6-3.i386.rpm
This upgrades any existing Emacs on the system to the level in the package. To
install a fresh package, type
rpm -ivh emacs-20.6-3.i386.rpm
If you prefer graphical tools, try GnoRPM. It allows fairly obvious
installation of new packages. To start it as superuser, from the terminal where
you are logged in as superuser, type
(the & after the command means start this program and continue with this
terminal as well) and hopefully the rest should be straightforward.
Hope this helps
The views and opinions expressed in this message are my own, and do
not necessarily reflect those of IBM Canada.