Where should I install my program

Scott Kitterman ubuntu at kitterman.com
Fri Jan 26 12:38:02 UTC 2007


On Friday 26 January 2007 01:36, OOzy Pal wrote:
> Where should I install my programs that are not packaged. For example,
> I have  program that I downloaded and after extraction (untar), I can
> run it as
>
> java -jar xyz.jar
>
> Where should put it I searched the net and found most people prefer
>
> /usr/local
>
> should I make mine as?
>
> /usr/local/xyz
>
> or should I go inside one of the existing directories?
>
> --
The actual standard for Debian and it's derivatives that describes this stuff 
is here:

http://www.debian.org/doc/packaging-manuals/fhs/fhs-2.3.html

As I read it, you might use either:

http://www.debian.org/doc/packaging-manuals/fhs/fhs-2.3.html#USRLOCALLOCALHIERARCHY

or

http://www.debian.org/doc/packaging-manuals/fhs/fhs-2.3.html#OPTADDONAPPLICATIONSOFTWAREPACKAGES

depending on your exact circumstances, but in either case, install inside a 
[package name] sub-directory.

Scott K




More information about the ubuntu-users mailing list