How To Install solaar on Ubuntu 18.04

In this tutorial we learn how to install solaar on Ubuntu 18.04. solaar is Logitech Unifying Receiver peripherals manager for Linux

Introduction

In this tutorial we learn how to install solaar on Ubuntu 18.04.

What is solaar

solaar is:

Solaar is a Linux device manager for Logitech’s Unifying Receiver wireless peripherals. It is able to pair/unpair devices to the receiver, and for some devices to read battery status.

There are three methods to install solaar on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install solaar Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install solaar using apt-get by running the following command:

sudo apt-get -y install solaar

Install solaar Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install solaar using apt by running the following command:

sudo apt -y install solaar

Install solaar Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install solaar using aptitude by running the following command:

sudo aptitude -y install solaar

How To Uninstall solaar on Ubuntu 18.04

To uninstall only the solaar package we can use the following command:

sudo apt-get remove solaar

Uninstall solaar And Its Dependencies

To uninstall solaar and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove solaar

Remove solaar Configurations and Data

To remove solaar configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge solaar

Remove solaar configuration, data, and all of its dependencies

We can use the following command to remove solaar configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge solaar

References

Summary

In this tutorial we learn how to install solaar package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.