sysget – A Front-end for Every Package Manager in Linux

[‘

n

Linux comes in many flavors and many of us like to test all kind of distributions until we find the perfect match for our needs. The problem is that based on which major distribution your OS is build, the package manager might be different and turned out to be one that you are not particular familiar with.

n

There is a utility called sysget that can become a front-end for every package manager. Basically sysget serves as bridge and allows you to use same syntax for every package manager.

n

Read Also: 5 Best Package Managers for Linux Newbies

n

This is particularly useful for Linux newcomers who are taking their first steps in managing their OS over command line and like to hop from one distribution to another without having to learn new commands.

n

Sysget is in no means replacement of the distribution package manager. It is just wrapper of the OS package manager and if you are a Linux administrator it is probably better to stick to your own distro’s package manager.

n

Supported Package Managers

n

Sysget supports wide range of package managers including:

n

    n

  1. apt-get or apt
  2. n

  3. xbps
  4. n

  5. dnf
  6. n

  7. yum
  8. n

  9. zypper
  10. n

  11. eopkg
  12. n

  13. pacman
  14. n

  15. emerge
  16. n

  17. pkg
  18. n

  19. chromebrew
  20. n

  21. homebrew
  22. n

  23. nix
  24. n

  25. snap
  26. n

  27. Npm
  28. n

n

Sysget Features

n

    n

  • search for packages
  • n

  • install packages
  • n

  • remove packages
  • n

  • remove orphans
  • n

  • clear package manager cache
  • n

  • update database
  • n

  • upgrade system
  • n

  • upgrade single package
  • n

n

The official git repository of sysget is available here.

n

How to Install and Use Sysget in Linux

n

The installation of sysget is particularly easy and trivial and can be completed with the following commands.

n

$ sudo wget -O /usr/local/bin/sysget https://github.com/emilengler/sysget/releases/download/v1.2.1/sysget rn$ sudo mkdir -p /usr/local/share/sysget rn$ sudo chmod a+x /usr/local/bin/sysgetrn

n

Usage of sysget is also pretty simple and commands often look like the ones used with apt. When you run sysget for first time you will be asked for your system’s package manager and see a list of available ones. You must choose the one for your OS:

n

$ sudo sysgetrn

n

Choose Linux Package Manager
Choose Linux Package Manager

n

Once this is done, you can use the following commands:

n

For package installation.

n

$ sudo sysget install <package name>rn

n

To remove a package:

n

$ sudo sysget remove packagern

n

To run an update:

n

$ sudo sysget updatern

n

To upgrade your system:

n

$ sudo sysget upgradern

n

Upgrade specific package with:

n

$ sudo sysget upgrade <package name>rn

n

To remove orphans:

n

$ sudo sysget autoremove rn

n

Clean package manager cache:

n

$ sudo sysget clean rn

n

Let’s see it in action. Here is a sample installation of emacs on Ubuntu system.

n

$ sudo sysget install emacsrn

n

Install Package in Ubuntu
Install Package in Ubuntu

n

And here is how to remove a package:

n

$ sudo sysget remove emacsrn

n

Remove Package in Ubuntu
Remove Package in Ubuntu

n

If you need to go through sysget options, you can type:

n

$ sudo sysget helprn

n

This will show a list of available options you can use with sysget:

n

Sysget Command Options and Usage
Sysget Command Options and Usage

n

Conclusion

n

Remember that syntax for sysget is the same across all supported distributions. Still it is not mean to completely replace your OS package manager, but just to cover the basic needs to operate packages on the system.

n

‘]