Die Seite "Home"
wird gelöscht. Bitte seien Sie vorsichtig.
Welcome to the AM-application-manager wiki!
Here I will try to explain the installation script's workflow for a program to be better managed by "AM", trying to use a language that is as simple and elementary as possible.
Each script is written exclusively for "AM" (and is structured in such a way that even "AppMan", the non-root version of "AM", can modify it to manage programs locally).
We can divide the stages of an installation's process as follows:
-r
option);$PATH
(usually /usr/local/bin
, but also /usr/bin
, /usr/games
or /usr/local/games
);The most difficult step to overcome is certainly the number "3", given the great variety of methods in which authors distribute their software, while all the other steps are much easier to overcome.
Some "templates" are already available here or by downloading them using the -t
option, this way:
am -t $PROGRAM
Where $PROGRAM is the name of the program you want to create a script for. The command will generate a script named $PROGRAM.AM (I wrote the availability of a ".AM" extension to prevent overwriting of files on your desktop with the same name of the script you want write, you can safelly remove it).
If you open the script, you can read some uppercased parts that you must replace manually (ICON, LAUNCHER, URL...).
Keep reading to understand how each script works and how you can write one from scratch.
You can use the index to navigate all pages of this wiki. Enjoy the reading!
Die Seite "Home"
wird gelöscht. Bitte seien Sie vorsichtig.