How To Install libifp-dev on Ubuntu 18.04

In this tutorial we learn how to install libifp-dev on Ubuntu 18.04. libifp-dev is communicate with iRiver iFP audio devices (development files)

Introduction

In this tutorial we learn how to install libifp-dev on Ubuntu 18.04.

What is libifp-dev

libifp-dev is:

This package contains files used to develop or compile programs that use libifp.

libifp allows you to communicate with iRiver iFP audio devices. It provides a high-level interface to upload and download files to and from the device, as well as other functions like battery status and firmware updating.

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

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

sudo apt-get update

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

sudo apt-get -y install libifp-dev

Install libifp-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libifp-dev

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

sudo aptitude -y install libifp-dev

How To Uninstall libifp-dev on Ubuntu 18.04

To uninstall only the libifp-dev package we can use the following command:

sudo apt-get remove libifp-dev

Uninstall libifp-dev And Its Dependencies

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

sudo apt-get -y autoremove libifp-dev

Remove libifp-dev Configurations and Data

To remove libifp-dev configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libifp-dev

Remove libifp-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libifp-dev

References

Summary

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