Skip to content

Latest commit

 

History

History
80 lines (63 loc) · 3.33 KB

install.md

File metadata and controls

80 lines (63 loc) · 3.33 KB

Install applications

The option -i or install is the one responsible of the installation of apps or libraries.

install-normally-2024-08-15_19.36.24.mkv.mp4

Install, normal behaviour

This is the normal syntax.

am -i {PROGRAM}

To install programs locally, add the --user flag.

am -i --user {PROGRAM}

The latter corresponds to the syntax used in AppMan.

appman -i {PROGRAM}

Since version 9, "AM" also covers locally installed apps. It is therefore not necessary to add a root password, once the --user flag is added. And this can also be used in conjunction with the other flags below.


Install, debug an installation script

The "install.am" module contains some patches to disable long messages. You can see them with the --debug flag.

install-with-debug-messages-2024-08-15_19.36.51.mkv.mp4
am -i --debug {PROGRAM}
am -i --user --debug {PROGRAM}

or

appman -i --debug {PROGRAM}

Install the "latest" stable release instead of the latest "unstable"

By default, many installation scripts for apps hosted on github will point to the more recent generic release instead of "latest", which is normally used to indicate that the build is "stable". This is because upstream developers do not always guarantee a certain packaging format in "latest", sometimes they may only publish packages for Windows or macOS, so pointing to "latest" would not guarantee that any package for Linux will be installed.

On the other hand, if you know that the upstream developer will always guarantee a Linux package in "latest" and "AM" instead points to a potentially unstable development version (Alpha, Beta, RC...), this is the syntax to adopt.

am -i --force-latest {PROGRAM}
am -i --user --force-latest {PROGRAM}

or

appman -i --force-latest {PROGRAM}
force-latest-release-if.exists-2024-08-15_19.39.08.mkv.mp4

Install and Sandbox AppImages

Since version 9.3 it is possible to use the "--sandbox" flag to sandbox only AppImages during the installation process

am -i --sandbox {PROGRAM}
am -i --user --sandbox {PROGRAM}

or

appman -i --sandbox {PROGRAM}

Istantanea_2024-12-02_03-50-43-2

...note that sandboxing only works for AppImages (see "Sandboxing"), for other programs it will not work.

NOTE, it is recommended to use the -i --sandbox combination only if you have local and custom scripts to install.

If you rely on the AppImages listed in the "AM" database, use the -ia --sandbox combination or even better -ias (Install AppImage & Sandox).

See more at "Install only AppImages".


Back to "Guides and tutorials" Back to "Main Index" "Portable Linux Apps" "AppMan"