+5 votes
265 views
Sysget command to manage packages on Linux

in Linux / Unix by (552k points)
reopened | 265 views

1 Answer

+3 votes
Best answer

1. How to install Sysget on Linux
2. How to use Sysget on Linux

Linux distributions both at the user and organizational level have been developed to facilitate the user the option of using all their functions and features to the fullest and as we know, one of the great advantages of Linux environments is the versatility to install new applications and this is achieved thanks to the package manager ..

The package manager who is responsible for carrying out the installation, configuration and removal tasks of these applications, but the problem is when we use a distribution of which we do not know which is your package manager, remember that this administrator varies between them so that the same Package Manager is not the same as Fedora as CentOS or Ubuntu .

To solve this situation there is a tool called Sysget and therefore TechnoWikis will explain what it is and how to use it for better control of Linux packages..

What is sysget
Sysget is an interface developed to manage package managers in Linux, it can be used as a specific front end for each package manager, so Sysget can be used with the same syntax for each package manager available in Linux.

Sysget is a script created for package managers and is written in C ++ and its source code is available for free on GitHub.

Package Administrators
Sysget supports various package managers such as:
  • apt-get (Debian)
  • xbps (Void)
  • dnf (Fedora)
  • yum (Enterprise Linux / Legacy Fedora)
  • zypper (OpenSUSE)
  • eopkg (Solus)
  • pacman (Arch)
  • emerge (Gentoo)
  • pkg (FreeBSD)
  • chromebrew (ChromeOS)
  • homebrew (Mac OS)
  • nix (Nix OS)
  • snap (independent)
  • npm (Javascript, Global)
features
Among the features offered by this utility we find:
  • Install packages
  • Remove packages
  • Delete orphaned files
  • Clear the package manager cache
  • Update database
  • Search packages
  • Update a specific package

1. How to install Sysget on Linux

Step 1

To carry out the Sysget installation process we will execute the following commands:
 sudo wget -O / usr / local / bin / sysget https://github.com/emilengler/sysget/releases/download/v1.2.1/sysget 

image

Step 2

After this command we will execute the following commands:
 sudo mkdir -p / usr / local / share / sysget sudo chmod a + x / usr / local / bin / sysget 

image

Step 3

At the moment of running Sysget for the first time, the package manager of the used system will be indicated and we will be able to see a list of the available managers, there we will select the one that best suits the distribution used, for this we execute:
 sudo sysget 

image

There we enter the desired number and press Enter or we can assign the desired package by executing the following syntax:

 sudo sysget set “package” 

2. How to use Sysget on Linux


Once installed we can make use of the following functions:
Step 1

To install a package we will execute the following syntax:
 sudo sysget install <package name> 
For example, we can execute the following:
 sudo sysget install Emacs 

image

Step 2

There we enter the letter S to continue the process of downloading and installing the selected package.
To remove a package we will execute the following syntax:
 sudo sysget remove “package” 

image

Step 3

To run an update we will use the following line:
 sudo sysget update 

image

To update the entire system we execute:

 sudo sysget upgrade 
Step 4

To update a specific package we will execute the following:
 sudo sysget upgrade <package> 
If we want to eliminate orphaned packages, that is, they no longer depend on anyone and are not in use, we execute:
 sudo sysget autoremove 
If the goal is to clear the system cache:
 sudo sysget clean 
Optional, if we want to search for a package in the repository we will use the search parameter plus the package name.

In this way, Sysget becomes an ally for the entire package management process in the different Linux distributions..


by (3.5m points)
edited

Related questions

+5 votes
1 answer
asked Nov 2, 2019 in Linux / Unix by backtothefuture (552k points) | 268 views
+5 votes
1 answer
+4 votes
1 answer
asked Jun 12, 2020 in Linux / Unix by backtothefuture (552k points) | 325 views
+3 votes
1 answer
asked Nov 2, 2019 in Linux / Unix by backtothefuture (552k points) | 262 views
+3 votes
1 answer
Sponsored articles cost $40 per post. You can contact us via Feedback

Most popular questions within the last 30 days

10,659 questions
10,791 answers
510 comments
3 users