Check for installed 32-bit applications on system? Good idea to remove all lib32*?
-
If I want to check for installed 32-bit applications or packages on system, what's the best way to go about it?
ls -al /var/cache/pacman/pkg | grep i686checks for cache(?), but that's not ideal because cache might have been cleaned. -
If no 32-bit packages are installed, that means it's safe to disable the default Arch repo
multilib? No caveats, since I can always enable it if I need to explicitly install 32-bit applications, right? -
Does that mean I never need to install 32-bit package counterpart, e.g. there are packages like vulkan-radeon and lib32-vulkan-radeon, and libva-mesa-driver and lib32-libva-mesa-driver--I only need to install packages without the prefix
lib32-for any packages which also have this prefix? Or is that not necessarily the case and I might wantlib32-<package>along with<package>at times? Assuming I have a 64-bit processor, which I do. -
Would it be correct to assume that on a 64-bit system, any lib32* packages installed also have a 64-bit counterpart of the same name without the
lib32-prefix installed? Would it be a good idea to remove all lib32* packages on my system, which I assume were only installed alongside their 64-bit package counterpart since I hadmultilibrepo enabled originally when I installed Arch?
Much appreciated.
About this post
- Posted
- Archived
- Score
- 0 · 100% up
- Kind
- Text
- ID
- az0eb9
1 comment
You could check for all packages installed from multilib using
pacman -Sl multilib | grep -F '[installed]'. Note that this does not include 32bit packages installed from the AUR.Yes, it is safe.
lib32-packages are only required by 32bit applications, which are increasingly rare. (Wine and steam are notable exceptions)If you do not intend to run 32bit applications that require the specific library, there is no need for the
lib32-package. Generally, there is no reason to explicitly installlib32-packages as pacman is handling dependencies for you.lib32-packages are only installed as dependencies for 32bit packages. They are not automatically installed as counterparts for 64bit libraries/packages. You can list packages that are no longer required by any other (explicitly installed) packages usingpacman -Qdt.I haven’t used the multilib repository or any
lib32-packages for years, so this is definitely possible.