-   Linux - Newbie (
-   -   gg (

Kale.ktc 01-14-2006 05:44 PM

bz2 driver install

Just installed Slackware 10.1 not too long ago. This is my first distro and I am would like to know how to exectue a bz2 file. The bz2 file (which is a driver I need to setup my nic) was in my windows partition, and I mounted it to linux, got the bz2, but when I opened it all I got was C code files. I have never tried to execute a program in linux and I was wondering how I should go about doing this so I can install this driver and get my network running. Thanks in advance!

Kale.ktc 01-14-2006 06:54 PM

Ok I read the tut on .tar files but none of them mention it any different? Sorry for the messed up subject name by the way :(

JimBass 01-15-2006 09:23 AM

A file is just a compressed tar file. It doesn't "execute" anything however. It is a similiar thing to a .zip file in other OSes. You didn't read the man page of tar too well, as it tells you the -j modifier is to extract or compress a bz2 file. So if we make the assumptions that the file you downloaded is called and you have it in /home/Kale.ktc, I would do this:


cd /home/Kale.ktc
tar -jxvf

That will extract the compressed files. The modifiers, j tells the tar program that the file to work on is compressed by bz2, x is for extract, v is verbose, so it tells you everything it is unpacking, and f tells it you are pointing it at the standard input file. Everything will be extracted to the current directory, which is /home/Kale.ktc in the example. Most files will create their own new directory, usually named the same as the tar file itself. In our example, that would create a new directory called something in /home/Kale.ktc, so you can cd into the new something directory, and work with whatever is there.


All times are GMT -5. The time now is 06:14 AM.