Suggest remove lib32* from minimal

The 32 bit libraries can be removed from a fresh install of the KDE Plasma minimal edition with pamac remove --unneeded --orphans lib32*. I suggest that they should be removed from the minimal edition because they are not required by any installed programs, and pamac will install them as dependencies if the user installs something that needs 32 bit.

2 posts were split to a new topic: Use Octopi instead of Pamac in KDE Plasma

Which lib32- packages are we talking about here?

All the lib32 packages in the minimal Plasma edition. None of them are marked as installed as a dependency.
List from manjaro-kde-23.0-minimal-230903-linux65.iso.pkgs:
lib32-alsa-lib
lib32-brotli
lib32-bzip2
lib32-cairo
lib32-curl
lib32-dbus
lib32-e2fsprogs
lib32-expat
lib32-flac
lib32-fontconfig
lib32-freeglut
lib32-freetype2
lib32-fribidi
lib32-gcc-libs
lib32-glew
lib32-glib2
lib32-glibc
lib32-glu
lib32-harfbuzz
lib32-icu
lib32-keyutils
lib32-krb5
lib32-libasyncns
lib32-libcanberra
lib32-libcap
lib32-libdatrie
lib32-libdecor
lib32-libdrm
lib32-libelf
lib32-libffi
lib32-libgcrypt
lib32-libglvnd
lib32-libgpg-error
lib32-libice
lib32-libidn2
lib32-libldap
lib32-libltdl
lib32-libogg
lib32-libpciaccess
lib32-libpng
lib32-libpsl
lib32-libpulse
lib32-libsm
lib32-libsndfile
lib32-libssh2
lib32-libthai
lib32-libtirpc
lib32-libunistring
lib32-libunwind
lib32-libva
lib32-libva-intel-driver
lib32-libva-mesa-driver
lib32-libva-vdpau-driver
lib32-libvdpau
lib32-libvorbis
lib32-libx11
lib32-libxau
lib32-libxcb
lib32-libxcrypt
lib32-libxdamage
lib32-libxdmcp
lib32-libxext
lib32-libxfixes
lib32-libxft
lib32-libxi
lib32-libxkbcommon
lib32-libxkbcommon-x11
lib32-libxml2
lib32-libxmu
lib32-libxrandr
lib32-libxrender
lib32-libxshmfence
lib32-libxt
lib32-libxtst
lib32-libxxf86vm
lib32-llvm-libs
lib32-lm_sensors
lib32-mesa
lib32-mesa-demos
lib32-ncurses
lib32-openssl
lib32-opus
lib32-pam
lib32-pango
lib32-pcre2
lib32-pixman
lib32-systemd
lib32-tdb
lib32-util-linux
lib32-vulkan-icd-loader
lib32-wayland
lib32-xz
lib32-zlib
lib32-zstd

I think this is because the iso-profile states as being multilib.

This causes the packages tagged as >multilib in the Packages-Desktop to be installed even if not needed.

Changing the default setting to `multilib=“false” will prevent lib32 being added if not a dependency of another package

multilib="false"

Is building an ISO with multilib=“false” something I should do, or is your answer directed at the team building ISOs?

I cannot log in to gitlab.manjaro.org with my github account, and when I log in to gitlab.com via github, gitlab.manjaro.org ignores it. I do not have any programming skills, so it is probably better for Manjaro that I stay away :wink:

He’s addressing anyone who wants to create their own ISO, and perhaps the people releasing the minimal ISOs.

You can purge the multilib stuff from your system, if you want. Both @linux-aarhus and I have done it. Just uninstall all lib32- packages and remove the [multilib] section from /etc/pacman.conf.

Do however note that some packages do still install 32-bit compatibility stuff, and that this cannot be removed because it’s included in the package itself. gcc is one of those things.

Removing the [multilib] repo is not advisable as it may create other issues.

One example is my printer - a Brother HL-L8260cdw - as the driver has a dependency on lib32-glibc.

Another example where the package requires lib32 packages is steam.

It should not be necessary to remove the multilib repo from /etc/pacman.conf , just set multilib=“false” in profile.conf for the minimal ISO. @Aragorn: Yes, I am addressing the people releasing the minimal ISOs.

Removing the lib32-packages from an installed minimal edition is easy, but when the packages are not required by anything, they needlessly take up space in the ISO and on disk.

Regarding gcc, lib32-gcc-libs is an optional dependency, and gcc works perfectly on my installation without lib32-gcc-libs.

@linux-aarhus: installing you printer driver or the steam package would install the required lib32-packages when the multilib repo is in /etc/pacman.conf, right?

Yes - that is why I keep the multilib repo enabled.

There is no separate profile for the minimal ISO - there is only one - the differentiaing is done with tags in the package lists.

My isos are bulid with multilib=“false”, nonfree_mhwd=“false”, mhwd_used=“false” and no Packages-Mhwd.

This gives me minimal ISOs with the least amount of storage.

I just installed manjaro-kde-23.0-230903-linux65.iso to a virtual machine and ran pamac remove --unneeded --orphans "lib32*" 2>&1 | tee removing.txt , and all lib32-packages were removed without complaints. I think that implies that nothing installed needs the lib32-packages, and that they could be removed from the ISOs by setting multilib=“false” in profile.conf for the Plasma ISO. I have not looked at the other desktops.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.