LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 01-14-2006, 05:44 PM   #1
Kale.ktc
LQ Newbie
 
Registered: Jan 2006
Location: USA
Distribution: Slackware 10.1
Posts: 3

Rep: Reputation: 0
bz2 driver install


Hello,

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!

Last edited by Kale.ktc; 01-14-2006 at 05:51 PM.
 
Old 01-14-2006, 06:54 PM   #2
Kale.ktc
LQ Newbie
 
Registered: Jan 2006
Location: USA
Distribution: Slackware 10.1
Posts: 3

Original Poster
Rep: Reputation: 0
Ok I read the tut on .tar files but none of them mention tar.bz2...is it any different? Sorry for the messed up subject name by the way

Last edited by Kale.ktc; 01-14-2006 at 07:01 PM.
 
Old 01-15-2006, 09:23 AM   #3
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
A tar.bz 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 something.tar.bz and you have it in /home/Kale.ktc, I would do this:

Code:
cd /home/Kale.ktc
tar -jxvf something.tar.bz
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 tar.bz 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.

Peace,
JimBass
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
install driver amd64 *.out or bz2 carlainz Linux - Software 3 11-23-2005 10:40 AM
Opening bz2 files and also Samba Wha?Where? Linux - Newbie 4 10-18-2005 06:44 AM
Opening of a tar.bz2 file Gins Linux - General 8 04-08-2005 03:42 PM
how to install soundcard driver (*.tar.bz2) orbital1 Linux - Software 5 09-04-2004 11:54 AM
Opening .tar.bz2 files dominique Linux - Newbie 7 11-30-2001 02:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration