https://github.com/vednoc/pkg
A wrapper for various package managers.
https://github.com/vednoc/pkg
apt gnu-linux linux package-manager-tool pacman wrapper xbps
Last synced: about 1 month ago
JSON representation
A wrapper for various package managers.
- Host: GitHub
- URL: https://github.com/vednoc/pkg
- Owner: vednoc
- License: mit
- Created: 2020-09-28T17:41:50.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2020-12-21T09:12:27.000Z (over 4 years ago)
- Last Synced: 2025-04-08T22:14:25.401Z (about 1 month ago)
- Topics: apt, gnu-linux, linux, package-manager-tool, pacman, wrapper, xbps
- Language: Shell
- Homepage:
- Size: 26.4 KB
- Stars: 6
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: readme.org
- Changelog: changelog.org
- License: license
Awesome Lists containing this project
README
* pkg
A wrapper for various package managers. ~pkg~ is made for those that want a tool
that abstracts all the commonly used commands behind a universal interface.Heavily inspired by:
+ [[https://github.com/lukrop/xbps-pkg][lukrop/xbps-pkg]]
+ [[https://www.freebsd.org/cgi/man.cgi?query=pkg&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html][FreeBSD's pkg(8)]]** Installation
As an example, the following steps use a local bin directory.*** If you want everything
Clone this repository, then make a symbolic link to ~pkg~ on your ~$PATH~.#+BEGIN_SRC shell
ln -s $HOME/code/pkg/pkg $HOME/.local/bin
#+END_SRC*** If you only want the tool
Use ~cURL~ to download the tool and save it in your local ~bin~ directory.#+BEGIN_SRC shell
curl -o $HOME/.local/bin/pkg -L https://github.com/vednoc/pkg/raw/main/pkg
#+END_SRC*** Make the tool executable
After installation is complete, make ~pkg~ executable (otherwise you'll get
"permission denied" error).#+BEGIN_SRC shell
chmod +x $HOME/.local/bin/pkg
#+END_SRC** Usage
Type ~pkg help~ in your terminal emulator to get started.All available commands will be documented in the help option. Also, check out the
source code to see the implementation of this tool.** Contributing
Fork this project, clone the repository, install [[https://editorconfig.org/][EditorConfig]] plugin if
necessary, then send over a Pull Request. Keep the changes small and relevant.** License
Licensed under the [[./license][MIT license]].