Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-hc authored Aug 29, 2024
1 parent 8badc23 commit f320d2c
Showing 1 changed file with 19 additions and 13 deletions.
32 changes: 19 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ You can consult the entire **list of managed apps** at [**portable-linux-apps.gi
### Main Index
------------------------------------------------------------------------
[Differences between "AM" and "AppMan"](#differences-between-am-and-appman)
- [Ownership](#ownership)
- [About "sudo" usage](#about-sudo-usage)
- [How apps are installed](#how-apps-are-installed)
- [How to use "AM" in non-privileged mode, like "AppMan"](#how-to-use-am-in-non-privileged-mode-like-appman)

Expand Down Expand Up @@ -94,17 +92,25 @@ Both can be updated using "[Topgrade](https://github.com/topgrade-rs/topgrade)".

------------------------------------------------------------------------

### Ownership
- "**AM**" is owned by the user that have installed it, since other users have not read/write permissions in "/opt/am";
- "**AppMan**" is for all users, since it works locally, everyone can have its own apps and configurations.

------------------------------------------------------------------------

### About "sudo" usage
- "AppMan" can request the root password only in the very rare case in which you want to install a library;
- "AM" requires the root password only to install, remove apps, enable a sandbox for an AppImage.

All options cannot be executed with "`sudo`"/"`doas`".
# Differences between "AM" and "AppMan"
| | "AM" | "AppMan" |
| - | - | - |
| **Command** | `am` | `appman` |
| **Real script name** | APP-MANAGER | APP-MANAGER |
| **Requre to be renamed** | Nope, it is enough to symlink it as "`am`" | Yes, as "`appman`" |
| **Installation path (default)** | `/opt/am/APP-MANAGER` with symlink "`am`" | portable, recommended path `~/.local/bin` |
| **Symlink (default)** | `/usr/local/bin/am` | can't be symlinked, since it updates itself in place |
| **Alternative installation paths** | `/usr/bin/am`, no symlink | place it in whatever RW directory you want |
| **Privileges** | require `sudo` or `doas` | rootless, for all unprivileged users |
| **Path to installed apps** | `/opt` | you choose |
| **[Topgrade](https://github.com/topgrade-rs/topgrade) support** | YES | Only if placed in `~/.local/bin` |
| **Ownership** | whoever has RW permissions in /opt/am | everyone |
| **Owner of installed programs** | whoever has RW permissions in /opt/"$PROGRAM" | each user can have its own configuration |
| **Unprivileged usage** | any user can run the command `am --user` to use "AM" as "AppMan" | always |
| **Cache directory** | `~/.cache/am` | `~/.cache/appman` |
| **Configuration file** | unneeded | `~/.config/appman-config` |
| **Shared directory** | `~/.local/share/AM` | `~/.local/share/AM` |
| **Shared files** | betatester, lists, 3rd party repos, bash/zsh completion terms | betatester, lists, 3rd party repos, bash/zsh completion terms |

------------------------------------------------------------------------

Expand Down

0 comments on commit f320d2c

Please sign in to comment.