LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   need instructions for downloading seamonkey 2 .tar.bz2 (https://www.linuxquestions.org/questions/linux-newbie-8/need-instructions-for-downloading-seamonkey-2-tar-bz2-774028/)

slvfx 12-07-2009 01:26 PM

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.

rweaver 12-07-2009 02:11 PM

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


lugoteehalt 12-07-2009 02:13 PM

I'm probably grotesquely missing the point :D 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'.

Bratmon 12-07-2009 04:13 PM

Any reason why you're not using the package manager?

slvfx 12-08-2009 10:15 AM

Package doesn't have the release. Won't upgrade to new one. It's still not working.

slvfx 12-08-2009 12:37 PM

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!

lugoteehalt 12-08-2009 02:48 PM

Quote:

Originally Posted by slvfx (Post 3784316)
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?

slvfx 12-09-2009 08:06 AM

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$

lugoteehalt 12-09-2009 12:26 PM

Quote:

Originally Posted by slvfx (Post 3785458)
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.

slvfx 12-10-2009 11:03 AM

That was awesome. I can't believe its gone. Thank you


All times are GMT -5. The time now is 08:12 AM.