Page 1 of 1

Where/what is "/opt"?

PostPosted: 19. January 2010 18:28
by tonypett100
Hi!

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:

su

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!

Re: Where/what is "/opt"?

PostPosted: 20. January 2010 10:42
by Nick
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

Re: Where/what is "/opt"?

PostPosted: 21. January 2010 13:08
by tonypett100
Thank you! Thank you! Thank you!!

You're amazing!