How To Install mlir on Fedora 36

In this tutorial we learn how to install mlir in Fedora 36. mlir is Multi-Level Intermediate Representation Overview

Introduction

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

What is mlir

The MLIR project is a novel approach to building reusable and extensible compiler infrastructure. MLIR aims to address software fragmentation, improve compilation for heterogeneous hardware, significantly reduce the cost of building domain specific compilers, and aid in connecting existing compilers together.

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

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

sudo dnf -y install mlir

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

sudo yum -y install mlir

How To Uninstall mlir on Fedora 36

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

sudo dnf remove mlir

mlir Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/29
/usr/lib/.build-id/29/c8cc42675f0cb00528e3618b39be4e758cf370
/usr/lib/.build-id/ee
/usr/lib/.build-id/ee/0516d02d638eca684c659400b0eef6dc463c2c
/usr/lib64/libMLIR-C.so.14
/usr/lib64/libMLIR.so.14
/usr/share/licenses/mlir
/usr/share/licenses/mlir/LICENSE.TXT

References

Summary

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


title: “How To Install mlir on Fedora 36” linkTitle: “mlir” type: “docs” description: “In this tutorial we learn how to install mlir in Fedora 36. mlir is Multi-Level Intermediate Representation Overview” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/mlir-featured.png

Introduction

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

What is mlir

The MLIR project is a novel approach to building reusable and extensible compiler infrastructure. MLIR aims to address software fragmentation, improve compilation for heterogeneous hardware, significantly reduce the cost of building domain specific compilers, and aid in connecting existing compilers together.

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

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

sudo dnf -y install mlir

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

sudo yum -y install mlir

How To Uninstall mlir on Fedora 36

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

sudo dnf remove mlir

mlir Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/07
/usr/lib/.build-id/07/580f47b888892dc2b20820114b186f0ede3747
/usr/lib/.build-id/ff
/usr/lib/.build-id/ff/bd999aff6600b7a0a1fc76de6c37d2fea2ab95
/usr/lib/libMLIR-C.so.14
/usr/lib/libMLIR.so.14
/usr/share/licenses/mlir
/usr/share/licenses/mlir/LICENSE.TXT

References

Summary

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