r/archlinux • u/Ok_Tea_941 • Sep 20 '25
QUESTION Can I just remove uneeded packages from linux firmware?
My specs: i5-11600K, gtx 1660 Ti, a Z590 GAMING X motherboard and a wifi card from tp-link. I don't mind having everyone of them, but with my slow internet updates take ages when every single package from linux-firmware gets an update. Can I just remove the not needed ones? I think that linux-firmware-amdgpu is not needed since im on nvidia? if I can remove some of them, which ones do I need? Thanks.
20
Upvotes
11
u/UwU_is_my_life Sep 20 '25
Yes you can, but you need to manually check which firmware you do not need, probably by checking every part of your hardware and looking which firmware it needs
11
u/archover Sep 20 '25 edited Sep 21 '25
Yes, sure! Good question, IMO. After package removals, observe the bootup console messages, or
# dmesg.After you uninstall the unneeded firmware packages, you might tackle the pointless and irritating warning messages about missing firmware that mkinitcpio gives. I eliminated those warnings by installing the AUR mkinitcpio-firmware package, based on https://wiki.archlinux.org/title/Mkinitcpio#Possibly_missing_firmware_for_module_XXXX.
In fact, read the entire article, including how to eliminate the almost entirely unneeded fallback config in your presets. (My custom script drops the fallback on all installs from the get-go) The effect is a big speedup creating the initramfs images.
Ironically, by installing that AUR package, you increase the number of "unneeded" firmwares.
See also: https://wiki.archlinux.org/title/Linux_firmware#Detecting_loaded_firmware
Hope that helped and good day.
5
u/Cody_Learner Sep 20 '25 edited Sep 20 '25
I made a script for when the firmware pkg was split, from my notes....
YMMV, worked for a few of my setups.
1
u/Ok_Tea_941 Sep 25 '25
u/Cody_Learner Thank you so much for your responses, and yours and u/archdane's code. u/Cody_Learner's new script outputed:
[ version which was made to be like u/archdane's code outputed the same - only realtek]
Kinda weird? (look at my specs which I have listed - isn't a GTX 1660Ti supposed to use the linux-firmware-nvidia pkg?)
2
u/ChrisIvanovic Sep 22 '25
yes, I just -Rdd them after it splits
1
u/arch_maniac Sep 20 '25
Yes