update.md
1 ## Update 2 Option `-u` or `update` updates all the installed apps and keeps "AM"/"AppMan" in sync with the latest version and all latest bug fixes. 3 4 https://github.com/user-attachments/assets/662d8eb2-38d7-45b8-9530-061189e6ed85 5 6 To update everything, run 7 ``` 8 am -u 9 ``` 10 Add "--apps" to update only the apps or write only the apps 11 ``` 12 am -u --apps 13 ``` 14 Add the name of one or more installed apps to update only them 15 ``` 16 am -i {PROGRAM} 17 ``` 18 19 ## Sync 20 The `-s` or `sync` option is a part of the update process, and exactly what happens after the applications are updated. 21 22 It is responsible for: 23 1. checking if the installation scripts in the database are the same as those previously used by the user at the time of installation, in order to report if there was any change in the script (change of app source, improved integration, fixed a bug related to the extraction of the app...); 24 2. updating the "AM" modules 25 3. updating "AM" itself 26 of can be run separately: 27 ``` 28 am -s 29 ``` 30 NOTE, the user who installs "AM" owns the directory `/opt/am` and all the apps installed at the system level. If a non-privileged user tries to run `-u` or `-s`, points 2 and 3 will not be started, as they are read-only, so "AM" and the modules will not be updated. 31 32 Non-privileged users can however use AppMan. 33 34 ------------------------------------------------------------------------ 35 36 | [Back to "Guides and tutorials"](../../README.md#guides-and-tutorials) | [Back to "Main Index"](../../README.md#main-index) | ["Portable Linux Apps"](https://portable-linux-apps.github.io/) | [ "AppMan" ](https://github.com/ivan-hc/AppMan) | 37 | - | - | - | - | 38 39 ------------------------------------------------------------------------