Page 1 of 1

Unable to install Xampp on Ubuntu 10.10

PostPosted: 06. January 2011 04:00
by Madav
Please help me to install Xampp on ubuntu 10.10.I tried the procedure mentioned in Xamp installtion procedure but not working.Getting error same as below.

tar xzf xampp-linux-1.7.3a.tar.gz-C/opt
tar (child): xampp-linux-1.7.3a.tar.gz-C/opt: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

I tried copy the xampp extracted folder manually to OPT folder but it saying no permission.Please help me urgently.

Re: Unable to install Xampp on Ubuntu 10.10

PostPosted: 06. January 2011 04:03
by Altrea
like a said in the other post, THERE IS ALREADY A POST RELATING EXACT THE SAME PROBLEM.
Man, start reading if you want to get help in a support board.

solution: change the directory to the right place where the .tar.gz file is saved

Re: Unable to install Xampp on Ubuntu 10.10

PostPosted: 06. January 2011 04:05
by Madav
I tried all the methods mentioned in that post but it still not working.

Re: Unable to install Xampp on Ubuntu 10.10

PostPosted: 06. January 2011 04:11
by Altrea
Madav wrote:I tried all the methods mentioned in that post but it still not working.

Thats no qualified error reporting. Do you get the same error as before?
if this is the case, than you haven't changed the directory to the right place.

But to be sure, please tell us where you have saved the .tar.gz file.
And after that please report step by step what you have done:

e.g.:
- Opened the terminal
- typed in the following command...
- ...
- ...

Re: Unable to install Xampp on Ubuntu 10.10

PostPosted: 06. January 2011 04:35
by Madav
Once again sorry ! Please consider it as a beginner mistake !

I saved the xampp-linux-1.7.3a.tar.gz file in my desktop.

Then I moved to my terminal and

sudo
password
tar xvfz xampp-linux-1.7.3a.tar.gz -C /opt

Now I got this error first

tar xzf xampp-linux-1.7.3a.tar.gz-C/opt
tar (child): xampp-linux-1.7.3a.tar.gz-C/opt: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

After reading other similar topic I tried

sudo
password
cd Desktop
tar xzf xampp-linux-1.7.3a.tar.gz-C/opt

When I clicked enter I got a huge error file as below .

lampp/phpmyadmin/libraries/mult_submits.inc.php
tar: lampp/phpmyadmin/libraries/mult_submits.inc.php: Cannot open: No such file or directory
lampp/phpmyadmin/libraries/common.inc.php
tar: lampp/phpmyadmin/libraries/common.inc.php: Cannot open: No such file or directory

_____________________________-- -----------------
Big list so I Quoted only first and last parts
-----------------__________________________________

tar: lampp/var/mysql/mysql/plugin.MYD: Cannot open: No such file or directory
lampp/var/mysql/mysql/columns_priv.MYI
tar: lampp/var/mysql/mysql/columns_priv.MYI: Cannot open: No such file or directory
lampp/var/mysql/mysql/ndb_binlog_index.MYD
lampp/var/perl/cpan/
tar: lampp/var/perl/cpan: Cannot mkdir: No such file or directory
lampp/var/perl/cpanplus/
tar: lampp/var/perl/cpanplus: Cannot mkdir: No such file or directory
lampp/RELEASENOTES
tar: lampp/RELEASENOTES: Cannot open: No such file or directory
tar: Exiting with failure status due to previous errors

Re: Unable to install Xampp on Ubuntu 10.10

PostPosted: 06. January 2011 05:03
by Altrea
Once again sorry ! Please consider it as a beginner mistake !

Don't worry :D Everybody have to start somewhere.

sudo
password

Thats not the right way. Either use just su in a single line instead of sudo, or use sudo in cooperation with another command (like the tar line)

tar xzf xampp-linux-1.7.3a.tar.gz-C/opt

Thats not right, too. There are missing some whitespaces. I don't know, if they cause your problem (i'm not really a linux guru), but try this:
Code: Select all
tar xvfz xampp-linux-1.7.3a.tar.gz -C /opt


all other steps before (su, change directory to desktop) are needed too