Installing xampp but root won't let me copy

Asked by Manmetal

I am trying to install xampp in Ubuntu (I'm a newbie with Ubuntu). When I try to copy the file to the /opt folder I get a error that I am not the owner of the file and cannot copy to that folder. The owner is ROOT and I cannot log on with ROOT.

So I go to the shell and using xampp instructions I type in 'tar xvfz xampp-linux-1.6.3b.tar.gz -c /opt
and get an error that says " you may not specify more than one 'Acdtrux' option

I've tried many times but to no avail.. I also log in at the shell as "sudo" and that works..

Thanks for your help

Jerry

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Benoit Malet
Solved:
Last query:
Last reply:
Revision history for this message
Best Benoit Malet (benoit-malet) said :
#1

Hello !

Case is important, please mind that the -C is a capital C !

tar xvfz xampp-linux-1.6.3b.tar.gz -C /opt

And indeed yoll have to run it using sudo :

sudo tar xvfz xampp-linux-1.6.3b.tar.gz -C /opt

Hope this helps !

Regards,
Benoît

Revision history for this message
Manmetal (jerthornton) said :
#2

Hi Benoit,
That worked perfectly !!!! I have downloaded the file to the desktop and had to move it to my user/directory and BOOM it worked...

Thanks so much !!!

Jerry