Installing more packages


I have just installed Linux Red Hat 6.0

How do I Install/remove packages from the CDROm or from files I downloaded - After the installation is over ,
And I have Linux running ?
Please give full detail as I hardly know anything about linux yet ....


Who is Participating?
JadeFang68Connect With a Mentor Commented:
If you have setup your X graphic environment (The graphical Linux look!), there is an icon that looks like a gift in the control panel, this is the package manager. It allows you to install and remove packages.

If you are just in "text mode", try the commands pcrane suggested like this: (Put your Linux Bonus CD in the drive)

# mount -t iso9660 /dev/cdrom /mnt/cdrom
(This mounts your CD, making it visible to Linux)

# cd /mnt/cdrom
(Here you change to the directory where you can see the files in your CD)

# ls -lags
(This gives you a long listing of the files. The ones that have an rpm at the end are packages)

# rpm -iv package-name.X.X-X.rpm
(This runs the rpm tool, which installs and verifies packages)

Let me know if this helps
I don't use RedHat but you may try this:
mount -t iso9660 /dev/cdrom /mnt
cd /mnt
list and change to the directory containing all of the RPMs.
rpm -iv <package name>

do you have glint?

eofekAuthor Commented:
I use KDE , And I couldnt find a gift icon there,

the rpm from CMD works ...

But  how to I uninstall a package ?
( Probably rpm diffrent option ???)
If it's a diffrent option, then what it is ?
or something else ?

If you have KDE, the icon you're looking for, looks like a box with a red ball inside! And it works quite well, just highlight the package and click on your option!

From the command line, try

# rpm -e packagename.X.X-x.rpm

you can use the -vv and --test options to have rpm show you the list of files it will remove, and the --test option to have rpm show you if there will be packages that will have problems should you uninstall the one selected.
All Courses

From novice to tech pro — start learning today.