View Full Version : Where do I install a new application ?

Michele Moglia
September 23rd, 2005, 02:09 PM
I wrote a gnome application made by one executable file,
some text files, some pixmaps and some wave files.
I have now to decide where to install the application
I read the document FHS Filesystem Hierarchy Standard
(http://www.pathname.com/fhs/ ) but I have not understood
where to put my files:




or ???

Can someone resolve my doubts ? :?
Thanks for any help.

September 23rd, 2005, 02:22 PM
According to http://www.pathname.com/fhs/

I think /usr/local is the appropriate place.

but whether it belongs in a tree that includes share (/usr/local/share) depends on the nature of the code - architecture independent or not...

Michele Moglia
September 23rd, 2005, 06:13 PM
Ok : /usr/local

Option 1

but if I want to keep different parts of application together so:
Have I to make a subdirectory under /usr/local ?
and under this ?

but under /usr/local there are not any subdir like myapp !

Option 2

So I have to put the executable in /usr/local/bin

and the other file which are platform indipendent in

Is this last one the right option ?



September 23rd, 2005, 06:15 PM
First glance, your conclusion seems right.

If this app is for distribution, this matters.

If it is your own tool or toy, just for yourself, consistency is more important than actual name.