I've worked in UNIX for many years and have seen many conventions for how applications are installed in a UNIX environment, ranging from installing in /bin to /usr/local (both "bin" and "appname/bin") to /users/username/. I've been trying to find the current convention for the RPi environment, if there is one.
My temptation is to install in /usr/local/<myappname> with the usual bin/... subdirectories, as well what is needed in /etc, etc., to make it run. But, I've been around enough to expect the "that works except for ..." complications.
If it matters, the application will be RESTful services and a web app that uses those services, probably running flask (this is not exposed to the Internet), all code in Python 3, plus a selection of 3rd party libraries and services.
I have searched, but all I get are "5 ways to install apps on RPi" videos, nothing about best practices.
My temptation is to install in /usr/local/<myappname> with the usual bin/... subdirectories, as well what is needed in /etc, etc., to make it run. But, I've been around enough to expect the "that works except for ..." complications.
If it matters, the application will be RESTful services and a web app that uses those services, probably running flask (this is not exposed to the Internet), all code in Python 3, plus a selection of 3rd party libraries and services.
I have searched, but all I get are "5 ways to install apps on RPi" videos, nothing about best practices.
Statistics: Posted by NotHerbert — Fri Nov 07, 2025 7:38 pm