Extracting

Questions about applications and software
Forum rules
Before you post please read how to get help
neismint
Level 1
Level 1
Posts: 17
Joined: Wed Mar 12, 2008 6:26 am

Extracting

Postby neismint » Mon Mar 31, 2008 6:04 am

Have just downloaded "xampp-linux-1.6.6.tar.gz and now i have to open a terminal and as "root" extract the file to "/opt".
Could someone help me out here please and tell me how i go about extracting the file to "/opt". Thanks

Husse
Level 23
Level 23
Posts: 19593
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Extracting

Postby Husse » Mon Mar 31, 2008 6:26 am

Placing files outside /home should be done with some care...
I suppose you've got the file somewhere in /home now
Double click it and extract the file
Then

Code: Select all

sudo cp THE_file /opt
Image
Don't fix it if it ain't broken, don't break it if you can't fix it

neismint
Level 1
Level 1
Posts: 17
Joined: Wed Mar 12, 2008 6:26 am

Re: Extracting

Postby neismint » Mon Mar 31, 2008 6:44 am

The file is on my desktop. Thanks for the reply and help

neismint
Level 1
Level 1
Posts: 17
Joined: Wed Mar 12, 2008 6:26 am

Re: Extracting

Postby neismint » Mon Mar 31, 2008 7:33 am

The file is on my desktop and i have been trying to install it.

1/ sudo su
2/ ls
3/ cd Desktop
4/ xampp-linux-1.6.6.tar.gz /opt

But i keep getting an error.
Error: command not found

Husse
Level 23
Level 23
Posts: 19593
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Extracting

Postby Husse » Mon Mar 31, 2008 7:48 am

Read my first answer!
Don't try to do something you don't understand as root!
Image
Don't fix it if it ain't broken, don't break it if you can't fix it

neismint
Level 1
Level 1
Posts: 17
Joined: Wed Mar 12, 2008 6:26 am

Re: Extracting

Postby neismint » Mon Mar 31, 2008 8:01 am

Hello Husse, i must be doing something pretty stupid because after double clicking on it, it was extracted to Archive Manager?
I then opened a terminal typed sudo su and then as root typed: cp xampp-linux-1.6.6.tar.gz /opt

I was then informed:
cp: cannot start 'xampp-linux-1.6.6.tar.gz' : no such file or directory

Husse
Level 23
Level 23
Posts: 19593
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Extracting

Postby Husse » Mon Mar 31, 2008 11:08 am

It's the extracted file not the archive - sometimes you have to extract twice I've noted
Image
Don't fix it if it ain't broken, don't break it if you can't fix it


Return to “Software & Applications”

Who is online

Users browsing this forum: No registered users and 9 guests