LinuxQuestions.org
Review your favorite Linux distribution.
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 12-07-2009, 02:26 PM   #1
slvfx
LQ Newbie
 
Registered: Sep 2009
Posts: 29

Rep: Reputation: 15
need instructions for downloading seamonkey 2 .tar.bz2


Running ubuntu server latest addition. Supposed to put it in the var/local/seamonkey directory but I have no idea how to get it into the directory.
 
Old 12-07-2009, 03:11 PM   #2
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 164Reputation: 164
cd to the directory and copy it from where ever it is currently located or download it if its on the web via wget.

Code:
cd /var/local/seamonkey
cp /home/bob/seamonkey2.tar.bz2 .
      or
cp /home/bob/seamonkey2.tar.bz2 /var/local/seamonkey
      or
cd /var/local/seamonkey
wget http://site.it.lives.on.org/seamonkey2.tar.bz2
 
Old 12-07-2009, 03:13 PM   #3
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
I'm probably grotesquely missing the point but how about:
Code:
# mkdir /var/local/seamonkey
# mv seamonkey2.tar.bz /var/local/seamonkey
If you need to unpack and uncompress the archive first then do 'tar vxjf seamonkey2.tar.bz'.
 
Old 12-07-2009, 05:13 PM   #4
Bratmon
Member
 
Registered: Jul 2009
Location: 75.126.162.205:80
Distribution: Arch / Mint 17
Posts: 297
Blog Entries: 3

Rep: Reputation: 50
Any reason why you're not using the package manager?
 
Old 12-08-2009, 11:15 AM   #5
slvfx
LQ Newbie
 
Registered: Sep 2009
Posts: 29

Original Poster
Rep: Reputation: 15
Package doesn't have the release. Won't upgrade to new one. It's still not working.
 
Old 12-08-2009, 01:37 PM   #6
slvfx
LQ Newbie
 
Registered: Sep 2009
Posts: 29

Original Poster
Rep: Reputation: 15
Now I have a red seamonkey-2.0(2).tar.bz2 and I cant get rid of it from the directory. I think its full of errors because it spouts errors. The (2) was because i had put in two copies. I can't rm it with out an error. Help!
 
Old 12-08-2009, 03:48 PM   #7
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
Quote:
Originally Posted by slvfx View Post
Now I have a red seamonkey-2.0(2).tar.bz2 and I cant get rid of it from the directory. I think its full of errors because it spouts errors. The (2) was because i had put in two copies. I can't rm it with out an error. Help!
What did you actually do? Can you post it? You know:
Code:
# rm seamonkey-2.0(2).tar.bz2
What it says then.
It may be coloured red simply because it's a compressed file. Or it may be very weird. Also what are the errors it spouts?
 
Old 12-09-2009, 09:06 AM   #8
slvfx
LQ Newbie
 
Registered: Sep 2009
Posts: 29

Original Poster
Rep: Reputation: 15
bob@bob-desktop:/var/local/seamonkey2$ # rm seamonkey-2.0(2).tar.bz2
bob@bob-desktop:/var/local/seamonkey2$ ls
seamonkey-2.0(2).tar.bz2
bob@bob-desktop:/var/local/seamonkey2$ # rm seamonkey-2.0(2).tar.bz2
bob@bob-desktop:/var/local/seamonkey2$ sudo rm seamonkey-2.0(2).tar.bz2
bash: syntax error near unexpected token `('
bob@bob-desktop:/var/local/seamonkey2$
 
Old 12-09-2009, 01:26 PM   #9
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
Quote:
Originally Posted by slvfx View Post
bob@bob-desktop:/var/local/seamonkey2$ # rm seamonkey-2.0(2).tar.bz2
bob@bob-desktop:/var/local/seamonkey2$ ls
seamonkey-2.0(2).tar.bz2
bob@bob-desktop:/var/local/seamonkey2$ # rm seamonkey-2.0(2).tar.bz2
bob@bob-desktop:/var/local/seamonkey2$ sudo rm seamonkey-2.0(2).tar.bz2
bash: syntax error near unexpected token `('
bob@bob-desktop:/var/local/seamonkey2$
Sorry, what I meant by the # at the start was you are root. By the look of it it should work if you do the sudo command again - it's a Ubuntu like thing is it? Assuming that's the way to be root? But this time do:
Code:
bob@bob-desktop:/var/local/seamonkey2$ sudo rm sea
Then hit <tab>
Autocompletes file name
<enter>
then it should remove the file.

The problem appears to be that ( is an illegal character in a file name, so it has to be 'escaped'. Putting a \ in front of each ( or ) should do it. seamonkey-2.0\(2\).tar.bz2. Sorry it is not strictly an illegal character it just gets misinterpreted.

Last edited by lugoteehalt; 12-09-2009 at 01:35 PM.
 
1 members found this post helpful.
Old 12-10-2009, 12:03 PM   #10
slvfx
LQ Newbie
 
Registered: Sep 2009
Posts: 29

Original Poster
Rep: Reputation: 15
That was awesome. I can't believe its gone. Thank you
 
  


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 tar.gz & tar.bz2 file on Linux min Krishnendu Linux Mint 2 07-16-2009 07:52 AM
Piping tar bzcat to add a file to a tar.bz2 archive DaveQB Linux - Software 0 06-02-2008 09:28 PM
tar-command not found while compiling glibc-libidn-2.7.tar.bz2 of lfs6.3 aditya_gpch Linux From Scratch 1 05-14-2008 12:27 AM
BackUp & Restore with TAR (.tar / .tar.gz / .tar.bz2 / tar.Z) asgarcymed Linux - General 5 12-31-2006 03:53 AM
problem unzipping a tar.bz2 file tar: Error is not recov jyome Linux - Software 4 09-04-2003 02:04 PM


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