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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-16-2003, 05:21 AM
|
#1
|
LQ Newbie
Registered: Oct 2002
Location: NY
Distribution: Redhat 9
Posts: 11
Rep:
|
how to install .tgz files?
I double click on a downloaded .tgz file and extract the files. But then I don't know what to do after this point. I am running redhat 9.0
|
|
|
08-16-2003, 05:27 AM
|
#2
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
|
|
|
08-16-2003, 05:29 AM
|
#3
|
Member
Registered: Aug 2003
Location: Chennai, India
Distribution: PCLinuxOS .92, FC4
Posts: 840
Rep:
|
Normally there will be a README file or such things that come with a tgz file. I don't know the correct steps for your downloaded file, but it will generally be about './configure' and then './make' with the two steps sometimes changed like './make install'.
|
|
|
08-16-2003, 09:53 AM
|
#4
|
LQ Newbie
Registered: Oct 2002
Location: NY
Distribution: Redhat 9
Posts: 11
Original Poster
Rep:
|
Thanks, this does give me a starting point. I'll give it a try.
|
|
|
08-16-2003, 01:53 PM
|
#5
|
Member
Registered: May 2003
Location: India
Distribution: Knoppix, RedHat
Posts: 246
Rep:
|
hi
tar zxvf filename.tar.gz -gzipped files
tar jxvf filename.tar.bz2 - bzipped files
move into the extracted directory
you will find readme and install files which will help you do the rest
|
|
|
08-17-2003, 07:04 AM
|
#6
|
LQ Newbie
Registered: Oct 2002
Location: NY
Distribution: Redhat 9
Posts: 11
Original Poster
Rep:
|
All the info above has helped alot!
I am having trouble finding the place to "cd" to after the file has been unpacked. is there an easy way to find out the location?
This is why im posting the "newbie" section!
|
|
|
08-17-2003, 09:29 AM
|
#7
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
If you type:
ls
It will list the files in that directory, and list the sub directories as well. Likely, 1 of the files/directories it lists will be the one you need to 'cd' into
Cool
|
|
|
08-17-2003, 09:55 AM
|
#8
|
Member
Registered: May 2002
Location: Argentina
Distribution: Mandrake 9.2
Posts: 177
Rep:
|
Midnight
Also you can install "Midnight commander" that is coming with more knowns distro.
With it u can "navigate" into your configuration and untar, unzip, etc with only one "Enter"
Inside the tar you can find a README o Install txt.
But if you are newbie search for the .rpm software. Then you can install, upgrade and uninstall the software with no problems
|
|
|
08-18-2003, 05:36 AM
|
#9
|
LQ Newbie
Registered: Oct 2002
Location: NY
Distribution: Redhat 9
Posts: 11
Original Poster
Rep:
|
Thanks again everyone, you've all been helpful. I am slowly getting the hang of this.
|
|
|
08-21-2003, 03:02 PM
|
#10
|
Member
Registered: Aug 2003
Location: Belgium
Distribution: Mint
Posts: 191
Rep:
|
|
|
|
08-21-2003, 03:03 PM
|
#11
|
Member
Registered: Aug 2003
Location: Belgium
Distribution: Mint
Posts: 191
Rep:
|
Hi
I use to follow the guidelines in Peter Norton's "Complete Guide to Linux", page 199 and further:
- put the tar.gz file in /usr/local/src. The reason for this is to avoid overwriting system installed software
- uncompress the so called "tarball" by typing:
tar xzvf tarfile-xxx.tar.gz
- cd to the newly created directory
- run configure by typing
./configure
- compile the source code by typing:
make
- last but not least, install the program by typing
make install
|
|
|
All times are GMT -5. The time now is 06:21 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|