|
5 | 5 |
|
6 | 6 | | [<img src="https://github.com/user-attachments/assets/8f98fd3e-d94e-4b58-925d-e2ae8ff3a50c">](https://github.com/ivan-hc/AM) | [<img src="https://github.com/user-attachments/assets/2c3affbd-5f0d-4092-b12f-a12c2d9566bc">](https://github.com/ivan-hc/AM) | [<img src="https://github.com/user-attachments/assets/ebff562a-7692-4bbd-a5c5-68967a98a60b">](https://github.com/ivan-hc/AM) | |
7 | 7 | | - | - | - | |
8 | | -| [<img src="https://github.com/user-attachments/assets/d0f15dd8-1175-4454-87b0-bf1b3e348e30">](https://github.com/ivan-hc/AM) | [<img src="https://github.com/user-attachments/assets/ca558c39-6354-4933-8c99-85f8fd1c3730">](https://github.com/ivan-hc/AM) | [<img src="https://github.com/user-attachments/assets/40d90713-316e-4df1-be9a-edd15827bc60">](https://github.com/ivan-hc/AM) | |
| 8 | +| [<img src="https://github.com/user-attachments/assets/deff2450-cb70-4d36-a8c8-6d80d16987ed">](https://github.com/ivan-hc/AM) | [<img src="https://github.com/user-attachments/assets/ca558c39-6354-4933-8c99-85f8fd1c3730">](https://github.com/ivan-hc/AM) | [<img src="https://github.com/user-attachments/assets/40d90713-316e-4df1-be9a-edd15827bc60">](https://github.com/ivan-hc/AM) | |
| 9 | +| [<img src="https://github.com/user-attachments/assets/ff38a91f-7698-4498-bd46-40f0a69e32f9">](https://github.com/ivan-hc/AM) | [<img src="https://github.com/user-attachments/assets/5886ba67-a337-435d-ac50-b280bc2cf7f8">](https://github.com/ivan-hc/AM) | [<img src="https://github.com/user-attachments/assets/dfbcf06a-17e2-4fef-b28c-777f4b55565e">](https://github.com/ivan-hc/AM) | |
9 | 10 |
|
10 | 11 | </div> |
11 | 12 |
|
@@ -806,18 +807,51 @@ This section is committed to giving small demonstrations of each available optio |
806 | 807 | - [Third-party databases for applications (NeoDB)](#third-party-databases-for-applications-neodb) |
807 | 808 |
|
808 | 809 | __________________________________________________________________________ |
809 | | -### Install applications |
810 | | -Option `-i` or `install`, usage: |
| 810 | +## Install applications |
| 811 | +The option `-i` or `install` is the one responsible of the installation of apps or libraries. |
| 812 | + |
| 813 | +### Install, normal behaviour |
| 814 | +This is the normal syntax: |
811 | 815 | ``` |
812 | 816 | am -i $PROGRAM |
813 | 817 | ``` |
814 | 818 | or |
815 | 819 | ``` |
816 | 820 | appman -i $PROGRAM |
817 | 821 | ``` |
818 | | -in this video I'll install AnyDesk and LXtask: |
| 822 | +in this video I'll install AnyDesk: |
| 823 | + |
| 824 | +https://github.com/user-attachments/assets/62bc7444-8b1f-4db2-b23b-db7219eec15d |
| 825 | + |
| 826 | +### Install, debug an installation script |
| 827 | +The "install.am" module contains some patches to disable long messages. You can see them with the suboption `--debug`: |
| 828 | +``` |
| 829 | +am -i --debug $PROGRAM |
| 830 | +``` |
| 831 | +or |
| 832 | +``` |
| 833 | +appman -i --debug $PROGRAM |
| 834 | +``` |
| 835 | +let test again the installation of AnyDesk using the `--debug` flag: |
819 | 836 |
|
820 | | -https://github.com/ivan-hc/AM/assets/88724353/c2e8b654-29d3-4ded-8877-f77ef11d58fc |
| 837 | +https://github.com/user-attachments/assets/9dd73186-37e2-4742-887e-4f98192bd764 |
| 838 | + |
| 839 | +### Install the "latest" stable release instead of the latest "unstable" |
| 840 | +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. |
| 841 | + |
| 842 | +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: |
| 843 | +``` |
| 844 | +am -i --force-latest $PROGRAM |
| 845 | +``` |
| 846 | +or |
| 847 | +``` |
| 848 | +appman -i --force-latest $PROGRAM |
| 849 | +``` |
| 850 | +in this video I'll install "SqliteBrowser" using the `--force-latest` flag: |
| 851 | + |
| 852 | +https://github.com/user-attachments/assets/ee29adfd-90e1-46f7-aed9-b9c410f68776 |
| 853 | + |
| 854 | +See also "[The script points to "releases" instead of downloading the latest stable](#the-script-points-to-releases-instead-of-downloading-the-latest-stable)". |
821 | 855 |
|
822 | 856 | ------------------------------------------------------------------------ |
823 | 857 |
|
@@ -1399,6 +1433,8 @@ sed -i 's#releases -O -#releases/latest -O -#g' /opt/$PROGRAM/AM-updater |
1399 | 1433 | am -u $PROGRAM |
1400 | 1434 | ``` |
1401 | 1435 |
|
| 1436 | +See also "[Install the "latest" stable release instead of the latest "unstable"](#install-the-latest-stable-release-instead-of-the-latest-unstable)". |
| 1437 | + |
1402 | 1438 | ------------------------------------------------------------------------ |
1403 | 1439 | ### Wrong download link |
1404 | 1440 | The reasons may be two: |
|
0 commit comments