Where/what is "/opt"?

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Where/what is "/opt"?

Postby tonypett100 » 19. January 2010 18:28


Might seem like a stupid question to you guys, but one I desperately need answered!

I'm trying to install and run Xampp on my computer. I am running Ubuntu 9.10.

When I try to install as indicated on the installation guide I am hindered by the "/opt" command that I am supposed to enter in the terminal.
The guide states:

After downloading simply type in the following commands:

1. Go to a Linux shell and login as the system administrator root:


2. Extract the downloaded archive file to /opt:

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

When I do enter the above command, I get this answer:

tar: xvfz xampp-linux-1.7.3a.tar.gz: Cannot Open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Exiting with failure status due to previous errors

I tried changing the "/opt" bit to a folder that I had, and it worked. But, when I tried running the program it was trying to locate files in "/opt"! Which apparently does not exist!

Any help would be greatly appreciated! Perhaps one day I can contribute, too!
Posts: 2
Joined: 19. January 2010 18:17
Location: Earth!

Re: Where/what is "/opt"?

Postby Nick » 20. January 2010 10:42

I remember this on Ubuntu!
I just created /opt and it worked. ( take care of access permissions -> sudo tar -x....)

I think somehow the philosophie of ubuntu dist. doesn't need /opt anymore!

lg nick
Posts: 5
Joined: 19. January 2010 14:39

Re: Where/what is "/opt"?

Postby tonypett100 » 21. January 2010 13:08

Thank you! Thank you! Thank you!!

You're amazing!
Posts: 2
Joined: 19. January 2010 18:17
Location: Earth!

Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 7 guests