How To Install llvm12-libs on Fedora 36

In this tutorial we learn how to install llvm12-libs in Fedora 36. llvm12-libs is LLVM shared libraries

Introduction

In this tutorial we learn how to install llvm12-libs on Fedora 36.

What is llvm12-libs

Shared libraries for the LLVM compiler infrastructure.

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

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

sudo dnf -y install llvm12-libs

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

sudo yum -y install llvm12-libs

How To Uninstall llvm12-libs on Fedora 36

To uninstall only the llvm12-libs package we can use the following command:

sudo dnf remove llvm12-libs

llvm12-libs Package Contents on Fedora 36

---
title: "How To Install llvm12-libs on Fedora 36"
linkTitle: "llvm12-libs"
type: "docs"
description: "In this tutorial we learn how to install llvm12-libs in Fedora 36. llvm12-libs is LLVM shared libraries"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/llvm12-libs-featured.png
---

## Introduction

In this tutorial we learn how to install `llvm12-libs` on Fedora 36.

### What is `llvm12-libs`

> Shared libraries for the LLVM compiler infrastructure.  

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

## Install llvm12-libs on Fedora 36 Using dnf

Update yum database with `dnf` using the following command.

```bash
sudo dnf makecache --refresh

After updating yum database, We can install llvm12-libs using dnf by running the following command:

sudo dnf -y install llvm12-libs

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

sudo yum -y install llvm12-libs

How To Uninstall llvm12-libs on Fedora 36

To uninstall only the llvm12-libs package we can use the following command:

sudo dnf remove llvm12-libs

llvm12-libs Package Contents on Fedora 36

/etc/ld.so.conf.d/llvm12-x86_64.conf
/usr/lib/.build-id
/usr/lib/.build-id/44
/usr/lib/.build-id/44/19494ce23b061dc70f072736d844946b0cba88
/usr/lib/.build-id/45
/usr/lib/.build-id/45/fb2a431e4b011cf4498f64c933105ca63647e7
/usr/lib/.build-id/4d
/usr/lib/.build-id/4d/a3e750e27e2b807dd7a3158786fbfffa067a41
/usr/lib/.build-id/92/f8b8aafcefe8f25768c37e16635b8d23e363a5
/usr/lib64/llvm12/lib/LLVMgold.so
/usr/lib64/llvm12/lib/libLLVM-12.0.1.so
/usr/lib64/llvm12/lib/libLLVM-12.so
/usr/lib64/llvm12/lib/libLTO.so.12
/usr/lib64/llvm12/lib/libRemarks.so
/usr/lib64/llvm12/lib/libRemarks.so.12
/usr/share/licenses/llvm12-libs
/usr/share/licenses/llvm12-libs/LICENSE.TXT

References

Summary

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

/etc/ld.so.conf.d/llvm12-i386.conf /usr/lib/.build-id /usr/lib/.build-id/1d /usr/lib/.build-id/1d/ba4f1acef4aae1ffb304ac41e91abeba3cf5a8 /usr/lib/.build-id/67/5d087abcf870f0e13ff16c7214a73d80057198 /usr/lib/.build-id/7d /usr/lib/.build-id/7d/0c962e9db478a3a142624829c061630260d1cd /usr/lib/.build-id/f9/7110d5c0ca71703ccd429120467434ba3b60f2 /usr/lib/llvm12/lib/LLVMgold.so /usr/lib/llvm12/lib/libLLVM-12.0.1.so /usr/lib/llvm12/lib/libLLVM-12.so /usr/lib/llvm12/lib/libLTO.so.12 /usr/lib/llvm12/lib/libRemarks.so /usr/lib/llvm12/lib/libRemarks.so.12 /usr/share/licenses/llvm12-libs /usr/share/licenses/llvm12-libs/LICENSE.TXT


## References

* [llvm12-libs website](http://llvm.org)

## Summary

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