mirror of
https://gitlab.com/EchoPouet/checkpack
synced 2026-01-15 12:11:38 +00:00
No description
| src | ||
| tests | ||
| .gitlab-ci.yml | ||
| checkpack.nimble | ||
| LICENSE.md | ||
| README.md | ||
checkpack
Tiny library to check if a system package is already installed.
Contributions are welcome.
Installation
Install checkpack with Nimble:
$ nimble install -y checkpack
Add Norm to your .nimble file:
requires "checkpack"
Usage
It's very simple. See following code:
import checkpack
if not checkPack("git"):
echo "Git not found"
Package manager support
The supported package manager are following:
- Windows:
- Linux:
- YUM
- DPKG
- RPM
- PACMAN
- APK
- MacOSX:
