How To Install lirc-drv-irman on Ubuntu 18.04

In this tutorial we learn how to install lirc-drv-irman on Ubuntu 18.04. lirc-drv-irman is LIRC plugin providing irman compatible devices support

Introduction

In this tutorial we learn how to install lirc-drv-irman on Ubuntu 18.04.

What is lirc-drv-irman

lirc-drv-irman is:

The IrMan hardware (http://www.intolect.com/irmandetail.htm) is nowadays discontinued. However, some modern hardware (notably the irtoy) is able to emulate the irman protocol.

This package provides a plugin for modern LIRC providing support for irman compatible devices (http://www.intolect.com/irmandetail.htm). Older LIRC versions < 0.9.4 has this support built-in.

There are three methods to install lirc-drv-irman 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-drv-irman 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-drv-irman using apt-get by running the following command:

sudo apt-get -y install lirc-drv-irman

Install lirc-drv-irman Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install lirc-drv-irman using apt by running the following command:

sudo apt -y install lirc-drv-irman

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

sudo aptitude -y install lirc-drv-irman

How To Uninstall lirc-drv-irman on Ubuntu 18.04

To uninstall only the lirc-drv-irman package we can use the following command:

sudo apt-get remove lirc-drv-irman

Uninstall lirc-drv-irman And Its Dependencies

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

sudo apt-get -y autoremove lirc-drv-irman

Remove lirc-drv-irman Configurations and Data

To remove lirc-drv-irman configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge lirc-drv-irman

Remove lirc-drv-irman configuration, data, and all of its dependencies

We can use the following command to remove lirc-drv-irman configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge lirc-drv-irman

References

Summary

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