An universal package manager wrapper! One of the biggest headaches when disto hopping is learning, the commands to install or remove a program! You can easily search for those commands on the internet, but to help you a bit Universal Package Manager "Wrapper" is here! It can be installed on any linux distro using supported package managers. It has simple command-line options, to install and remove packages, which are all same across all the distros that are supported till now. So, you don't need to memorize every package manager commands to do somehing, learn once and all your distros can do packager manager stuff with same commands!
UPM isn't some different package manager! Its just simply a wrapper for pre-built package managers!
UPM supports these commands till now-
- install (to install a given package)
- remove (to uninstall a package manager)
- sync (to sync the repo)
- upgrade (to perform full system upgrade)
- look (search for a package in repo)
At this time only three package managers are supported!
- pacman
- apt
- dnf
To install upm, just clone the repo and run install.sh as root.
On a typical linux install, you should do
sudo sh install.sh
In terminal in the directory where you cloned the repo.
If you want to install using sch(available at https://github.com/ayush7788/sch), a codefile is included for help!
If you are running UPM for first time, make sure you are running it as root! So that it can generate some config files.
When you will run "upm", it will identify your package manager and generate a config in /usr/share/upm/config
- To install a package
upm install "pkg-name"
- To uninstall a package
upm remove "pkg-name"
- To sync the repositories
upm sync
- To do full system upgrade
upm upgrade
- To search for a package in repo
upm look "pkg-name"
- Pass any non-defined flag to package manager
upm "any other param"
If sometime you played up with config a bit more and now UPM cannot identify your package manager, you can always run(as root)
upm --configure
to re-generate config file
- Do first release
- Support Ubuntu
- Support Arch Linux
- Change Identification system of package manager
- Support pacman
- Support apt
- support dnf
- Make better flags support
- Do second release
- Add more default functions
- Make native packages for various distros
- Play Minecraft ^_^