How to install BZ2 files
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 |
Quote:
|
Try with this:
tar xvjf file.bz2 cd file ./configure make su make install |
compile?
(blank mind) |
ok heres the simple route:
1 open a terminal 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. |
What do you mean when you say: "CD to the file"
|
tar xvjf file.bz2
cd name_of_the_file/ ./configure make su make install You have a file named xxx.bz2 and then a folder named xxx/ |
Quote:
Note: not everything that comes tarred and compressed will need to be compiled---inside might simply be an .rpm, .deb, or some other package. first you have to extract the archive, then look in the folder. What happens next depends on what you find. |
PS:
If the file is simply something.bz2 then I don't think you use tar. Would it not simply be bzip2 or one of its cousins?? (man bzip2 for details) |
tar will do bz2 files. That's the -j option (or --bzip2).
|
Thanks fo all y'alls help!
|
Quote:
"tar xvjf file.bz2" (It's not a .tar file) I would have thought that would work only if the file was: "file.tar.bz2" |
How do I fix install error?
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 |
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. |
Quote:
Quote:
|
All times are GMT -5. The time now is 03:58 AM. |