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.
Distribution: Ubuntu Server, Slackware, Red Hat 6.1
Posts: 241
Rep:
Quote:
Originally Posted by The Redneck
Hello,
I need to know how to install bz2 files. Is there a code to type? I'm using suse 9.2.
Thanks.
The Redneck
You can type in tar xvjf filename.tar.bz2 to extract the files out of it. If its a program you downloaded, the bz2 most likely contains source code you will have to compile before installing.
2.cd to your downloaded file. e.g. sleek@0[~]$ cd desktop/ (i'm assuming you downloaded to your desktop. not the ideal place to do this, but for now . . .)
3 unpack your downloded file by typing tar xvfj fluxbox-1.0rc2.tar.bz2 all that will change for you is the name of the package. To make matters easier, if you will type the first 2-3 letters of the name of your download, and then press "tab", your file should fill into place for you. In other words, I would type: tar xvfj flu . . . ."tab" and would get the end result above.
after you unpack, go to your "unpacked" package. Just type: cd name_of_package. (hint: remember the tab button!)
inside that package type: ./configure
after thats done type: make
and finally type: su -c "make install" This will ask you for your root password. Just enter it to continue.
Hope this works for you. It is much easier to use a package manager when at all possible to avoid dependencies. I believe Suse uses Yast.
I've followed your description above but recieved an error message.
How do I fix this error?
Code:
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking target system type... i686-pc-linux-gnulibc1
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
I'm not sure if it's because I'm running Slack 12 and not Suse, but I get this error when I try tar xvfj whateverfile.tar.bz2 (and if I try tar -xvfj whateverfile.tar.bz2 or tar -xvfj whateverfile.tar.bz2 gzip)
bzip2: (stdin) is not a bzip2 file.
tar: Child returned status 2
tar: Error exit delayed from previous errors
Thanks if anyone can help.
I'm not sure if it's because I'm running Slack 12 and not Suse
No, it shouldn't make a difference.
Quote:
but I get this error when I try tar xvfj whateverfile.tar.bz2 (and if I try tar -xvfj whateverfile.tar.bz2 or tar -xvfj whateverfile.tar.bz2 gzip)
bzip2: (stdin) is not a bzip2 file.
tar: Child returned status 2
tar: Error exit delayed from previous errors
Thanks if anyone can help.
What is the exact name of the file you're using? Also, where did you get it?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.