How To Install kdelirc on Ubuntu 18.04

In this tutorial we learn how to install kdelirc on Ubuntu 18.04. kdelirc is transitional package for kremotecontrol

Introduction

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

What is kdelirc

kdelirc is:

This is a transitional package provided to ease upgrade from kdelirc to the new kremotecontrol. It can be safely removed.

This package is part of the KDE utilities module.

There are three methods to install kdelirc 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 kdelirc Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install kdelirc

Install kdelirc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install kdelirc

Install kdelirc 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 kdelirc using aptitude by running the following command:

sudo aptitude -y install kdelirc

How To Uninstall kdelirc on Ubuntu 18.04

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

sudo apt-get remove kdelirc

Uninstall kdelirc And Its Dependencies

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

sudo apt-get -y autoremove kdelirc

Remove kdelirc Configurations and Data

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

sudo apt-get -y purge kdelirc

Remove kdelirc configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge kdelirc

References

Summary

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