How To Install libcxx on Fedora 36

In this tutorial we learn how to install libcxx in Fedora 36. libcxx is C++ standard library targeting C++11

Introduction

In this tutorial we learn how to install libcxx on Fedora 36.

What is libcxx

libc++ is a new implementation of the C++ standard library, targeting C++11.

We can use yum or dnf to install libcxx on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libcxx.

Install libcxx 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 libcxx using dnf by running the following command:

sudo dnf -y install libcxx

Install libcxx 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 libcxx using yum by running the following command:

sudo yum -y install libcxx

How To Uninstall libcxx on Fedora 36

To uninstall only the libcxx package we can use the following command:

sudo dnf remove libcxx

libcxx Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/48
/usr/lib/.build-id/48/a90dcfbc03f81428d0f1f6618e8154cf43e36e
/usr/lib64/libc++.so.1
/usr/lib64/libc++.so.1.0
/usr/share/doc/libcxx
/usr/share/doc/libcxx/CREDITS.TXT
/usr/share/doc/libcxx/TODO.TXT
/usr/share/licenses/libcxx
/usr/share/licenses/libcxx/LICENSE.TXT

References

Summary

In this tutorial we learn how to install libcxx on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).


title: “How To Install libcxx on Fedora 36” linkTitle: “libcxx” type: “docs” description: “In this tutorial we learn how to install libcxx in Fedora 36. libcxx is C++ standard library targeting C++11” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/libcxx-featured.png

Introduction

In this tutorial we learn how to install libcxx on Fedora 36.

What is libcxx

libc++ is a new implementation of the C++ standard library, targeting C++11.

We can use yum or dnf to install libcxx on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libcxx.

Install libcxx 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 libcxx using dnf by running the following command:

sudo dnf -y install libcxx

Install libcxx 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 libcxx using yum by running the following command:

sudo yum -y install libcxx

How To Uninstall libcxx on Fedora 36

To uninstall only the libcxx package we can use the following command:

sudo dnf remove libcxx

libcxx Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/47
/usr/lib/.build-id/47/988e78f01682ef104a4661a0bdf6f75add9b3d
/usr/lib/libc++.so.1
/usr/lib/libc++.so.1.0
/usr/share/doc/libcxx
/usr/share/doc/libcxx/CREDITS.TXT
/usr/share/doc/libcxx/TODO.TXT
/usr/share/licenses/libcxx
/usr/share/licenses/libcxx/LICENSE.TXT

References

Summary

In this tutorial we learn how to install libcxx on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).