Coder Social home page Coder Social logo

upm's Introduction

upm

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!

What actually is UPM

UPM isn't some different package manager! Its just simply a wrapper for pre-built package managers!

Commanline options

UPM supports these commands till now-

  1. install (to install a given package)
  2. remove (to uninstall a package manager)
  3. sync (to sync the repo)
  4. upgrade (to perform full system upgrade)
  5. look (search for a package in repo)

Supported Package Managers

At this time only three package managers are supported!

  1. pacman
  2. apt
  3. dnf

Installation

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.

Usage

When you will run "upm", it will identify your package manager and generate a config in /usr/share/upm/config

  1. To install a package
upm install "pkg-name"
  1. To uninstall a package
upm remove "pkg-name"
  1. To sync the repositories
upm sync
  1. To do full system upgrade
upm upgrade
  1. To search for a package in repo
upm look "pkg-name"
  1. 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

TO-do list

  • 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 ^_^

upm's People

Contributors

acidicneko avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.