Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Linux: where to install/unpack programs manually

Tags:

linux

Where to unpack programs in Linux e.g. Tomcat binary?

Is there a common location as in Windows, i.e. Program Files... which won't be overwritten during Linux upgrade.

Is it a good approach to unpack it in, let's say: /home/user/PRG location. Thanx!

like image 534
Igor Avatar asked Dec 10 '10 07:12

Igor


1 Answers

There are several places to put third party software, it's really up to you, but preferably:

/opt

as the name implies 'optional packages' - so tomcat could go in /opt/tomcat

Or for single file applications such as scripts etc., go for

/usr/local
like image 126
cvaldemar Avatar answered Oct 18 '22 18:10

cvaldemar