fwupdmgr is a command-line tool for updating device firmware, including UEFI (Unified Extensible Firmware Interface), using fwupd. fwupd is a firmware update daemon for Linux-based systems, which can handle updates for a wide range of devices, including laptops, desktops, servers, and embedded systems. fwupdmgr is designed to make it easy for users to update the firmware of their devices. It can automatically check for updates, download them, and apply them to the device. It can also be used to list available updates, check the status of updates, and rollback to previous firmware versions.
The tool is designed to be secure, it uses GPG digital signatures to verify the authenticity of firmware updates before applying them. It also allows the system administrator to configure update servers, and to use a local mirror for firmware updates. fwupdmgr is widely available on most Linux-based systems, and it can be used to update a wide range of devices, including laptops, desktops, servers, and embedded systems. It can also be used in conjunction with other tools and scripts to automate the firmware update process.
If you encounter the below error while running the command fwupdmgr:
fwupdmgr: command not found
you may try installing the below package as per your choice of distribution:
Distribution | Command |
---|---|
Debian | apt-get install fwupd |
Ubuntu | apt-get install fprintd |
Arch Linux | pacman -S fwupd |
Kali Linux | apt-get install fwupd |
CentOS | yum install fwupd |
Fedora | dnf install fwupd |
Raspbian | apt-get install fwupd |
fwupdmgr Command Examples
1. Display all devices detected by fwupd:
# fwupdmgr get-devices
2. Download the latest firmware metadata from LVFS:
# fwupdmgr refresh
3. List the updates available for devices on your system:
# fwupdmgr get-updates
4. Install firmware updates:
# fwupdmgr update