LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   installing rpms doesn't do anything (https://www.linuxquestions.org/questions/linux-newbie-8/installing-rpms-doesnt-do-anything-148243/)

c0mpl3t3n00b 02-19-2004 09:03 PM

installing rpms doesn't do anything
 
I'm using Red Hat 9 and i've d/l some rpms. The latest one was tvtime. I dbl clicked it and a screen flashes up for a sec, then nothing. Am I doing something wrong in terms of installing things on Linux? Was there something I should do first? RPM's are the equivalent of .exe 's right?

LinuXP 02-19-2004 09:08 PM

Open up the command console (terminal, konsole, etc.)

- cd to the directory where you downloaded the rpm

- type rpm -ivh NAME_OF_THE_RPM

Example
rpm -ivh driver.rpm

DrOzz 02-19-2004 09:08 PM

well lets take a different approach to see whats happening ....
open up a terminal and su - to root ...
navigate to the folder where the rpm is located and type :
rpm -ivh nameofpackage.rpm
and post back the output (that is if it errors) ...

jax8 02-19-2004 09:09 PM

kind of. RPMs create a logical database of installed packages on your system.

The best way to install them is by using a terminal because I have also had problems using the GUI.

you can install packages my going to the directory where you downloaded the rpm and typing

rpm -Uvh thePackageName.rpm


rpm -e thePackageName --->remove the package (NOTE no .rpm)


rpm -qa ---> query all installed rpm packages


to see all the options type

man rpm

or

info rpm

DrOzz 02-19-2004 09:10 PM

Quote:

Originally posted by LinuXP

- type -ivh NAME_OF_THE_RPM

Example
-ivh driver.rpm


well you should state that you have to type rpm before the -ivh :p
otherwise he would have been sitting there all day getting
-ivh: command not found
:p

anyways i made note of it above ...

LinuXP 02-19-2004 09:12 PM

LOL, I edited it right before you posted that :cool: . See what happens when you try to watch ER at the same time you read LQ :D ?

*edited this post 3 times for typos*

c0mpl3t3n00b 02-19-2004 11:18 PM

thanks for the help guys

Redeye2 02-20-2004 12:40 AM

BTW, if you want to filter the output from rpm -qa , type:
rpm -qa | grep «name of package» .

agallant 02-20-2004 08:52 AM

I had the same problem. First you have to make the file and exicutable then you have to install it rom the command line.

james.farrow 02-20-2004 09:58 AM

Take alook at the bottom of this thread:-http://www.linuxquestions.org/questions/showthread.php?s=&threadid=147041&highlight=installations
ITs about installing and configuring apt4rpm


All times are GMT -5. The time now is 01:25 PM.