Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-17-2005, 04:47 PM   #16
Senior Member
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55

The file extension means nothing in linux, they're there for the user's benefit. Even if you called a .tar.bz2 file .zip you could untar it using:
tar jxvf
as if you'd never renamed it.

Anyway, I'm not sure why you're having such problems. If you've downloaded a file ending in tar then:
tar zvf myfile.tar
will untar it. If it ends in .tar.gz (or .tgz) then:
tar zxvf myfile.tar.gz
will untar it. If it ends in .tar.bz2 then:
tar jxvf myfile.tar.bz2
will untar it. Then, assuming you've downloaded source code, you would:
cd mynewdirectory
where mynewdirectory is the directory created when you untarred the tarball.
And then read the README or INSTALL file, which usually tells you to:
(become root - by typing su and entering the password)
make install
(to put the program on the system at large)
Old 02-17-2005, 06:04 PM   #17
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 19,575

Rep: Reputation: 3502Reputation: 3502Reputation: 3502Reputation: 3502Reputation: 3502Reputation: 3502Reputation: 3502Reputation: 3502Reputation: 3502Reputation: 3502Reputation: 3502
Seems the initial question isn't being answered. The reason there is a problem is a lack of understanding of tar
You need to tell it what to - compress or uncompress or whatever. Verbose by itself ain't valid - as the message said.
We all know this, the answers given show the options, but not why.

Some of the links given should do the job, but man command is there for a reason.
squirlprotector, try entering man tar from a terminal screen. This is a help system (contraction of "manual" I believe). Works for most commands when you get lost
edit: use q (quit) to get out of man.

Last edited by syg00; 02-17-2005 at 06:37 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
how to install and src.rpms and tar.gz files gadekishore Linux - Software 1 10-12-2005 08:09 PM
cannot install .tar files sharadgana Linux - Newbie 2 12-02-2004 11:51 AM
how to install tar.gz files bucovaina78 Linux - Newbie 12 11-12-2004 04:57 AM
How do you install tar/gz files, and rpm files? Fear58 Linux - Software 6 02-14-2004 04:35 PM
cant install .bin files, tar.gz files or anyother format!!! madskillz Linux - Newbie 4 10-05-2003 10:28 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:19 PM.

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