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 Sep 23, 2023
1 parent 46fae7f commit 4713e3b
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@ This repository contains "AM" and the full database of the installation scripts

To see the whole catalog of the apps available, visit [portable-linux-apps.github.io](https://portable-linux-apps.github.io/)

For a version of "AM" that works locally and installs/removes the same programs without root privileges, see [AppMan](https://github.com/ivan-hc/AppMan).
For a version of "AM" that works locally and installs/removes the same programs without root privileges, see [AppMan](https://github.com/ivan-hc/AppMan) or use te inbuilt option `--user` (jump to "[Use AM locally like AppMan does](#use-am-locally-like-appman-does)").

------------------------------------------------------------------------
[Introducing "AM"](#introducing-am)
- [Differences between "AM" and "AppMan"](#differences-between-am-and-appman)
- [Use AM locally like AppMan does](#use-am-locally-like-appman-does)
- [What programs can be installed](#what-programs-can-be-installed)
- [How to update all programs, for real](#how-to-update-all-programs-for-real)
- [Repository and Multiarchitecture](#repository-and-multiarchitecture)
Expand Down Expand Up @@ -79,6 +80,18 @@ For everything else, the controls and operation are always the same for both com

More details about AppMan on the official repository, at https://github.com/ivan-hc/AppMan

-----------------------------------------------------------------------------
## Use AM locally like AppMan does
Since version 4.3.3-1 the new `--user` option allows you to create an alias to install and manage apps in your $HOME folder. When executing the `am --user` command you will be suggested an alias to use temporarily or if you want you can add it in your ~/.bashrc to make it permanent. "AppMan" will be used while still using the usual `am` command.

This is a minor update for those who want to use the `am` command to install applications locally and who were not aware of AppMan, the AM clone.

The new option does not immediately enable "AppMan Mode", instead it will show you an alias to use temporarily in the current session or to add to your ~/.bashrc to make it permanent:
```
alias am=/opt/am/appman
```
AppMan is downloaded to the AM's installation folder, but without affecting the existing installation.

-----------------------------------------------------------------------------
## What programs can be installed
AM installs/removes/updates/manages only standalone programs, ie those programs that can be run from a single directory in which they are contained (where `$PROGRAM` is the name of the application, AM installs them always into a dedicated folder named `/opt/$PROGRAM`).
Expand Down Expand Up @@ -369,6 +382,14 @@ In both cases, the "INSTALL" script will create a dedicated /opt/am directory co
DESCRIPTION: Enable bash-completion to complete a keyword with the "TAB" key, using the names of all installable applications available.
___________________________________________________________________________

`--user`, `appman`

SYNOPSIS:

`--user`

DESCRIPTION: Run "AM" as an unprivileged user making it act as "AppMan".
___________________________________________________________________________
`lock`

SYNOPSIS:
Expand Down

0 comments on commit 4713e3b

Please sign in to comment.