LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do I install something I download? (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-install-something-i-download-234930/)

lucbosian 09-24-2004 07:58 PM

How do I install something I download?
 
hi

i would like to know how to install a package i download. How's the procedure. I'm using red hat 9.0

thanx

scorbett 09-24-2004 09:05 PM

If it was an rpm that you downloaded, then just "rpm --install packagename.rpm" should do the trick. If it was a tar.gz file or something else, you may have to uncompress it and build the source. Look for a file called README or INSTALL in the archive and it should give you better instructions.

rnice 09-25-2004 10:58 AM

If you download the source, you can just do
tar -zxvf *.tar.gz will decompress the files
./configure --help (to see what options you can do)
./configure (sets up the configuration)
make (builds the source)
make install (installs the program)

Komakino 09-25-2004 11:25 AM

If you took the time to search this site, you'd find the answer. This gets asked and answered hundreds of times a week.

I may have exagerated slightly...

Komakino 09-25-2004 11:27 AM

Quote:

Originally posted by rnice
If you download the source, you can just do
./tar -zxvf *.tar.gz will decompress the files
./configure --help (to see what options you can do)
./configure (sets up the configuration)
./make (builds the source)
./make install (installs the program)

Your instructions are going to give "command not found" errors for the first, fourth and fifth lines...only configure starts with ./ because it's a script in the current directory. Tar and Make are both programs in the path...putting a ./ first will make bash only look in the current directory where it won't find them and will return command not found.

rnice 09-25-2004 11:35 AM

try running the ls command to list the contents of the current folder
there might be a new folder that was created
cd "newfolder" to move to that folder
Inside there might be an INSTALL file... to view it use gedit or kwrite or nano or pico or whatever else there is
Reading the INSTALL file should tell you everything you need to know about building the source and installing.
in this folder is where the scripts should be for configuration


All times are GMT -5. The time now is 04:39 PM.