diff --git a/source/_posts/2025-07-18.md b/source/_posts/2025-07-18.md new file mode 100644 index 0000000..b0b02c1 --- /dev/null +++ b/source/_posts/2025-07-18.md @@ -0,0 +1,12 @@ +--- +title: linux-firmware meta package on Arch Linux +date: 2025-07-18 +--- + +Arch Linux [linux-firmware](https://archlinux.org/packages/core/any/linux-firmware/) is now a meta package. Its derivative Manjaro renamed it to linux-firmware-meta. The default set covers a wide range of firmwares that may not be applicable to most devices and can be trimmed down. + +1. Remove the meta package, `pacman -Rn linux-firmware` +2. Identify device manufacturer, `lspci` +3. Remove irrelevant firmware, e.g. if Nvidia device is not installed, `pacman -Rns linux-firmware-nvidia` +4. Mark the necessary firmware as explicitly installed, `pacman -D --asexplicit $(pacman -Qs -q linux-firmware | sed -z 's|\n| |g')` + - This is necessary to avoid removing them when [removing orphans]().