From 4713e3bcd4621ed870a29b7a60c3b58ce84c8fac Mon Sep 17 00:00:00 2001 From: iVAN <88724353+ivan-hc@users.noreply.github.com> Date: Sat, 23 Sep 2023 23:57:41 +0200 Subject: [PATCH] Update README.md --- README.md | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3d5a9ce7c..7c900fd14 100644 --- a/README.md +++ b/README.md @@ -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) @@ -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`). @@ -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: