How To Install libfwupd2 on Ubuntu 20.04

In this tutorial we learn how to install libfwupd2 on Ubuntu 20.04. libfwupd2 is Firmware update daemon library Firmware update daemon library Firmware update daemon library Firmware update daemon library

Introduction

In this tutorial we learn how to install libfwupd2 on Ubuntu 20.04.

What is libfwupd2

libfwupd2 is:

fwupd is a daemon to allow session software to update device firmware. You can either use a GUI software manager like GNOME Software to view and apply updates, the command-line tool or the system D-Bus interface directly. Firmware updates are supported for a variety of technologies. See https://github.com/fwupd/fwupd for details

This package provides the library used by the daemon. Task: server, ubuntu-desktop-minimal, ubuntu-desktop, cloud-image, ubuntu-core, kubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop

Package: libfwupd2 Status: install ok installed Priority: optional Section: libs Installed-Size: 203 Maintainer: Ubuntu Developers [email protected] Architecture: amd64 Multi-Arch: same Source: fwupd Version: 1.3.11-1~focal1 Depends: libc6 (>= 2.4), libglib2.0-0 (>= 2.53.2), libjson-glib-1.0-0 (>= 1.2.0), libsoup2.4-1 (>= 2.32.2) Description-en: Firmware update daemon library fwupd is a daemon to allow session software to update device firmware. You can either use a GUI software manager like GNOME Software to view and apply updates, the command-line tool or the system D-Bus interface directly. Firmware updates are supported for a variety of technologies. See https://github.com/fwupd/fwupd for details

This package provides the library used by the daemon. Homepage: https://github.com/fwupd/fwupd Original-Maintainer: Debian EFI [email protected]

Package: libfwupd2 Architecture: amd64 Version: 1.3.9-4ubuntu0.1 Multi-Arch: same Priority: optional Section: libs Source: fwupd Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian EFI [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 202 Depends: libc6 (>= 2.4), libglib2.0-0 (>= 2.53.2), libjson-glib-1.0-0 (>= 1.2.0), libsoup2.4-1 (>= 2.32.2) Filename: pool/main/f/fwupd/libfwupd2_1.3.9-4ubuntu0.1_amd64.deb Size: 50320 MD5sum: a67db6f83d383e1f2aaa06947c1a2a7b SHA1: 10dcb8d0dfaeffc989939c7ceb6879ec0f139974 SHA256: 26fcac792e4e2979e793dd313165a80d94b2ffc2da5c50308dd1c697148bee4b SHA512: 811434901084bad75a3f4db847dc6849d547c2376ca1c4300c703123c2f164b8eb6198879536f4b0f6c7d1ae0e0f3e79b9dca4071c736b2c7d54f64016b34a1e Homepage: https://github.com/fwupd/fwupd Description-en: Firmware update daemon library fwupd is a daemon to allow session software to update device firmware. You can either use a GUI software manager like GNOME Software to view and apply updates, the command-line tool or the system D-Bus interface directly. Firmware updates are supported for a variety of technologies. See https://github.com/fwupd/fwupd for details

This package provides the library used by the daemon. Task: server, ubuntu-desktop-minimal, ubuntu-desktop, cloud-image, ubuntu-core, kubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop

Package: libfwupd2 Architecture: amd64 Version: 1.3.9-4 Multi-Arch: same Priority: optional Section: libs Source: fwupd Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian EFI [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 202 Depends: libc6 (>= 2.4), libglib2.0-0 (>= 2.53.2), libjson-glib-1.0-0 (>= 1.2.0), libsoup2.4-1 (>= 2.32.2) Filename: pool/main/f/fwupd/libfwupd2_1.3.9-4_amd64.deb Size: 49828 MD5sum: a0d95d57480c92e4bedadb563e52251c SHA1: 32e9b85b99b20be0522ef025ab2cc853dd4029d5 SHA256: 1aa0ca4cc37760519da120a5b956c8335396d22dba5f6ddb0a2bd55713e73ba8 Homepage: https://github.com/fwupd/fwupd Description-en: Firmware update daemon library fwupd is a daemon to allow session software to update device firmware. You can either use a GUI software manager like GNOME Software to view and apply updates, the command-line tool or the system D-Bus interface directly. Firmware updates are supported for a variety of technologies. See https://github.com/fwupd/fwupd for details

This package provides the library used by the daemon. Task: server, ubuntu-desktop-minimal, ubuntu-desktop, cloud-image, ubuntu-core, kubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop

There are three methods to install libfwupd2 on Ubuntu 20.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 libfwupd2 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libfwupd2

Install libfwupd2 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libfwupd2

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

sudo aptitude -y install libfwupd2

How To Uninstall libfwupd2 on Ubuntu 20.04

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

sudo apt-get remove libfwupd2

Uninstall libfwupd2 And Its Dependencies

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

sudo apt-get -y autoremove libfwupd2

Remove libfwupd2 Configurations and Data

To remove libfwupd2 configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libfwupd2

Remove libfwupd2 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libfwupd2

References

Summary

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