How To Install fwupd on Ubuntu 20.04

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

Introduction

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

What is fwupd

fwupd 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 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: fwupd Status: install ok installed Priority: optional Section: admin Installed-Size: 5648 Maintainer: Ubuntu Developers [email protected] Architecture: amd64 Multi-Arch: foreign Version: 1.3.11-1~focal1 Replaces: fwupdate (« 12-7), gir1.2-dfu-1.0 (« 0.9.7-1), libdfu-dev (« 0.9.7-1), libdfu1 (« 0.9.7-1) Provides: fwupdate Depends: libc6 (>= 2.17), libefiboot1 (>= 37), libefivar1 (>= 37), libelf1 (>= 0.142), libfwupd2 (>= 1.3.7), libfwupdplugin1 (>= 1.3.9), libglib2.0-0 (>= 2.63.3), libgnutls30 (>= 3.6.12), libgpg-error0 (>= 1.14), libgpgme11 (>= 1.2.0), libgudev-1.0-0 (>= 146), libgusb2 (>= 0.3.1), libjson-glib-1.0-0 (>= 1.2.0), libpolkit-gobject-1-0 (>= 0.99), libsmbios-c2, libsoup2.4-1 (>= 2.41.90), libsqlite3-0 (>= 3.5.9), libtss2-esys0 (>= 2.3.1), libxmlb1 (>= 0.1.13), shared-mime-info Recommends: python3, bolt, fwupd-signed Breaks: gir1.2-dfu-1.0 (« 0.9.7-1), libdfu-dev (« 0.9.7-1), libdfu1 (« 0.9.7-1) Conflicts: fwupdate-amd64-signed, fwupdate-arm64-signed, fwupdate-armhf-signed, fwupdate-i386-signed Conffiles: /etc/fwupd/daemon.conf c2a9bffbc4d0c6f003389fde5c54580f /etc/fwupd/redfish.conf 04489225dfb344254ff28fdb22f67026 /etc/fwupd/remotes.d/dell-esrt.conf 71236e67e6fd095c771f9312cbae0382 /etc/fwupd/remotes.d/lvfs-testing.conf 4824e799a039c39ea2dc867481fdb27c /etc/fwupd/remotes.d/lvfs.conf be0d3bab64a0612823e66788808fe2c0 /etc/fwupd/remotes.d/vendor-directory.conf f65a59cfb87730fb523910f492dbceb6 /etc/fwupd/remotes.d/vendor.conf b54e960f98c71d49af9421cf8e9cf7b9 /etc/fwupd/thunderbolt.conf daeeb8ccea6a5709b70a4fa7d50dace2 /etc/fwupd/uefi.conf 35e1a2257dc1cbeda48f1c225be73d30 /etc/fwupd/upower.conf 101e62f86b3fc2947723bbf6cd7f8e66 /etc/pki/fwupd-metadata/GPG-KEY-Linux-Foundation-Metadata 2ace8894994764ae32e391bc0c68e398 /etc/pki/fwupd-metadata/GPG-KEY-Linux-Vendor-Firmware-Service 5abbdc42a8e3d9e60039ab658700ec71 /etc/pki/fwupd-metadata/LVFS-CA.pem d9dff488bd9051268984da014f0be43d /etc/pki/fwupd/GPG-KEY-Hughski-Limited 885ac785ffef40dfcc4f8ea765fa07d4 /etc/pki/fwupd/GPG-KEY-Linux-Foundation-Firmware de0622638572a2f6a6e29fa83f387eea /etc/pki/fwupd/GPG-KEY-Linux-Vendor-Firmware-Service 5abbdc42a8e3d9e60039ab658700ec71 /etc/pki/fwupd/LVFS-CA.pem d9dff488bd9051268984da014f0be43d /etc/update-motd.d/85-fwupd f8d4f2d80b40283ddce1445a5f0ffd35 Description-en: Firmware update daemon 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 Homepage: https://github.com/fwupd/fwupd Original-Maintainer: Debian EFI [email protected]

Package: fwupd Architecture: amd64 Version: 1.3.9-4ubuntu0.1 Multi-Arch: foreign Priority: optional Section: admin Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian EFI [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 5648 Provides: fwupdate Depends: libc6 (>= 2.17), libefiboot1 (>= 37), libefivar1 (>= 37), libelf1 (>= 0.142), libfwupd2 (>= 1.3.7), libfwupdplugin1 (>= 1.3.9), libglib2.0-0 (>= 2.63.3), libgnutls30 (>= 3.6.12), libgpg-error0 (>= 1.14), libgpgme11 (>= 1.2.0), libgudev-1.0-0 (>= 146), libgusb2 (>= 0.3.1), libjson-glib-1.0-0 (>= 1.2.0), libpolkit-gobject-1-0 (>= 0.99), libsmbios-c2, libsoup2.4-1 (>= 2.41.90), libsqlite3-0 (>= 3.5.9), libtss2-esys0 (>= 2.3.1), libxmlb1 (>= 0.1.13), shared-mime-info Recommends: python3, bolt, fwupd-signed Conflicts: fwupdate-amd64-signed, fwupdate-arm64-signed, fwupdate-armhf-signed, fwupdate-i386-signed Breaks: gir1.2-dfu-1.0 (« 0.9.7-1), libdfu-dev (« 0.9.7-1), libdfu1 (« 0.9.7-1) Replaces: fwupdate (« 12-7), gir1.2-dfu-1.0 (« 0.9.7-1), libdfu-dev (« 0.9.7-1), libdfu1 (« 0.9.7-1) Filename: pool/main/f/fwupd/fwupd_1.3.9-4ubuntu0.1_amd64.deb Size: 2088780 MD5sum: 03676a586b3b7af77095658bd6fcaf48 SHA1: cccdb0ddc07bd50cb97384275e95057ba33f617a SHA256: c685f514036f6bfce81f3b537be929a927cbf7091b7c2d7fe67e013d3a1f5dae SHA512: d3710d2034543851c28e559d3afa77c198b2181b1972ef9a7b6757894a87729961da9a2fd286afe8f07c28efffbf3db438717ace10e26860d7e0695a1ff554ff Homepage: https://github.com/fwupd/fwupd Description-en: Firmware update daemon 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 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: fwupd Architecture: amd64 Version: 1.3.9-4 Multi-Arch: foreign Priority: optional Section: admin Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian EFI [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 5648 Provides: fwupdate Depends: libc6 (>= 2.17), libefiboot1 (>= 37), libefivar1 (>= 37), libelf1 (>= 0.142), libfwupd2 (>= 1.3.7), libfwupdplugin1 (>= 1.3.9), libglib2.0-0 (>= 2.63.3), libgnutls30 (>= 3.6.12), libgpg-error0 (>= 1.14), libgpgme11 (>= 1.2.0), libgudev-1.0-0 (>= 146), libgusb2 (>= 0.3.1), libjson-glib-1.0-0 (>= 1.2.0), libpolkit-gobject-1-0 (>= 0.99), libsmbios-c2, libsoup2.4-1 (>= 2.41.90), libsqlite3-0 (>= 3.5.9), libtss2-esys0 (>= 2.3.1), libxmlb1 (>= 0.1.4), shared-mime-info Recommends: python3, bolt, fwupd-signed Conflicts: fwupdate-amd64-signed, fwupdate-arm64-signed, fwupdate-armhf-signed, fwupdate-i386-signed Breaks: gir1.2-dfu-1.0 (« 0.9.7-1), libdfu-dev (« 0.9.7-1), libdfu1 (« 0.9.7-1) Replaces: fwupdate (« 12-7), gir1.2-dfu-1.0 (« 0.9.7-1), libdfu-dev (« 0.9.7-1), libdfu1 (« 0.9.7-1) Filename: pool/main/f/fwupd/fwupd_1.3.9-4_amd64.deb Size: 2088452 MD5sum: 981d1cf38dc1b11b262aae9c1838e76a SHA1: 0406b3b130ad8534e2e9580a3d9919edd14ad18f SHA256: a2cd43ea6291756eca561f96abd773bf25beaf10eef4f79a2a387e816da8d64c Homepage: https://github.com/fwupd/fwupd Description-en: Firmware update daemon 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 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 fwupd 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 fwupd Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install fwupd

Install fwupd Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install fwupd

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

sudo aptitude -y install fwupd

How To Uninstall fwupd on Ubuntu 20.04

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

sudo apt-get remove fwupd

Uninstall fwupd And Its Dependencies

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

sudo apt-get -y autoremove fwupd

Remove fwupd Configurations and Data

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

sudo apt-get -y purge fwupd

Remove fwupd configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge fwupd

References

Summary

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