Linux - NewbieThis 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.
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.
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.?
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.
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!
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.