LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 04-18-2007, 12:29 PM   #1
matsyuf
Member
 
Registered: Mar 2007
Posts: 97

Rep: Reputation: 15
tar.gz


HI all,

I have a compressed file, I unzipped it with command below;

tar -xzvf /home/mats/Desktop/firefox-2.0.0.3.tar.gz

My questions are;

1- Where do the uncompressed files go since i didnt specify where they should be uncompressed to

2- How can I remove the uncompressed files

3- How can I specify where the files should be uncompressed too.

Thank linux questions and all its users
 
Old 04-18-2007, 01:06 PM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
1. The current directory. The Firefox archive probably makes a directory called "mozilla" or "firefox" in the current directory with all the files in it.

2. Use rm remove files. If you want to remove a non-empty directory you you can use "rm -r directory".

3. Check the man page to see if there's an option for this. If not, you can just move the archive to where you want it extracted and then extract it there.
 
Old 04-18-2007, 01:08 PM   #3
mickza
Member
 
Registered: Mar 2005
Location: South Africa
Distribution: Centos, Fedora, Ubuntu desktop, IPCop
Posts: 168

Rep: Reputation: 33
1) subordinate to the directory you unzipped it in - assuming you were in /tmp it will have unzipped to /tmp/firefox???? (tar unzip usually creates a sub-directory tree with a name similar to the zipped file probably firefox-2.0.0.3 in your case).

2) rm -rf /tmp/firefox????/* (using directory assumed in 1).

3) cd to a known directory and run the tar command you used.
 
Old 04-18-2007, 01:20 PM   #4
ekj
Member
 
Registered: Apr 2007
Location: Sweden
Distribution: openSUSE
Posts: 37

Rep: Reputation: 16
if you want to list all the files that are contained in the archive, you can run this command:
Code:
tar -tf /home/mats/Desktop/firefox-2.0.0.3.tar.gz
 
Old 04-18-2007, 01:46 PM   #5
matsyuf
Member
 
Registered: Mar 2007
Posts: 97

Original Poster
Rep: Reputation: 15
Thanx all

For this case the firefox file is on Desktop, but i dont see the sub directory for the uncompressed files. COuld it be somewhere else?
 
Old 04-18-2007, 01:51 PM   #6
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
What files/directories are in Desktop?
 
Old 04-18-2007, 01:51 PM   #7
ekj
Member
 
Registered: Apr 2007
Location: Sweden
Distribution: openSUSE
Posts: 37

Rep: Reputation: 16
they should be in the directory where you ran the extraction command
 
Old 04-18-2007, 08:46 PM   #8
ljs662_removed
Member
 
Registered: Nov 2006
Posts: 51

Rep: Reputation: 15
Easier way

If you are trying to install firefox - which it looks like you are - and you don't understand tar extractions there are other methods avaliable for installing.
Some Distros such as debian and ubuntu allow you to install it using a packet manager, for debian you would use
Code:
apt-get install firefox
for ubuntu you would use

Code:
sudo apt-get install firefox
but there are different packet managers around too, such as portage, which comes with gentoo, to download and install firefox using portage you would run

Code:
emerge firefox
Hope that helps
 
Old 04-19-2007, 01:22 PM   #9
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
I believe the OP wants to use the Mozilla branded version of Firefox, rather than Iceweasel (given that they posted a thread on this in General), not that there's any real difference between the two.
 
Old 04-20-2007, 04:58 AM   #10
matsyuf
Member
 
Registered: Mar 2007
Posts: 97

Original Poster
Rep: Reputation: 15
Reply

Hi all,

I think i will settle for ice weasle, I have found out that is the recent version of mozilla firefox if am not right, anyone can correct me on that.

Now my other issue is installing java to work with this iceweseal

Regards

Yusuf
 
Old 04-20-2007, 05:16 AM   #11
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
As explained in your thread in General, Iceweasel is just Firefox but without the Mozilla branding (i.e. logos and stuff). I don't know much about why Debian rebranded it, it was something to do with the licensing in Firefox being incompatible with Debian.

Anyway, please provide more info about the problem you're having trying to install the JRE.
 
Old 04-20-2007, 06:25 AM   #12
matsyuf
Member
 
Registered: Mar 2007
Posts: 97

Original Poster
Rep: Reputation: 15
I want ot install jave as i cant use some websites due to luck of java plugin on mozilla iceweseal
 
Old 04-20-2007, 09:29 AM   #13
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Have you tried to install the plugin? If so, you need to tell us what went wrong. If you haven't tried installing it, then install it..
 
Old 04-20-2007, 10:17 AM   #14
SCClockDr
LQ Newbie
 
Registered: Apr 2007
Location: SC UpState
Posts: 15

Rep: Reputation: 0
You might want to consult FireFox release notes
 
Old 04-20-2007, 10:24 AM   #15
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Rep: Reputation: 45
I don't know what distribution your using, but if your using Gentoo you can get the Firefox branding through portage.
 
  


Reply


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 can i decompress this tar.tar file? hmmm sounds new.. tar.tar.. help ;) kublador Linux - Software 14 10-25-2016 02:48 AM
tar tar cvf - . | (cd /root/; tar xvf -) ewt3y Linux - General 10 02-19-2014 10:55 AM
BackUp & Restore with TAR (.tar / .tar.gz / .tar.bz2 / tar.Z) asgarcymed Linux - General 5 12-31-2006 02:53 AM
tar | ssh (tar > .tar) syntax issues EarlMosier Linux - Software 6 12-21-2006 12:28 AM
Diferance between rpm, tar, tar.gz, scr.tar, etc mobassir Linux - General 12 08-21-2003 06:30 AM


All times are GMT -5. The time now is 01:51 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration