From 4d797debccba9e29470064b967c80ff6ae2fc18c Mon Sep 17 00:00:00 2001 From: Ming Di Leom <2809763-curben@users.noreply.gitlab.com> Date: Fri, 18 Jul 2025 12:12:08 +0000 Subject: [PATCH] micropost: 18 July 2025 --- source/_posts/2025-07-18.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 source/_posts/2025-07-18.md 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]().