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 06-08-2009, 04:17 AM   #1
pratikvimal
LQ Newbie
 
Registered: Jun 2009
Posts: 18

Rep: Reputation: 0
tar error while installing TinyOS8051wg-0.1pre4.tgz


Hi,
I'm trying to install the file "TinyOS8051wg-0.1pre4.tgz" by giving the following command: tar zxfv ~TinyOS8051wg-0.1pre4.tgz

On execution I'm getting the following error:

tar: ~TinyOS8051wg-0.1pre4.tgz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors

Please let me know the solution.
 
Old 06-08-2009, 04:26 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,516

Rep: Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501
Quote:
tar: ~TinyOS8051wg-0.1pre4.tgz: Cannot open: No such file or directory
You don't need the "~" at the beginning of the file and you have to put as last option the "f" switch, so tar will know that it has to expect a filename, Thus the correct command is:
Code:
tar zxvf TinyOS8051wg-0.1pre4.tgz
 
Old 06-08-2009, 07:46 AM   #3
pratikvimal
LQ Newbie
 
Registered: Jun 2009
Posts: 18

Original Poster
Rep: Reputation: 0
Thank You!

It worked.
 
  


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 to INSTALL softwares with *.tar.gz or *.tar.tgz extension On SLACKWARE 10.2 DdOs Linux - Software 4 03-20-2006 02:54 AM
installing a tgz.tar package? onegear Slackware 28 09-03-2004 06:57 PM
Gimp 2.0 error when installing from tgz Pathian Slackware 3 03-26-2004 02:49 PM
installing .tgz.tar packages slack_is_good Slackware 6 12-18-2003 01:14 PM
.rpms, .tar.gz, .tgz, .src.rpm, & .tar.bz2 whoots Mandriva 10 10-18-2003 01:08 PM


All times are GMT -5. The time now is 03:24 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