


I'll agree to disagree on all of that.Heater wrote:Who said anything about "files scattered around".
It's a common practice to put all the applications files under a directory in /opt. Things like Google Chrome and Firefox do that.
In a way it's neater than splattering files all over /usr/bin, /usr/lib, etc etc. And it save polluting your actual operating system files and it's dependency database.
Not only that it makes it possible to have the same installation work on systems other than Debian.
that... and perhaps install the corect version of any missing Dependencys ...Heater wrote: Why not just make a compressed archive out of the thing:
$ tar -xczf myApp.tgz myAppDirectory
Then the user only needs to unpack that.
Disagreement is more than welcome. It would be nice if you gave your reasons for disagreeing though.I'll agree to disagree on all of that.
This is where life gets messy.that... and perhaps install the corect version of any missing Dependencys ...

I would if it was of any real consequence or if I wanted to kill some time. Pick your battles and all that.Heater wrote:@ShiftPlusOne,Disagreement is more than welcome. It would be nice if you gave your reasons for disagreeing though.I'll agree to disagree on all of that.
How can we know how wrong you are for disagreeing otherwise?![]()

Firefox, creates a cache subdirectory in the user's home directory. The difficulty is when the home directory is shared through NFS and the user wants to run Firefox simultaneously on two separate machines. Creating a cache in /tmp is also reasonable, but care needs to be taken with race conditions so the directory is owned by the correct user and really in the right place. In Linux and any multi-user multi-tasking system, different users expect to be able to simultaneously run the program and multiple logins of the same user expect to be able to run multiple copies. These difficulties are mitigated in Android and iOS by only allowing a single user to log in once and run only one copy of each program.Pablo Walters wrote:Where is a good place to write application specific temp data?
For iOS, OSX, and adroid apps there is a nice sand boxed temp directory
associated with each app.
It's much easier to install application binaries in /usr/bin or /usr/local/bin.Pablo Walters wrote:Ok. I''ll install the app in /opt and make a temp directory in /tmp/ with the name
of the app in it.
What's the best way of adding my app directory to the PATH when installing?
How can I make an icon for the app and install that in the right place for the window manager?
Is there a way to automatically create a link on the desktop to my app when it is installed?