{"id":13394,"date":"2019-04-01T23:43:29","date_gmt":"2019-04-01T23:43:29","guid":{"rendered":"http:\/\/www.appservgrid.com\/paw92\/?p=13394"},"modified":"2019-04-01T23:43:29","modified_gmt":"2019-04-01T23:43:29","slug":"sysget-a-front-end-for-every-package-manager-in-linux","status":"publish","type":"post","link":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/04\/01\/sysget-a-front-end-for-every-package-manager-in-linux\/","title":{"rendered":"sysget \u2013 A Front-end for Every Package Manager in Linux"},"content":{"rendered":"<p>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.<\/p>\n<p>There is a utility called\u00a0<strong>sysget<\/strong>\u00a0that can become a front-end for every package manager. Basically\u00a0<strong>sysget<\/strong>\u00a0serves as bridge and allows you to use same syntax for every package manager.<\/p>\n<p><strong>Read Also<\/strong>:\u00a0<a href=\"https:\/\/www.tecmint.com\/linux-package-managers\/\" target=\"_blank\" rel=\"noopener\">5 Best Package Managers for Linux Newbies<\/a><\/p>\n<p>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.<\/p>\n<p><strong>Sysget<\/strong>\u00a0is 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\u2019s package manager.<\/p>\n<h4>Supported Package Managers<\/h4>\n<p>Sysget supports wide range of package managers including:<\/p>\n<ol>\n<li><a href=\"https:\/\/www.tecmint.com\/useful-basic-commands-of-apt-get-and-apt-cache-for-package-management\/\" target=\"_blank\" rel=\"noopener\">apt-get<\/a>\u00a0or\u00a0<a href=\"https:\/\/www.tecmint.com\/apt-advanced-package-command-examples-in-ubuntu\/\" target=\"_blank\" rel=\"noopener\">apt<\/a><\/li>\n<li>xbps<\/li>\n<li><a href=\"https:\/\/www.tecmint.com\/dnf-commands-for-fedora-rpm-package-management\/\" target=\"_blank\" rel=\"noopener\">dnf<\/a><\/li>\n<li><a href=\"https:\/\/www.tecmint.com\/20-linux-yum-yellowdog-updater-modified-commands-for-package-mangement\/\" target=\"_blank\" rel=\"noopener\">yum<\/a><\/li>\n<li><a href=\"https:\/\/www.tecmint.com\/zypper-commands-to-manage-suse-linux-package-management\/\" target=\"_blank\" rel=\"noopener\">zypper<\/a><\/li>\n<li>eopkg<\/li>\n<li>pacman<\/li>\n<li>emerge<\/li>\n<li><a href=\"https:\/\/www.tecmint.com\/pkg-command-examples-to-manage-packages-in-freebsd\/\" target=\"_blank\" rel=\"noopener\">pkg<\/a><\/li>\n<li>chromebrew<\/li>\n<li>homebrew<\/li>\n<li>nix<\/li>\n<li>snap<\/li>\n<li>Npm<\/li>\n<\/ol>\n<h4>Sysget Features<\/h4>\n<ul>\n<li>search for packages<\/li>\n<li>install packages<\/li>\n<li>remove packages<\/li>\n<li>remove orphans<\/li>\n<li>clear package manager cache<\/li>\n<li>update database<\/li>\n<li>upgrade system<\/li>\n<li>upgrade single package<\/li>\n<\/ul>\n<p>The official git repository of sysget is available\u00a0<a href=\"https:\/\/github.com\/emilengler\/sysget\" target=\"_blank\" rel=\"nofollow noopener\">here<\/a>.<\/p>\n<h3>How to Install and Use Sysget in Linux<\/h3>\n<p>The installation of\u00a0<strong>sysget<\/strong>\u00a0is particularly easy and trivial and can be completed with the following commands.<\/p>\n<pre>$ sudo wget -O \/usr\/local\/bin\/sysget https:\/\/github.com\/emilengler\/sysget\/releases\/download\/v1.2.1\/sysget \r\n$ sudo mkdir -p \/usr\/local\/share\/sysget \r\n$ sudo chmod a+x \/usr\/local\/bin\/sysget\r\n<\/pre>\n<p>Usage of\u00a0<strong>sysget<\/strong>\u00a0is also pretty simple and commands often look like the ones used with\u00a0<strong>apt<\/strong>. When you run\u00a0<strong>sysget<\/strong>\u00a0for first time you will be asked for your system\u2019s package manager and see a list of available ones. You must choose the one for your OS:<\/p>\n<pre>$ sudo sysget\r\n<\/pre>\n<div id=\"attachment_30935\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/10\/Choose-Linux-Package-Manager.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-30935\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/10\/Choose-Linux-Package-Manager.png\" sizes=\"auto, (max-width: 947px) 100vw, 947px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/10\/Choose-Linux-Package-Manager.png 947w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/10\/Choose-Linux-Package-Manager-768x297.png 768w\" alt=\"Choose Linux Package Manager\" width=\"947\" height=\"366\" aria-describedby=\"caption-attachment-30935\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-30935\" class=\"wp-caption-text\">Choose Linux Package Manager<\/p>\n<\/div>\n<p>Once this is done, you can use the following commands:<\/p>\n<p>For package installation.<\/p>\n<pre>$ sudo sysget install &lt;package name&gt;\r\n<\/pre>\n<p>To remove a package:<\/p>\n<pre>$ sudo sysget remove package\r\n<\/pre>\n<p>To run an update:<\/p>\n<pre>$ sudo sysget update\r\n<\/pre>\n<p>To upgrade your system:<\/p>\n<pre>$ sudo sysget upgrade\r\n<\/pre>\n<p>Upgrade specific package with:<\/p>\n<pre>$ sudo sysget upgrade &lt;package name&gt;\r\n<\/pre>\n<p>To remove orphans:<\/p>\n<pre>$ sudo sysget autoremove \r\n<\/pre>\n<p>Clean package manager cache:<\/p>\n<pre>$ sudo sysget clean \r\n<\/pre>\n<p>Let\u2019s see it in action. Here is a sample installation of\u00a0<strong>emacs<\/strong>\u00a0on Ubuntu system.<\/p>\n<pre>$ sudo sysget install emacs\r\n<\/pre>\n<div id=\"attachment_30937\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/10\/Install-Package-in-Ubuntu.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-30937\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/10\/Install-Package-in-Ubuntu.png\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/10\/Install-Package-in-Ubuntu.png 1000w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/10\/Install-Package-in-Ubuntu-768x263.png 768w\" alt=\"Install Package in Ubuntu\" width=\"1000\" height=\"342\" aria-describedby=\"caption-attachment-30937\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-30937\" class=\"wp-caption-text\">Install Package in Ubuntu<\/p>\n<\/div>\n<p>And here is how to remove a package:<\/p>\n<pre>$ sudo sysget remove emacs\r\n<\/pre>\n<div id=\"attachment_30938\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/10\/Remove-Package-in-Ubuntu.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-30938\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/10\/Remove-Package-in-Ubuntu.png\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/10\/Remove-Package-in-Ubuntu.png 1000w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/10\/Remove-Package-in-Ubuntu-768x263.png 768w\" alt=\"Remove Package in Ubuntu\" width=\"1000\" height=\"342\" aria-describedby=\"caption-attachment-30938\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-30938\" class=\"wp-caption-text\">Remove Package in Ubuntu<\/p>\n<\/div>\n<p>If you need to go through\u00a0<strong>sysget<\/strong>\u00a0options, you can type:<\/p>\n<pre>$ sudo sysget help\r\n<\/pre>\n<p>This will show a list of available options you can use with sysget:<\/p>\n<div id=\"attachment_30939\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/10\/Sysget-Command-Options-and-Usage.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-30939\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/10\/Sysget-Command-Options-and-Usage.png\" alt=\"Sysget Command Options and Usage\" width=\"758\" height=\"331\" aria-describedby=\"caption-attachment-30939\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-30939\" class=\"wp-caption-text\">Sysget Command Options and Usage<\/p>\n<\/div>\n<h5>Conclusion<\/h5>\n<p>Remember that syntax for\u00a0<strong>sysget<\/strong>\u00a0is 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.<\/p>\n<p><a href=\"https:\/\/www.tecmint.com\/sysget-front-end-package-manager-in-linux\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/04\/01\/sysget-a-front-end-for-every-package-manager-in-linux\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;sysget \u2013 A Front-end for Every Package Manager in Linux&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-13394","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/13394","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/comments?post=13394"}],"version-history":[{"count":1,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/13394\/revisions"}],"predecessor-version":[{"id":13395,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/13394\/revisions\/13395"}],"wp:attachment":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/media?parent=13394"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/categories?post=13394"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/tags?post=13394"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}