LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 04-08-2007, 01:32 AM   #1
rbawden
LQ Newbie
 
Registered: Oct 2006
Posts: 5

Rep: Reputation: 0
unpackaging a file on the desktopo


I am trying to install flashplayer to use with Fedora5. I have the file install_flash_player_9_linux.tar.gz on my desktop but am unable to work out how to unpackage it. Help would be greatly appreciated.
Cheers Richard
 
Old 04-08-2007, 01:51 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,675
Blog Entries: 1

Rep: Reputation: 204Reputation: 204Reputation: 204
Code:
tar xzf ~/Desktop/install_flash_player_9_linux.tar.gz
Creates a folder on your desktop with the contents of the archive.
 
Old 04-08-2007, 02:45 AM   #3
rbawden
LQ Newbie
 
Registered: Oct 2006
Posts: 5

Original Poster
Rep: Reputation: 0
Unpackaging a file on the desktop

Arow Thank you for your advice. I put in the command and received the following.

[root@localhost ~]# tar xzf ~/Desktop/install_flash_player_9_linux.tar.gz
tar: /root/Desktop/install_flash_player_9_linux.tar.gz: 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
[root@localhost ~]#
Obviously I am doing something wrong
Regards Richard
 
Old 04-08-2007, 02:52 AM   #4
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Did you download this as a normal user? Because then it's in user's HOME and the '~' is expanding to root's HOME. You don't need to be root to untar it - or even compile it, in most cases - just to install it. Though I know nothing of flash, admittedly.

(Also, 'tar xf' should suffice - recent GNU tar's are smart enough to tell gzipped from bzip2ed files.)
 
Old 04-08-2007, 03:05 AM   #5
cseanburns
Member
 
Registered: Nov 2003
Distribution: Debian
Posts: 117

Rep: Reputation: 17
The man page for tar is great. I always mix up a couple options for the tar command and doing a quick 'man tar', I can find out the correct usage pretty quickly.
 
Old 04-08-2007, 03:24 AM   #6
rbawden
LQ Newbie
 
Registered: Oct 2006
Posts: 5

Original Poster
Rep: Reputation: 0
Unpakaging a file on the desktop

Digiot. The file was downloaded as a normal user.
This is what happened when putting in your command
[rbawden@localhost ~]$ tar xf /Desktop/install_flash_player_9_linux.tar.gz
tar: /Desktop/install_flash_player_9_linux.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
[rbawden@localhost ~]$
Thanks again for your help
Richard
 
Old 04-08-2007, 03:50 AM   #7
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
That time you had a leading / which makes it absolute - for an absolute path it's probably '/home/rbawden/Desktop/install_flash_player_9_linux.tar.gz' (or, as mentioned, '~/Desktop/install_flash_player_9_linux.tar.gz' as long as the tilde expands correctly) and for a relative path, it'd just be 'Desktop/install_flash_player_9_linux.tar.gz'

-- Let me try to do better. Arow's original post was correct, except that, if you run the command as root, '~' expands to /root/blah and doesn't work. If you run it as normal user (which is what Arow was assuming) then '~' expands to /home/USER/blah. So I wasn't saying to leave of the tilde (which results in a non-existent absolute path) - only saying that the tilde expands relative to the user using it. HTH.

Last edited by slakmagik; 04-08-2007 at 03:58 AM. Reason: trying to clarify
 
Old 04-08-2007, 05:18 AM   #8
rbawden
LQ Newbie
 
Registered: Oct 2006
Posts: 5

Original Poster
Rep: Reputation: 0
unpackaging a file from the desktop

I have succesfully installed flashplayer. Thank you for your help. The answer was in the info that flashplayer supplied but I didn't know how to use it. By reading your suggestions and doing a bit more thinking the penny dropped on how to get this to work.
I had to enter a terminal and type in ls to list the available directories. From here I had to do cd as root to get into the directory 'install_flash_player_9_linux.tar.gz'. Once I was able to start the process it was pretty self explanatory.
Thanks again Richard
 
  


Reply

Tags
desktop


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 On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can read from file.txt C++ where can save this file(file.txt) to start reading sam_22 Programming 1 01-11-2007 05:11 PM
unpackaging Kernel source code on Redhat ES4 mgaleano Linux - Wireless Networking 0 05-25-2005 01:26 AM
gave wrong syntax for tar as tar -cvzf file file.tgz how to recover the file gautham Linux - General 4 04-13-2005 03:15 AM
unpackaging tar, gz, rpm??? & gcc honu Linux - Newbie 6 08-05-2004 02:17 PM
How to play a media file/ video file/mp3 file recorded in harddisk/cd-rom arindam Linux - Newbie 2 09-05-2003 10:31 AM


All times are GMT -5. The time now is 08: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.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration