?
Solved

Installing more packages

Posted on 1999-07-10
4
Medium Priority
?
291 Views
Last Modified: 2013-12-06
Hi

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

Thanks

Eli.
 
0
Comment
Question by:eofek
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 

Expert Comment

by:pcrane
ID: 1635286
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?

0
 

Accepted Solution

by:
JadeFang68 earned 200 total points
ID: 1635287
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
0
 

Author Comment

by:eofek
ID: 1635288
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 ?

0
 

Expert Comment

by:JadeFang68
ID: 1635289
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.
0

Featured Post

Automating Terraform w Jenkins & AWS CodeCommit

How to configure Jenkins and CodeCommit to allow users to easily create and destroy infrastructure using Terraform code.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question