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 tried to install XAMPP to opt directory using this command:

sudo tar xvfz xampp-linux-1.8.0.tar.gz -C /opt

But, there is no folder there named /opt when I searched for this folder, there was a folder named /opt under /etc and another folder under /inode. So, where I can install XAMPP now - in the etc/opt/ or to create a directory named /opt in Home?

share|improve this question
up vote 2 down vote accepted

Just create opt folder and install in it

 sudo mkdir /opt

and then

 sudo tar xvfz xampp-linux-1.8.0.tar.gz -C /opt


It holds optional software and packages that you install that are not required for the system to run.

Opt is reserved for additional software you install; although, most providers don’t use it. This is kind of like ‘Program Files‘ for linux.


share|improve this answer

cek in here full tutorial

How To Install Xampp 1.8.1 in Linux Ubuntu 13.04 Raring Ringtail

How To Resolve Error PhpMyadmin Forbidden XAMPP

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.