LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-24-2004, 07:58 PM   #1
lucbosian
LQ Newbie
 
Registered: Sep 2004
Posts: 9

Rep: Reputation: 0
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
 
Old 09-24-2004, 09:05 PM   #2
scorbett
Member
 
Registered: May 2002
Location: Canada
Distribution: Slackware, Mandriva, RedHat
Posts: 46

Rep: Reputation: 15
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.
 
Old 09-25-2004, 10:58 AM   #3
rnice
LQ Newbie
 
Registered: Sep 2004
Location: Maryland
Distribution: Red Hat 9
Posts: 13

Rep: Reputation: 0
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)

Last edited by rnice; 09-25-2004 at 11:37 AM.
 
Old 09-25-2004, 11:25 AM   #4
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
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...
 
Old 09-25-2004, 11:27 AM   #5
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
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.
 
Old 09-25-2004, 11:35 AM   #6
rnice
LQ Newbie
 
Registered: Sep 2004
Location: Maryland
Distribution: Red Hat 9
Posts: 13

Rep: Reputation: 0
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to download/install libdb.so.3. stakhous Linux - Software 1 04-24-2004 06:22 PM
install from cd or download tnf Slackware - Installation 3 03-30-2004 02:28 PM
What to download and how to install it? midian Linux - Newbie 6 11-16-2003 03:13 PM
trying to download & then install fatrat Linux - Newbie 3 10-17-2003 12:34 AM
How do I Install a Download? NightSky Linux - Newbie 1 05-02-2002 12:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration