Jumat, 10 Juli 2020

How to Use the eopkg Commands to Manage Packages in Solus Linux

As a distribution built from scratch, the number of packages available in Solus repositories is limited, unlike Arch-based distributions that have AUR. But Solus compensate it with the support for Flatpak and Snap packages.

The package manager for Solus Linux is eopkg which is based on PiSi (Packages Installed Successfully as Intended), the package manager developed for Pardus, a distribution based on Debian that has support from the Turkish government.

In this tutorial, I’ll show you some of the common usage of the eopkg that you can use to manage packages in Solus Linux.

Using eopkg package manager in Solus Linux

If you prefer to use a GUI application to manage the installed software, there’s a Software Center, that you can open from the menu. I’ll briefly touch upon it in later parts of this section.

Installing software

You can install one or more packages with eopkg in the following way:

sudo eopkg install package_1 package_2
Solus Install Package

Uninstalling software

You can remove one or more installed packages using:

sudo eopkg remove package_name
Solus Remove Package

Reinstalling software

If there is an issue with an installed software, you can reinstall the package using:

sudo eopkg install --reinstall package_name

Search for an available package

You can search whether a package is available in Solus repository.

sudo eopkg search term

Notice that you don’t need to search for a specific software name, although you can do that. It search summaries and software names by default.

Get information on software (before or after installing them)

You can also get some additional information on a software, such as its description, version, installation size etc.

It is like apt show command in Ubuntu.

sudo eopkg info package_name

Updating a specific package or all of them together

You can update your system by using:

sudo eopkg upgrade
Solus System Upgrade

If you want to only update a specific piece of software on your system, you can specify is like below:

sudo eopkg upgrade package_name

Third Party Applications

Solus has a Third Party Repository, it contains applications that cannot be included in the primary repository due to licensing issues.

Solus Third Party Apps
Solus Third Party Apps

Here’s a list of some of the applications available in this repository:

  • Google Chrome
  • Skype
  • Slack
  • Spotify
  • TeamViewer
  • Microsoft Core Fonts
  • Android Studio

Snap and Flatpak for additional software

As mentioned earlier, Solus supports Snap packages. Commencing with Solus 3 and above, Snap is already installed and ready to go.

sudo snap install packagename

Flatpak packages

To install Flatpak, run the following command in the terminal:

sudo eopkg install flatpak xdg-desktop-portal-gtk

To enable Flathub repository:

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

Restart your system, and you can install flatpak packages.

Bonust Tip: Installing LTS kernel in Solus

By default, Solus utilizes the Linux current kernel. If you run Solus on older hardware or stability is your priority you can install the LTS kernel as following.

Keep in mind that Solus still maintains the 4.9 LTS kernel (from 2016), not the latest 5.4 LTS.

Solus Mate 4.1 Neofetch
Solus Mate 4.1 with LTS kernel

To Install the LTS kernel, use:

sudo eopkg install linux-lts

Now reboot.

By default, EFI installs will not show the boot menu and boot directly into Solus. By hitting space bar repeatedly during boot, the boot menu will appear.

After choosing the LTS kernel from the boot menu, use the following command to make the booted kernel the default boot option.

sudo clr-boot-manager update

If you cannot access Solus in a dual-boot scenario, typically applies to “legacy boot” (non-UEFI), can be resolved by accessing the other operating system and running the following command:

sudo update-grub

Conclusion

Solus is a simple and reliable operating system. I’m a fan of the rolling release model and Solus user for quite a long time.

If you are not willing to dive deep into every Linux system parameter like you do with Arch Linux installation, then Solus is for you.

Snap and flatpak support won’t let you have limited software options, so it could be an ideal OS for the average desktop user as you won’t be bothered by point releases.

If you have tried Solus already please let me know your thoughts at the comments below.



from It's FOSS https://ift.tt/3iO52x9
via IFTTT

Tidak ada komentar:

Posting Komentar