PDA

View Full Version : Do I need both intel-microcode and amd64-microcode



sunbear-c22
January 11th, 2019, 08:22 AM
For my systems with Intel CPU, I noticed that Ubuntu 16.04 and 18.04 distros will install the packages `intel-microcode` and `amd64-microcode`. What is the benefit of having both these packages installed? Should I remove the `amd64-microcode` given that I am not using an AMD CPU but an INTEL CPU?



$ uname -rsvp
Linux 4.10.0-42-generic #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 UTC 2017 x86_64

deadflowr
January 11th, 2019, 08:33 AM
It doesn't matter, removing one will just reinstall it later.
They're dependencies of kernel updates.

It won't be of any added benefit, but also it doesn't hurt either.
It's inaffective and the space it eats is negligible (around less than 2 megabytes)

Impavidus
January 11th, 2019, 04:58 PM
I don't know the specifics of these packages, but normally AMD64 refers to the AMD64 architecture, which is the 64 bit architecture invented by AMD but used by both AMD and Intel CPUs.

deadflowr
January 11th, 2019, 06:12 PM
In most cases we refer to amd64 as the arch=type (64-bit), but in this particular case it actually does refer to cpu brand.

Also more on why it's now a default depends of the linux-meta packages (meta packages being linux-generic and the linux-image-generic/latency packages):
https://bugs.launchpad.net/ubuntu/+source/linux-meta/+bug/1738259
And that has to do with Meltdown/Spectre:
https://wiki.ubuntu.com/SecurityTeam/KnowledgeBase/SpectreAndMeltdown

sunbear-c22
January 14th, 2019, 10:25 AM
Thank you @deadflower and @Impavidus.

dondymenelo
January 16th, 2019, 07:44 AM
I Agree! if you're using AMD architecture you should always go what's compatible on it otherwise there will be a problem. Not sure though what those updates do.