Trying to install g++-multilib but always fails

So I am trying to install gc+±multilib to work with 32 bit software but always ends up failing to install, i have multilib unhashed in the /etc/pacman.conf file and yet it still cannot install it. Seems strange so then I did not know what to do and asked AI for help, and the AI is confused too, so now im here looking for professional help. (Also here is system information https://0x0.st/KLQg.txt)
Command input and output:
[youme28372@bilo-galtic ~]$ sudo pacman -S --needed git premake base-devel
gcc-multilib g+±multilib
libglvnd mesa
warning: git-2.51.2-2 is up to date – skipping
warning: premake-5.0beta7-1 is up to date – skipping
warning: base-devel-1-2 is up to date – skipping
warning: gcc-15.2.1+r22+gc4e96a094636-1 is up to date – skipping
error: target not found: g+±multilib
warning: libglvnd-1.7.0-3 is up to date – skipping
warning: mesa-1:25.2.6-1 is up to date – skipping

Please post the command you have used plus the entire output from the terminal.

[youme28372@bilo-galtic ~]$ sudo pacman -S --needed git premake base-devel
gcc-multilib g+±multilib
libglvnd mesa
warning: git-2.51.2-2 is up to date – skipping
warning: premake-5.0beta7-1 is up to date – skipping
warning: base-devel-1-2 is up to date – skipping
warning: gcc-15.2.1+r22+gc4e96a094636-1 is up to date – skipping
error: target not found: g+±multilib
warning: libglvnd-1.7.0-3 is up to date – skipping
warning: mesa-1:25.2.6-1 is up to date – skipping
(gonna add it to the post too)

This package doesn’t seem to be in the repos. Are you sure you have got the name correctly?

Yes, I am certain “g+±multilib” is the name, as I need the C++ compiler and g+±multilib is the thing I am trying to install.

Perhaps gcc-compiler includes this already and I am not looking into it?

Perhaps you need:

This an optional dependency of:

Ah, I needed the lib32 installed, and now when I run g++ - -version I get:

[youme28372@bilo-galtic ~]$ g++ --version
g++ (GCC) 15.2.1 20250813
Copyright (C) 2025 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

(tysm cactux [also see the tux reference i love it])

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