Linux Requirements

Unless the "fips" feature is enabled, building aws-lc-rs v1.7.0 (or later) for the following targets should only require a C/C++ compiler.

Platformdefaultfipsbindgen required?
aarch64-unknown-linux-gnuC/C++ CompilerC/C++ Compiler, CMake & GoNo
aarch64-unknown-linux-muslC/C++ CompilerC/C++ Compiler, CMake & GoNo
x86_64-unknown-linux-gnuC/C++ CompilerC/C++ Compiler, CMake & GoNo
x86_64-unknown-linux-muslC/C++ CompilerC/C++ Compiler, CMake & GoNo
i686-unknown-linux-gnuC/C++ CompilerNot SupportedNo
OtherC/C++ Compiler & CMakeNot SupportedYes

C/C++ Compiler

Amazon Linux (AL2023)

sudo dnf groupinstall -y "Development Tools"

Ubuntu (22.04 LTS)

sudo apt-get install -y build-essential

CMake & Go

Amazon Linux (AL2023)

sudo dnf install -y cmake golang

Ubuntu (22.04 LTS)

sudo apt-get install -y cmake golang


On most platforms, bindgen requires libclang or llvm package to be installed. See the requirements page in The bindgen User Guide for instructions.

libclang / LLVM

Amazon Linux (AL2023)

sudo dnf install -y clang-libs

Ubuntu (22.04 LTS)

sudo apt-get install -y libclang1


cargo install --force --locked bindgen-cli


See our troubleshooting section.