Commit 4932bdaa authored by Artem Baleevskih's avatar Artem Baleevskih Committed by Vitaly Lipatov

epm: add max fallback contact links

parent 8a5eae00
...@@ -5,26 +5,34 @@ ...@@ -5,26 +5,34 @@
Really, EPM is a wrapper for any package manager used in your operating system. Really, EPM is a wrapper for any package manager used in your operating system.
Run Run
``` ```
$ epm --help $ epm --help
``` ```
to see list of all supported commands. to see list of all supported commands.
The main goal of the project is to provide the same package management interface The main goal of the project is to provide the same package management interface
on all platforms. on all platforms.
You can use You can use
``` ```
# epmi NAME # epmi NAME
``` ```
or or
``` ```
# epm -i NAME # epm -i NAME
``` ```
or or
``` ```
# epm install NAME # epm install NAME
``` ```
to install a package. It is just an alias for one command: install the package. to install a package. It is just an alias for one command: install the package.
EPM will run `urpmi` on Mandriva, `apt install` on Ubuntu, `yum install` on Fedora, EPM will run `urpmi` on Mandriva, `apt install` on Ubuntu, `yum install` on Fedora,
or `apt-get install` on ALT Linux. or `apt-get install` on ALT Linux.
...@@ -40,10 +48,12 @@ EPM has support for repository management: repo list, repo add, repo remove, upd ...@@ -40,10 +48,12 @@ EPM has support for repository management: repo list, repo add, repo remove, upd
Also EPM contains `serv` command to control system services in system independed manner. Also EPM contains `serv` command to control system services in system independed manner.
Pay attention to the following useful commands: Pay attention to the following useful commands:
* `epmqf <command name>` - query package(s) owning file
* `epmqp <word>` - search in the list of installed packages - `epmqf <command name>` - query package(s) owning file
- `epmqp <word>` - search in the list of installed packages
`epmqf` can be helpful to get package name for any file or command in the system: `epmqf` can be helpful to get package name for any file or command in the system:
``` ```
$ epmqf epmqf $ epmqf epmqf
Note: epmqf is placed as /usr/bin/epmqf Note: epmqf is placed as /usr/bin/epmqf
...@@ -63,6 +73,7 @@ For example, run `epm play edge` to install Microsoft Edge browser in your syste ...@@ -63,6 +73,7 @@ For example, run `epm play edge` to install Microsoft Edge browser in your syste
## Install on any system ## Install on any system
Just run under root user: Just run under root user:
``` ```
# curl -sL https://eepm.ru/epm.sh | bash /dev/stdin ei # curl -sL https://eepm.ru/epm.sh | bash /dev/stdin ei
``` ```
...@@ -73,9 +84,9 @@ or using wget: ...@@ -73,9 +84,9 @@ or using wget:
# wget -O- https://eepm.ru/epm.sh | bash /dev/stdin ei # wget -O- https://eepm.ru/epm.sh | bash /dev/stdin ei
``` ```
If you have no `curl` or `wget` on your system, just download file `https://eepm.ru/epm.sh` If you have no `curl` or `wget` on your system, just download file `https://eepm.ru/epm.sh`
and run it in the download directory via bash: and run it in the download directory via bash:
``` ```
# bash epm.sh ei # bash epm.sh ei
``` ```
...@@ -86,27 +97,30 @@ Also you can install eepm package manually: ...@@ -86,27 +97,30 @@ Also you can install eepm package manually:
## How to add new distro support ## How to add new distro support
For developers only: For developers only:
1. Fix detection with `distro_info` 1. Fix detection with `distro_info`
2. Add distro support in `set_pm_type` function 2. Add distro support in `set_pm_type` function
3. Implement every command in epm-* files 3. Implement every command in epm-\* files
4. Ensure that `epm packages` and `epm --short packages` works correctly 4. Ensure that `epm packages` and `epm --short packages` works correctly
(`epm package 'awk'` have to print packages with `awk` substring in their names) (`epm package 'awk'` have to print packages with `awk` substring in their names)
## Informational resources ## Informational resources
* https://wiki.archlinux.org/title/Pacman/Rosetta
- https://wiki.archlinux.org/title/Pacman/Rosetta
See detailed description in Russian at See detailed description in Russian at
https://wiki.eepm.ru/ https://wiki.eepm.ru/
Please visit our Telegram group Please visit our Telegram group
https://t.me/useepm https://t.me/useepm
MAX (fallback): https://max.eepm.ru
Please e-mail if you have any questions: Please e-mail if you have any questions:
`lav@etersoft.ru` `lav@etersoft.ru`
## Simular projects ## Simular projects
* https://github.com/leamas/lpf - https://github.com/leamas/lpf
* https://ihucos.github.io/zpkg/ - With zpkg you can install programs from other distributions into your system - https://ihucos.github.io/zpkg/ - With zpkg you can install programs from other distributions into your system
* https://github.com/volitank/nala - https://github.com/volitank/nala
* http://labix.org/smart - http://labix.org/smart
...@@ -120,8 +120,9 @@ phelp() ...@@ -120,8 +120,9 @@ phelp()
print_version() print_version()
{ {
local tg_link=$(make_osc8_link "https://t.me/useepm") local tg_link=$(make_osc8_link "https://t.me/useepm")
local max_link=$(make_osc8_link "https://max.eepm.ru")
local wiki_link=$(make_osc8_link "https://wiki.etersoft.ru/Epm") local wiki_link=$(make_osc8_link "https://wiki.etersoft.ru/Epm")
message 'EPM package manager version $EPMVERSION Telegram: $tg_link $wiki_link message 'EPM package manager version $EPMVERSION Telegram: $tg_link MAX: $max_link $wiki_link
Running on $DISTRNAME/$DISTRVERSION ($PMTYPE package manager uses $PKGFORMAT package format) Running on $DISTRNAME/$DISTRVERSION ($PMTYPE package manager uses $PKGFORMAT package format)
Copyright (c) Etersoft 2012-2025 Copyright (c) Etersoft 2012-2025
This program may be freely redistributed under the terms of the GNU AGPLv3.' This program may be freely redistributed under the terms of the GNU AGPLv3.'
......
...@@ -419,7 +419,8 @@ __promo_message() ...@@ -419,7 +419,8 @@ __promo_message()
local PROMOMESSAGE="$EPMPROMOMESSAGE" local PROMOMESSAGE="$EPMPROMOMESSAGE"
if [ -z "$PROMOMESSAGE" ] ; then if [ -z "$PROMOMESSAGE" ] ; then
local tg_link=$(make_osc8_link "https://t.me/useepm") local tg_link=$(make_osc8_link "https://t.me/useepm")
PROMOMESSAGE=" (you can discuss this problem (epm $EPMVERSION on $DISTRNAME/$DISTRVERSION) in Telegram: $tg_link)" local max_link=$(make_osc8_link "https://max.eepm.ru")
PROMOMESSAGE=" (you can discuss this problem (epm $EPMVERSION on $DISTRNAME/$DISTRVERSION) in Telegram: $tg_link, MAX: $max_link)"
fi fi
echo "$PROMOMESSAGE" echo "$PROMOMESSAGE"
} }
......
...@@ -448,7 +448,8 @@ __promo_message() ...@@ -448,7 +448,8 @@ __promo_message()
local PROMOMESSAGE="$EPMPROMOMESSAGE" local PROMOMESSAGE="$EPMPROMOMESSAGE"
if [ -z "$PROMOMESSAGE" ] ; then if [ -z "$PROMOMESSAGE" ] ; then
local tg_link=$(make_osc8_link "https://t.me/useepm") local tg_link=$(make_osc8_link "https://t.me/useepm")
PROMOMESSAGE=" (you can discuss this problem (epm $EPMVERSION on $DISTRNAME/$DISTRVERSION) in Telegram: $tg_link)" local max_link=$(make_osc8_link "https://max.eepm.ru")
PROMOMESSAGE=" (you can discuss this problem (epm $EPMVERSION on $DISTRNAME/$DISTRVERSION) in Telegram: $tg_link, MAX: $max_link)"
fi fi
echo "$PROMOMESSAGE" echo "$PROMOMESSAGE"
} }
...@@ -25404,8 +25405,9 @@ phelp() ...@@ -25404,8 +25405,9 @@ phelp()
print_version() print_version()
{ {
local tg_link=$(make_osc8_link "https://t.me/useepm") local tg_link=$(make_osc8_link "https://t.me/useepm")
local max_link=$(make_osc8_link "https://max.eepm.ru")
local wiki_link=$(make_osc8_link "https://wiki.etersoft.ru/Epm") local wiki_link=$(make_osc8_link "https://wiki.etersoft.ru/Epm")
message 'EPM package manager version $EPMVERSION Telegram: $tg_link $wiki_link message 'EPM package manager version $EPMVERSION Telegram: $tg_link MAX: $max_link $wiki_link
Running on $DISTRNAME/$DISTRVERSION ($PMTYPE package manager uses $PKGFORMAT package format) Running on $DISTRNAME/$DISTRVERSION ($PMTYPE package manager uses $PKGFORMAT package format)
Copyright (c) Etersoft 2012-2025 Copyright (c) Etersoft 2012-2025
This program may be freely redistributed under the terms of the GNU AGPLv3.' This program may be freely redistributed under the terms of the GNU AGPLv3.'
......
...@@ -439,7 +439,8 @@ __promo_message() ...@@ -439,7 +439,8 @@ __promo_message()
local PROMOMESSAGE="$EPMPROMOMESSAGE" local PROMOMESSAGE="$EPMPROMOMESSAGE"
if [ -z "$PROMOMESSAGE" ] ; then if [ -z "$PROMOMESSAGE" ] ; then
local tg_link=$(make_osc8_link "https://t.me/useepm") local tg_link=$(make_osc8_link "https://t.me/useepm")
PROMOMESSAGE=" (you can discuss this problem (epm $EPMVERSION on $DISTRNAME/$DISTRVERSION) in Telegram: $tg_link)" local max_link=$(make_osc8_link "https://max.eepm.ru")
PROMOMESSAGE=" (you can discuss this problem (epm $EPMVERSION on $DISTRNAME/$DISTRVERSION) in Telegram: $tg_link, MAX: $max_link)"
fi fi
echo "$PROMOMESSAGE" echo "$PROMOMESSAGE"
} }
......
...@@ -2381,7 +2381,8 @@ msgstr "Короткие команды:" ...@@ -2381,7 +2381,8 @@ msgstr "Короткие команды:"
#: ../bin/epm:117 #: ../bin/epm:117
#, sh-format #, sh-format
msgid "" msgid ""
"EPM package manager version $EPMVERSION Telegram: https://t.me/useepm " "EPM package manager version $EPMVERSION Telegram: https://t.me/useepm MAX: "
"https://max.eepm.ru "
"https://wiki.etersoft.ru/Epm\n" "https://wiki.etersoft.ru/Epm\n"
" Running on $DISTRNAME/$DISTRVERSION ($PMTYPE package " " Running on $DISTRNAME/$DISTRVERSION ($PMTYPE package "
"manager uses $PKGFORMAT package format)\n" "manager uses $PKGFORMAT package format)\n"
...@@ -2390,6 +2391,7 @@ msgid "" ...@@ -2390,6 +2391,7 @@ msgid ""
"the GNU AGPLv3." "the GNU AGPLv3."
msgstr "" msgstr ""
"Менеджер пакетов EPM версии $EPMVERSION Telegram: https://t.me/useepm " "Менеджер пакетов EPM версии $EPMVERSION Telegram: https://t.me/useepm "
"MAX: https://max.eepm.ru "
"https://wiki.etersoft.ru/Epm\n" "https://wiki.etersoft.ru/Epm\n"
" Работает на $DISTRNAME/$DISTRVERSION (менеджер пакетов " " Работает на $DISTRNAME/$DISTRVERSION (менеджер пакетов "
"$PMTYPE использует формат пакетов $PKGFORMAT)\n" "$PMTYPE использует формат пакетов $PKGFORMAT)\n"
......
...@@ -2016,7 +2016,8 @@ msgstr "" ...@@ -2016,7 +2016,8 @@ msgstr ""
#: ../bin/epm:117 #: ../bin/epm:117
#, sh-format #, sh-format
msgid "" msgid ""
"EPM package manager version $EPMVERSION Telegram: https://t.me/useepm " "EPM package manager version $EPMVERSION Telegram: https://t.me/useepm MAX: "
"https://max.eepm.ru "
"https://wiki.etersoft.ru/Epm\n" "https://wiki.etersoft.ru/Epm\n"
" Running on $DISTRNAME/$DISTRVERSION ($PMTYPE package " " Running on $DISTRNAME/$DISTRVERSION ($PMTYPE package "
"manager uses $PKGFORMAT package format)\n" "manager uses $PKGFORMAT package format)\n"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment