Unverified Commit a4c813c2 authored by Дмитрий Никулин's avatar Дмитрий Никулин Committed by GitHub

Cleanup README.md

parent 99c0570d
Etersoft EPM package manager README
# Etersoft EPM package manager README
Really, EPM is a wrapper for any package manager used in your operating system.
Run $ epm --help for check all support commands.
Run
```
$ epm --help
```
to see list of all supported commands.
The main goal of the project provide the same package management interface
on any platform.
The main goal of the project is to provide the same package management interface
on all platforms.
You can use
```
# epmi NAME
```
or
```
# epm -i NAME
```
or
```
# epm install NAME
for install package. It is just aliases for one command: install of the package.
EEPM will run urpmi on Mandriva, apt-get install on Ubuntu, yum install on Fedora.
And it have a little intelligence, so EEPM will try install file with package via
low level commands (rpm or dpkg) before use hi level commands (yum, apt).
```
to install a package. It is just an alias for one command: install the package.
EEPM will run `urpmi` on Mandriva, `apt-get install` on Ubuntu, `yum install` on Fedora.
And it has a little intelligence, so EEPM will first try to install a package file via
low level commands (`rpm` or `dpkg`) before using higher level commands (`yum`, `apt`).
Just try your comfort style for package management and save your experience the same
on any platform. EEPM will print out any real command it uses so you can learn from it.
Just try your comfort style for package management and carry your experience the same
to any platform. EEPM will print out any real command it uses so you can learn from it.
Also EEPM has initial support for control repositories: list, add, remove, update
Also EEPM has initial support for repository management: list, add, remove, update
Pay attention to follow useful commands:
epmqf - query package(s) owning file
epmqp - search in the list of installed packages
Pay attention to the following useful commands:
* `epmqf` - query package(s) owning file
* `epmqp` - search in the list of installed packages
epmqf helps 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
Note: epmqf is placed as /usr/bin/epmqf
$ rpm -qf /usr/bin/epmqf
......@@ -36,20 +47,23 @@ Note: /usr/bin/epmqf is link to epm
Note: epm is placed as /usr/bin/epm
$ rpm -qf /usr/bin/epm
eepm-1.1.0-alt2
```
== Install on any system ==
## Install on any system
Just run under root user:
```
# curl -s https://raw.githubusercontent.com/Etersoft/eepm/master/packed/epm.sh | bash /dev/stdin ei --auto
```
== How to add new distro support ==
1. Fix detection with distr_info
2. Add distro support in set_pm_type function
3. Realize every command in epm-* files
4. Check epm packages and epm --short packages works correctly
(epm package 'awk' have to print packages with awk substring in their names)
## How to add new distro support
1. Fix detection with `distr_info`
2. Add distro support in `set_pm_type` function
3. Implement every command in epm-* files
4. Ensure that `epm packages` and `epm --short packages` works correctly
(`epm package 'awk'` has to print packages with `awk` substring in their names)
See detailed description in russian at
See detailed description in Russian at
http://wiki.etersoft.ru/Epm
Please e-mail me:
......
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