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 have read and read and tried and tried.
could someone give me complete step by step instructions from where to save the download to the unpacking commands compiling and installing of
gimp-print-5.0.0-beta1.tar.bz2
i have tried bzip2 -d gimp-print-5.0.0-beta1.tar.bz2
linux:/tmp # bzip2 -d gimp-print-5.0.0-beta1.tar.bz2
bzip2: Can't open input file gimp-print-5.0.0-beta1.tar.bz2: No such file or directory.
linux:/tmp #
That "not in gzip format" is what you get when you use z instead of j with the tar command... maybe you mistyped it? Here's the steps:
1. Download to /usr/local/src (the normal place for putting the source code of programs, although it doesn't really matter)
2. tar jxvf gimp-print-5.0.0-beta1.tar.bz2 (j tells it to extract a bz2 file, x tells it to extract the tar file, v means "verbose" and will write out what is being unpacked to the screen, and f means the filename is coming up next)
3. cd gimp-print-5.0.0-beta1
4. Read any README or INSTALL files, as they will give you more information about how to install. If there aren't any special install instructions, it's usually:
5. ./configure
6. make
7. su (to switch to root, all the above commands should be typed as a user)
8. make install
klfreese@linux:~> tar jxvf gimp-print-5.0.0-beta1.tar.bz2
tar: gimp-print-5.0.0-beta1.tar.bz2: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
klfreese@linux:~> bunzip2 gimp-print-5.0.0-beta1.tar.bz2
bunzip2: Can't open input file gimp-print-5.0.0-beta1.tar.bz2: No such file or directory.
klfreese@linux:~>
klfreese@linux:~> bunzip2 gimp-print-5.0.0-beta1.tar.bz2
bunzip2: Can't open input file gimp-print-5.0.0-beta1.tar.bz2: No such file or directory.
klfreese@linux:~>
1. CD to the directory where the tarball is located.
2. get a directory listing to verify that the file is in the current directory. Use the -l option so you can check the length and permissions of the file.
3. use autocompletion. Type the command to extract the file, followed by the first few letters of the file and press the tab key. This will finish typing the rest of the filename for you, so there is less chance of typos.
4. use the man pages on the bunzip or tar commands so you can get the options correct.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.