LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   RPM's and Binaries (https://www.linuxquestions.org/questions/linux-newbie-8/rpms-and-binaries-92104/)

vierstein 09-12-2003 04:04 PM

RPM's and Binaries
 
Im new to linux, and ive got some questions.
I use Red Hat 9, and im not sure how RPM's work.
Once i install a package, which is a new application, I can never find where i can run the program from.
Also, im not sure how to use a program i downloaded with the extension .sh.bin.
Please help.
Thanks in advance.

N00B :newbie:

contrasutra 09-12-2003 04:44 PM

To install an RPM:

rpm -Uvh foo.rpm

to uninstall one:

rpm -e foo.rpm


Where does it install? This is asked all the time, but the binaries (executables) are installed in places like: /sbin, /usr/bin, /usr/local/bin.

To run a program, just type its name into a terminal.

Yamakaze 09-12-2003 04:49 PM

Or for more convenience, just create an icon on your desktop that runs any of those commands.

vierstein 09-12-2003 05:01 PM

thanks.
Also i downloaded a program, and the instructions were toinstall it from its zip file, i wasnt sure how to do this, so i just extracted it, but then i couldnt run it.

contrasutra 09-12-2003 07:03 PM

you have to compile it.

Search the forums (and google.com/linux) for "how to compile from source".

And "zip" is for ZIP files, linux usually uses tar.gz.


All times are GMT -5. The time now is 12:47 AM.