Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to install xampp on a 32bit Ubuntu OS. When I type from root

sudo tar xvfz xampp-linux-1.8.2.tar.gz -C /opt
tar (child): xampp-linux-1.8.2.tar.gz: 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

This is what I get when type ls

share|improve this question
Please use the native LAMP stack. It is easier to install, has better security and is tailor made for Ubuntu. (sudo apt-get install tasksel and tasksel on command line to start it. Choose LAMP and after a few seconds it is installed and ready to be used). – Rinzwind Aug 25 '13 at 18:35

It looks like you haven't finished downloading XAMPP. Are you sure you have the correct file (xampp-linux-1.8.2.tar.gz) for your command? Also, make sure you include a dash before xfvz, so that it reads sudo tar -xfvz xampp-linux-1.8.2.tar.gz -C /opt.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.