LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Newbie
User Name
Password
Linux - Newbie This 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
 
Thread Tools Search this Thread
Old 06-08-2009, 04:17 AM   #1
pratikvimal
LQ Newbie
 
Registered: Jun 2009
Posts: 18
Thanked: 0
tar error while installing TinyOS8051wg-0.1pre4.tgz


[Log in to get rid of this advertisement]
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.
pratikvimal is offline     Reply With Quote
Old 06-08-2009, 04:26 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 5,370
Thanked: 286
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
bathory is online now     Reply With Quote
Old 06-08-2009, 07:46 AM   #3
pratikvimal
LQ Newbie
 
Registered: Jun 2009
Posts: 18
Thanked: 0

Original Poster
Thank You!

It worked.
pratikvimal is offline     Reply With Quote

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 04:30 PM.

Main Menu
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.
Advertisement
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Click Here to receive a complimentary subscription courtesy of LQ.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration