How To Install libfwup-dev on Debian 9

In this tutorial we learn how to install libfwup-dev on Debian 9. libfwup-dev is Development headers for libfwup

Introduction

In this tutorial we learn how to install libfwup-dev on Debian 9.

What is libfwup-dev

libfwup-dev is:

fwupdate provides functionality to update system firmware. It has been initially designed to update firmware using UEFI capsule updates, but it is designed to be extensible to other firmware update standards.

This package provides development headers required to use libfwup.

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

Install libfwup-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 libfwup-dev using apt-get by running the following command:

sudo apt-get -y install libfwup-dev

Install libfwup-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libfwup-dev

Install libfwup-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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install libfwup-dev

How To Uninstall libfwup-dev on Debian 9

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

sudo apt-get remove libfwup-dev

Uninstall libfwup-dev And Its Dependencies

To uninstall libfwup-dev and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove libfwup-dev

Remove libfwup-dev Configurations and Data

To remove libfwup-dev configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge libfwup-dev

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

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

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

Dependencies

libfwup-dev have the following dependencies:

References

Summary

In this tutorial we learn how to install libfwup-dev package on Debian 9 using different package management tools: apt, apt-get and aptitude.