Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

2 Answers 2

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

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.

Sources

http://stackoverflow.com/questions/12649355/what-does-opt-mean-as-in-the-opt-directory-is-it-an-abbreviation

http://www.linuxtopia.org/online_books/linux_beginner_books/linux_filesystem/opt.html

http://www.nixtutor.com/linux/understanding-the-linux-directory-layout/

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

http://www.ubuntukiller.com/2013/05/how-to-install-xampp-181-in-linux.html

share|improve this answer

Your Answer

 
discard

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.