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 am finding it difficult to know what to do with a tar file once I download. I looked at the tutorial on this site and the tar man page. They explain how to uncompress and other specifics like that, but are you suppose to create a new directory to install into or uncompress in your home folder...etc.
Is there a trick to it or unwritten rules? Also, sometimes the ./configure doesn't alway work.
You can uncompress anywhere you like (as long as you have write permission of course). As for why ./configure doesn't always work, you'll need to give more details about what you're trying to compile, and what error messages you're getting.
Distribution: Linux from Scratch 6.0, ClarkConnect server/gateway
Posts: 21
Rep:
(Assuming you're a total newb here, apologies if you're not)
/me slips into lecture mode
Generally tarballs are compressed either with gzip (*.tar.gz or *.tgz) or bzip2 (*.tar.bz2)
To extract, use a terminal and cd to the directory where the file is. Then type either
<code>tar xzvf name-of-file.tar.gz</code> or <code>tar xjvf name-of-file.tar.bz2</code>. In the vast majority of cases, it then creates its own subdirectory within your current directory. Extremely poorly archived stuff (*COUGH* openoffice *COUGH*) sometimes doesn't do this, and just dumps 50 files/directories in your lap. In those rare cases you have to put the tarball in its own directory.
Yes I am a complete newbie so details are very important. So, usually, I can uncompress in my home directory, read the readme or install file, usually run ./configure w/make, make install...etc, and the program will install itself where it needs to go? Am I close?
For practice, I am trying to install the tarball for Adobe Reader 7.0. I decompressed, changed to the correct director, and read the readme file which said:
Tarball Installer:
1. Make sure you have at least 110 MB of available disk space
2. Run "tar -zxvf AdbeRdr70_linux_enu.tar.gz"
3. Run the "INSTALL" script in the "AdobeReader" directory thus
created
I see the INSTALL script but how do I run it. WHat it says in steps 1,2,3 is it for tar instructions
Originally posted by BNI
...In the vast majority of cases, it then creates its own subdirectory within your current directory. Extremely poorly archived stuff (*COUGH* openoffice *COUGH*) sometimes doesn't do this, and just dumps 50 files/directories in your lap. In those rare cases you have to put the tarball in its own directory. [/B]
You can figure out if it's extremely poorly archived by using the t option: tar tzvf name-of-file.tar.gz.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.