Tuesday, April 16, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 2594  / 1 Year ago, tue, march 21, 2023, 1:44:12

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?


More From » 13.04

 Answers
4

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



https://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/


[#31566] Thursday, March 23, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
neasinient

Total Points: 491
Total Questions: 120
Total Answers: 93

Location: The Bahamas
Member since Mon, Aug 2, 2021
3 Years ago
neasinient questions
;