Option -b
or backup
creates a copy of the installed app into a dedicated directory under $HOME/.am-snapshots.
am -b {PROGRAM}
This command will present you with 3 possible options for naming your snapshot:
_
").A final message will also indicate the name of the just created snapshot.
NOTE that a check has been added to verify if a directory with the same name already exists. In that case you get an error. You can't have two snapshots with the same name, of course.
The above three cases are shown in the screenshot below, with the following results:
In the use that we will make of it, through the option -o
or overwrite
, we will have a result like this.
am -o {PROGRAM}
You can use the -b
option for snapshots, and where applicable, you can use the downgrade
or --rollback
option to install older versions of a program. This way, whenever you want to use a different version of the same program, you can use -o
, using the snapshot you prefer.
For example, suppose you want to alternate "Kdenlive 24.08.1" (at the time of writing, it is the latest release available) with "Kdenlive 23.08" which still supports QT5, here's how to do it:
am -b kdenlive
, press y
and press 1
, this will create the snapshot "24.08.1";am downgrade kdenlive
and select the version 23.08 from the list;am -b kdenlive
, press y
and press 1
to create the snapshot "23.08";am -o kdenlive
and select between "24.08.1" and "23.08", from the list.You can create as many snapshots as you want and switch them this way according to your needs!
And if it is an AppImage, you can dedicate its own .home and .config directories to it (option -H
and -C
, respectively, in uppercase).
| Back to "Guides and tutorials" | Back to "Main Index" | "Portable Linux Apps" | "AppMan" | | - | - | - | - |