How to Install and Uninstall clang.x86_64 Package on Amazon Linux 2

Last updated: February 06,2025

1. Install "clang.x86_64" package

In this section, we are going to explain the necessary steps to install clang.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install clang.x86_64

2. Uninstall "clang.x86_64" package

Please follow the instructions below to uninstall clang.x86_64 on Amazon Linux 2:

$ sudo yum remove clang.x86_64 $ sudo yum autoremove

3. Information about the clang.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : clang
Arch : x86_64
Version : 11.1.0
Release : 1.amzn2.0.2
Size : 85 k
Repo : amzn2-core/2/x86_64
Summary : A C language family front-end for LLVM
URL : http://llvm.org
License : NCSA
Description : clang: noun
: 1. A loud, resonant, metallic sound.
: 2. The strident call of a crane or goose.
: 3. C-language family front-end toolkit.
:
: The goal of the Clang project is to create a new C, C++, Objective
: C and Objective C++ front-end for the LLVM compiler. Its tools are
: built as libraries and designed to be loosely-coupled and
: extensible.
:
: Install compiler-rt if you want the Blocks C language extension or
: to enable sanitization and profiling options when building, and
: libomp-devel to enable -fopenmp.