Jump to content

Fwupd: Difference between revisions

From Official NixOS Wiki
DHCP (talk | contribs)
m remove unwanted space from a link
DHCP (talk | contribs)
m Use syntaxhighlight=console for shell commands
 
Line 15: Line 15:
To display all devices detected by ''fwupd'':
To display all devices detected by ''fwupd'':


$ fwupdmgr get-devices
<syntaxhighlight lang=console>
$ fwupdmgr get-devices
</syntaxhighlight>


{{Note|Listed devices may not be updatable through ''fwupd'' (''e.g.'' Intel integrated graphics). Alternative vendor solutions may be provided instead.}}
{{Note|Listed devices may not be updatable through ''fwupd'' (''e.g.'' Intel integrated graphics). Alternative vendor solutions may be provided instead.}}
Line 21: Line 23:
To download the latest metadata from the [https://fwupd.org/ Linux Vendor Firmware Service (LVFS)]:
To download the latest metadata from the [https://fwupd.org/ Linux Vendor Firmware Service (LVFS)]:


$ fwupdmgr refresh
<syntaxhighlight lang=console>
$ fwupdmgr refresh
</syntaxhighlight>


To list updates available for any devices on the system:
To list updates available for any devices on the system:


$ fwupdmgr get-updates
<syntaxhighlight lang=console>
$ fwupdmgr get-updates
</syntaxhighlight>


To install updates:
To install updates:


$ fwupdmgr update
<syntaxhighlight lang=console>
$ fwupdmgr update
</syntaxhighlight>


{{Note|
{{Note|

Latest revision as of 14:26, 19 July 2026

fwupd is a simple daemon allowing you to update some devices' firmware, including UEFI for several machines.

Supported devices are listed here and more are to come.

Installation

To use and install fwup daemon and user space client, add following part to your config:

services.fwupd.enable = true;

Usage

To display all devices detected by fwupd:

$ fwupdmgr get-devices
Note: Listed devices may not be updatable through fwupd (e.g. Intel integrated graphics). Alternative vendor solutions may be provided instead.

To download the latest metadata from the Linux Vendor Firmware Service (LVFS):

$ fwupdmgr refresh

To list updates available for any devices on the system:

$ fwupdmgr get-updates

To install updates:

$ fwupdmgr update
Note:
  • Updates that can be applied live will be done immediately.
  • Updates that run at bootup will be staged for the next reboot.
  • The root user may be required to perform certain device updates.