How To Install llvm11 on CentOS 7
Introduction
In this tutorial we learn how to install llvm11
on CentOS 7.
What is llvm11
LLVM is a compiler infrastructure designed for compile-time, link-time, runtime, and idle-time optimization of programs from arbitrary programming languages. The compiler infrastructure includes mirror sets of programming tools as well as libraries with equivalent functionality.
We can use yum
or dnf
to install llvm11
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install llvm11.
Install llvm11 on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install llvm11
using yum
by running the following command:
Install llvm11 on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install llvm11
using dnf
by running the following command:
How To Uninstall llvm11 on CentOS 7
To uninstall only the llvm11
package we can use the following command:
References
Summary
In this tutorial we learn how to install llvm11
on CentOS 7 using yum
and dnf
.