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.
|
|
07-10-2003, 07:15 PM
|
#1
|
Member
Registered: Jun 2003
Location: Bogota, Colombia
Distribution: Red Hat 8, knoppix, Xandros
Posts: 51
Rep:
|
Problems with Tar.gz files
I had download some tar.gz files. I was looking how can I decompress them but i've seen lots of ways. I would like to know which ones are the basic differences between them..
These are some examples:
- gunzip -i xxxx.tar.gx | xvf
- tar xvzf xxxx.tar.gz
And some other like those.. Now I dont remember specifically, i'd written them from my mind,
Please somebody help me.... What Should I do after those steps.?
Sometimes there is an "install", "make" etc....
|
|
|
07-10-2003, 07:25 PM
|
#2
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
Read the INSTALL or README file that is tar'ed with them and it should give instructions in most cases to install. Other than that, it all depends on the package your installing.
|
|
|
07-10-2003, 07:25 PM
|
#3
|
Member
Registered: May 2003
Distribution: redhat 9.0
Posts: 113
Rep:
|
Well here is how I usually deal with tar.gz files. However, I am also a noob so there are probably better ways. I will use the tar command on the tar.gz as follows " tar xzvf <filename.tar.gz>" x - extract, z - unzip, v - verbose, f - filename. After that you will have a directory created similar to the filename you used tar with. Now you can cd into that directory and most likely run ./configure to set up the make file and such. You will also want ot read the readme and install files in this directory because this should tell you how to go about installing the app. After ./configure completes sucessfully you will run "make", then su to superuser and run "make install". This should install it and get it up and going, but refer to the readme and install because some apps are different. Hope this helps!
|
|
|
07-10-2003, 07:27 PM
|
#4
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
On another note, unless its something I've installed before, I always read the INSTALL or README files so I can assure myself I'm installing it properly, instead of assuming its just a basic:
tar -xzvf packagename
cd packagename
./configure
make
su - root
make install
make clean
exit
./runpackage
|
|
|
All times are GMT -5. The time now is 12:59 AM.
|
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
|
|