How To Install gcc-c++-m32r-linux-gnu on Fedora 36

In this tutorial we learn how to install gcc-c++-m32r-linux-gnu in Fedora 36. gcc-c++-m32r-linux-gnu is Cross-build binary utilities for m32r-linux-gnu

Introduction

In this tutorial we learn how to install gcc-c++-m32r-linux-gnu on Fedora 36.

What is gcc-c++-m32r-linux-gnu

Cross-build GNU C++ compiler. Only the compiler is provided; not libstdc++. Support for cross-building user space programs is not currently provided as that would massively multiply the number of packages.

We can use yum or dnf to install gcc-c++-m32r-linux-gnu on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install gcc-c++-m32r-linux-gnu.

Install gcc-c++-m32r-linux-gnu on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install gcc-c++-m32r-linux-gnu using dnf by running the following command:

sudo dnf -y install gcc-c++-m32r-linux-gnu

Install gcc-c++-m32r-linux-gnu on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install gcc-c++-m32r-linux-gnu using yum by running the following command:

sudo yum -y install gcc-c++-m32r-linux-gnu

How To Uninstall gcc-c++-m32r-linux-gnu on Fedora 36

To uninstall only the gcc-c++-m32r-linux-gnu package we can use the following command:

sudo dnf remove gcc-c++-m32r-linux-gnu

gcc-c++-m32r-linux-gnu Package Contents on Fedora 36

/usr/bin/m32r-linux-gnu-c++
/usr/bin/m32r-linux-gnu-g++
/usr/lib/.build-id
/usr/lib/.build-id/91/9c2b5ac1a86c2eeb4f57380b1aa6d589670def
/usr/lib/.build-id/91/9c2b5ac1a86c2eeb4f57380b1aa6d589670def.1
/usr/lib/.build-id/c8
/usr/lib/.build-id/c8/980149ef622ed959441006778279a784a4fc6e
/usr/libexec/gcc/m32r-linux-gnu/11/cc1plus
/usr/share/man/man1/m32r-linux-gnu-g++.1.gz

References

Summary

In this tutorial we learn how to install gcc-c++-m32r-linux-gnu on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).