How To Install lirc-compat-remotes on Ubuntu 18.04
Introduction
In this tutorial we learn how to install lirc-compat-remotes on Ubuntu 18.04.
What is lirc-compat-remotes
lirc-compat-remotes is:
LIRC stands for ‘Linux Infra-red Remote Control’.
This package contains the remote definitions which were part of lirc up to 0.9.0. From 0.9.4, these lives at http://sf.net/p/lirc-remotes, although this is a superset and partly updated.
There are three methods to install lirc-compat-remotes 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 lirc-compat-remotes Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install lirc-compat-remotes using apt-get by running the following command:
sudo apt-get -y install lirc-compat-remotes
Install lirc-compat-remotes Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install lirc-compat-remotes using apt by running the following command:
sudo apt -y install lirc-compat-remotes
Install lirc-compat-remotes 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 lirc-compat-remotes using aptitude by running the following command:
sudo aptitude -y install lirc-compat-remotes
How To Uninstall lirc-compat-remotes on Ubuntu 18.04
To uninstall only the lirc-compat-remotes package we can use the following command:
sudo apt-get remove lirc-compat-remotes
Uninstall lirc-compat-remotes And Its Dependencies
To uninstall lirc-compat-remotes and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove lirc-compat-remotes
Remove lirc-compat-remotes Configurations and Data
To remove lirc-compat-remotes configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge lirc-compat-remotes
Remove lirc-compat-remotes configuration, data, and all of its dependencies
We can use the following command to remove lirc-compat-remotes configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge lirc-compat-remotes
References
Summary
In this tutorial we learn how to install lirc-compat-remotes package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.