Skip to content
This repository has been archived by the owner on Dec 31, 2019. It is now read-only.

Installation location #234

Open
FredericGuilbault opened this issue Jan 19, 2019 · 2 comments
Open

Installation location #234

FredericGuilbault opened this issue Jan 19, 2019 · 2 comments

Comments

@FredericGuilbault
Copy link

Default installation location for openplotter is ~/.config
But it should be ~/.local/share/

Only configuration files be in .config

On a larger view. openplotter should not be in any ~/ folder. but that's a bigger job.

@sailoog
Copy link
Owner

sailoog commented Feb 20, 2019

I do not like that place either. What about /usr/share?
I do not think is such big job and v2.x.x is the right time to do it.

@FredericGuilbault
Copy link
Author

FredericGuilbault commented Feb 22, 2019

/usr/share is for files from packages that are not ARM specific. (Like doc, icons, and text ...)

I would check what pip have to offer in term of managed installation process (witch i have no idea, i just know that what python people do ;p ).

Or just put the openplotter folder in /opt/ as it's the place for standalone applications that don't integrate with the linux structure. (that's where I plan to put openplotter on my OS)


If you choose to integrate in the Linux architecture, you kinda have to spread your app across the filesystem. Binaries in bin, libraries lib or include, configs in etc logs in /var/log, static files in /share, pid and socket files in /var/run ....

But in your case most will be in /usr/local/*.

  • /usr cuz user level (runlevel3) stuff
  • local cuz it's not meant to be updated by any external process like apt or puppet.

/usr/local/bin
/usr/local/share
/usr/local/lib
/var/log
/etc

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants