Quote:
Originally Posted by No_Good_With_Linux
Is there a universal folder or somehting that I should install ...? And if so would this folder be the same fr all applications I install?
I would sinply like any applications I install in the future to be applicable in all user accounts.
|
Yes, the universal folders are /opt and /usr/local
This is how I install applications, that for whatever reason I don't install using apt:
Install each application into a directory under /opt, including version number. For example Thunderbird-1.5.0.4 would go to /opt/thunderbird-1.5.0.4/
Then make a symlink with a short name of the application:
Code:
ln -s /opt/thunderbird-1.5.0.4/ /opt/thunderbird
Then make a symlink to /usr/local/bin to be able to run the application:
Code:
ln -s /opt/thunderbird/bin/thunderbird /usr/local/bin/thunderbird
Another symlink for the .desktop file (so it appears in gnome and kde menus):
Code:
ln -s /opt/thunderbird/share/thunderbird.desktop /usr/local/share/applications/thunderbird.desktop
This way it is very easy to upgrade to a newer version: just install to /opt/thunderbird-1.6.0.0 and change the symlink /opt/thunderbird to point to /opt/thunderbird-1.6.0.0
It is also very easy to remove the application - jusr rm -rf /opt/thunderbird*