Tregonsee
Posts: 2
Joined: Sun Sep 18, 2016 4:36 pm

Where to place non-repository programs?

Tue Sep 20, 2016 2:50 pm

I have a program which is not available, nor will it be available, from the standard repositories. It runs perfectly if I place the folder on the desktop. Is there a recommended location for such programs which are not normally installed?

Tregonsee

User avatar
ukscone
Forum Moderator
Forum Moderator
Posts: 4214
Joined: Fri Jul 29, 2011 2:51 pm
Contact: Website

Re: Where to place non-repository programs?

Tue Sep 20, 2016 2:56 pm

normally you'd place the program/script itself in /usr/local/bin and anything that it requires in the relevant directory under /usr/local although some people you should use /opt.

my personal feelings is if it's installable (make install) it goes in /usr/local if it's untarable (a tarball of binaries,scripts etc) it goes in /opt

Tregonsee
Posts: 2
Joined: Sun Sep 18, 2016 4:36 pm

Re: Where to place non-repository programs?

Tue Sep 20, 2016 7:08 pm

Thanks for the guidance. I don't want to start with bad habits.

Treg

Return to “Beginners”