LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Adding packages Redhat 9.0 text interface (https://www.linuxquestions.org/questions/linux-software-2/adding-packages-redhat-9-0-text-interface-91727/)

thepez 09-11-2003 02:59 PM

ignore i moved it to the newbie forum
 
Alright I'm the first to admit Im a newbie.
Here's my problem, everytime I wanted to add packages I've been doing a full re-install there has to be a better way right?
The Redhat support doco only explains how to do using the gui interface but im text interface only.
I tried boot to the install disk and selecting upgrade but it just tried to update exisiting packages. I tried red-config-packages and redhat-install-packages but it gave a $DISPLAY error.
I searched on google and the LDP and all the faqs and other threads I find all use the gui interface to do it.
Please help!!!
This whole backing-up and re-install thing is pushing me over the edge.

Mathieu 09-11-2003 06:55 PM

To install an RPM, type:
Code:

rpm -ivh package_name
To upgrade an existing RPM that is already installed on the computer, type:
Code:

rpm -Uvh package_name

BigNate 09-11-2003 07:10 PM

mount the install cd roms. cd to them and rpm the desired pkgs

Looking_Lost 09-11-2003 07:52 PM

And if you mean using their up2date feature it works without a gui aswell, just type up2date and there's something like up2date_config, or up2dateconfig, something like that, that lets you configure options for it.

man up2date

possibly for extra info

ehdwuld 09-11-2003 08:26 PM

rpm -ivh --replacepkgs package_name
incase you feel taht something may have been lost

man rpm

ehd
:newbie:
:study:


All times are GMT -5. The time now is 08:42 AM.