I need help getting my tar.gz files to execute


 
Thread Tools Search this Thread
Operating Systems Linux I need help getting my tar.gz files to execute
# 1  
Old 01-26-2007
Lightbulb I need help getting my tar.gz files to execute

I am having trouble getting my Tar.gz file to execute. I do the following
tar -zxvf firefox-2.0.0.1.tar.gz at the terminal once installed I can not get the firefox Icon or bin to execute. I do not know how to configure the path to get it to work. It places the folder under the /root/usr/local/bin. But will not execute. I tried linking the two bin and still dosent work. It also dosent place the firefox bin under the local usr bin. Help please.
# 2  
Old 01-26-2007
It should place everything in /usr/lib/firefox. Then you should be able to run /usr/lib/firefox/firefox. Note that this is just a shell wrapper around the firefox-bin executable. I'm using FC4. YMMV.
# 3  
Old 01-27-2007
have you used "gunzip" before "tar" on the file? "tar *.tar.gz" dosen't work...
# 4  
Old 01-28-2007
Lightbulb File

I will give it a try. Thanks
# 5  
Old 01-29-2007
Quote:
have you used "gunzip" before "tar" on the file? "tar *.tar.gz" dosen't work...
The "z" option with GNU tar should filter the file through gzip... so that shouldn't have anything to do with the error... it should still unpack the tar.gz file.

From my man page on tar ( GNU tar ):
Code:
       -z, --gzip, --gunzip, --ungzip
              filter the archive through gzip

# 6  
Old 01-29-2007
Quote:
Originally Posted by nathan
The "z" option with GNU tar should filter the file through gzip... so that shouldn't have anything to do with the error... it should still unpack the tar.gz file.

From my man page on tar ( GNU tar ):
Code:
       -z, --gzip, --gunzip, --ungzip
              filter the archive through gzip

i'm on solaris and there is no -z option in tar. but thnax for the information!
# 7  
Old 01-29-2007
Quote:
Originally Posted by nathan
It should place everything in /usr/lib/firefox.
It won't, they will have to be moved there. By default, GNU tar strips the leading / from absolute pathnames.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Find files and execute commands on these files (advanced)

So, I need to find a bunch of files and delete them (this example, but sometimes I need it for something else) and my trusty go-to command has always been: find . -type f -name '*file*' | xargs -I## rm '##' Works wonders... But: touch file\ file\'.txt touch file.txt touch file\ file.txt... (6 Replies)
Discussion started by: Mr.Glaurung
6 Replies

2. Shell Programming and Scripting

How to create zip/gz/tar files for if the files are older than particular days in UNIX or Linux?

I need a script file for backup (zip or tar or gz) of old log files in our unix server (causing the space problem). Could you please help me to create the zip or gz files for each log files in current directory and sub-directories also? I found one command which is to create gz file for the... (4 Replies)
Discussion started by: Mallikgm
4 Replies

3. Solaris

Command to remove existing files in the tar files in Solaris 10

Hi, I am using solaris 10 OS.Please help me out with the commands needed in below two scenarios. 1)How to delete the existing files in the tar file. suppose i have a main tarfile named application.tar and it contains a file called ingres.tar. what is the command to remove ingres.tar... (2 Replies)
Discussion started by: muraliinfy04
2 Replies

4. Shell Programming and Scripting

sort the files based on timestamp and execute sorted files in order

Hi I have a requirement like below I need to sort the files based on the timestamp in the file name and run them in sorted order and then archive all the files which are one day old to temp directory My files looks like this PGABOLTXML1D_201108121235.xml... (1 Reply)
Discussion started by: saidutta123
1 Replies

5. Shell Programming and Scripting

tar command to explore multiple layers of tar and tar.gz files

Hi all, I have a tar file and inside that tar file is a folder with additional tar.gz files. What I want to do is look inside the first tar file and then find the second tar file I'm looking for, look inside that tar.gz file to find a certain directory. I'm encountering issues by trying to... (1 Reply)
Discussion started by: bashnewbee
1 Replies

6. UNIX for Dummies Questions & Answers

tar -cvf test.tar `find . -mtime -1 -type f` only tar 1 file

Hi all, 4 files are returned when i issue 'find . -mtime -1 -type f -ls'. ./ora_475244.aud ./ora_671958.aud ./ora_934052.aud ./ora_934050.aud However, when I issued the below command: tar -cvf test.tar `find . -mtime -1 -type f`, the tar file only contains the 1st file -... (2 Replies)
Discussion started by: ahSher
2 Replies

7. UNIX for Advanced & Expert Users

How to create a Tar of multiple Files in Unix and FTP the tar to Windows.

Hi, On my Unix Server in my directory, I have 70 files distributed in the following directories (which have several other files too). These files include C Source Files, Shell Script Source Files, Binary Files, Object Files. a) /usr/users/oracle/bin b) /usr/users/oracle... (1 Reply)
Discussion started by: marconi
1 Replies

8. UNIX for Dummies Questions & Answers

.tar.tar files

I downloaded what I thought was a gziped file (at least on remote server it had a .gz extention) and once I had it it was filename.tar.tar..I tried the standard untar tar -xvf filename on it and get an error. Does anyone know what's going on? (5 Replies)
Discussion started by: capeme
5 Replies

9. UNIX for Advanced & Expert Users

Untaring *.tar.tar files

Hi all, How to untar a file with .tar.tar extension. A utility that i downloaded from net had this extension. Thanks in advance, bubeshj. (6 Replies)
Discussion started by: bubeshj
6 Replies
Login or Register to Ask a Question