Skip to content
Closed
53 changes: 41 additions & 12 deletions content/install-guides/acfl.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,33 +142,62 @@ install takes place **after** ACfL, you will no longer be able to fully
uninstall ACfL.
{{% /notice %}}

## Download and install using System Packages - Ubuntu Linux
## Download and install using System Packages

### Ubuntu Linux 20.04 and 22.04

Arm Compiler for Linux is available to install with the Ubuntu system package manager `apt` command.

### Setup the ACfL package repository:
#### Set up the ACfL package repository

Add the ACfL `apt` package repository to your Ubuntu 20.04 or 22.04 system:

```bash { target="ubuntu:latest" }
sudo apt update
sudo apt install -y curl
source /etc/os-release
sudo apt install -y curl environment-modules python3 libc6-dev
. /etc/os-release
curl "https://developer.arm.com/packages/ACfL%3A${NAME}-${VERSION_ID/%.*/}/${VERSION_CODENAME}/Release.key" | sudo tee /etc/apt/trusted.gpg.d/developer-arm-com.asc
echo "deb https://developer.arm.com/packages/ACfL%3A${NAME}-${VERSION_ID/%.*/}/${VERSION_CODENAME}/ ./" | sudo tee /etc/apt/sources.list.d/developer-arm-com.list
sudo apt update
```

The ACfL Ubuntu package repository is now ready to use.

### Install ACfL
#### Install ACfL

Download and install Arm Compiler for Linux with:

```bash { target="ubuntu:latest" }
sudo apt install acfl
```

### Amazon Linux 2023

Arm Compiler for Linux is available to install with either the `dnf` or `yum` system package manager.

#### Install ACfL from the Amazon Linux 2023 package repository

Install ACfL and prerequisites from the Amazon Linux 2023 `rpm` package repository with `dnf`:

```bash
sudo dnf update
sudo dnf install 'dnf-command(config-manager)' procps psmisc make environment-modules
sudo dnf config-manager --add-repo https://developer.arm.com/packages/ACfL%3AAmazonLinux-2023/latest/ACfL%3AAmazonLinux-2023.repo
sudo dnf install acfl
```

Or using the equivalent `yum` commands:

```bash
sudo yum update
sudo yum install 'dnf-command(config-manager)' procps psmisc make environment-modules
sudo yum config-manager --add-repo https://developer.arm.com/packages/ACfL%3AAmazonLinux-2023/latest/ACfL%3AAmazonLinux-2023.repo
sudo yum install acfl
```

The ACfL tools are now ready to use.


### Set up environment

Arm Compiler for Linux uses environment modules to dynamically modify your user environment. Refer to the [Environment Modules documentation](https://lmod.readthedocs.io/en/latest/#id) for more information.
Expand All @@ -178,17 +207,17 @@ Set up the environment, for example, in your `.bashrc` and add module files.
#### Ubuntu Linux:

```bash { target="ubuntu:latest" }
echo "source /usr/share/modules/init/bash" >> ~/.bashrc
echo ". /usr/share/modules/init/bash" >> ~/.bashrc
echo "module use /opt/arm/modulefiles" >> ~/.bashrc
source ~/.bashrc
. ~/.bashrc
```

#### Red Hat Linux:
#### Red Hat or Amazon Linux:

```bash { target="fedora:latest" }
echo "source /usr/share/Modules/init/bash" >> ~/.bashrc
echo ". /usr/share/Modules/init/bash" >> ~/.bashrc
echo "module use /opt/arm/modulefiles" >> ~/.bashrc
source ~/.bashrc
. ~/.bashrc
```

To list available modules:
Expand Down Expand Up @@ -217,7 +246,7 @@ Arm Compiler for Linux is available with the [Spack](https://spack.io/) package

See the [Arm Compiler for Linux and Arm PL now available in Spack](https://community.arm.com/arm-community-blogs/b/high-performance-computing-blog/posts/arm-compiler-for-linux-and-arm-pl-now-available-in-spack) blog for full details.

### Setup Spack
### Set up Spack

Clone the Spack repository and add `bin` directory to the path:

Expand Down Expand Up @@ -248,7 +277,7 @@ If you wish to install just the Arm Performance Libraries, use:
spack install armpl-gcc
```

### Setup environment
### Set up environment
Use the commands below to set up the environment:

```console
Expand Down
94 changes: 94 additions & 0 deletions data/stats_weekly_data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4621,3 +4621,97 @@
avg_close_time_hrs: 0
num_issues: 10
percent_closed_vs_total: 0.0
- a_date: '2025-01-20'
content:
automotive: 2
cross-platform: 28
embedded-and-microcontrollers: 39
install-guides: 93
iot: 5
laptops-and-desktops: 33
mobile-graphics-and-gaming: 26
servers-and-cloud-computing: 97
total: 323
contributions:
external: 45
internal: 373
github_engagement:
num_forks: 30
num_prs: 13
individual_authors:
alaaeddine-chakroun: 2
alexandros-lamprineas: 1
annie-tallund: 1
arm: 3
arnaud-de-grandmaison: 1
arnaud-de-grandmaison,-paul-howard,-and-pareena-verma: 1
basma-el-gaabouri: 1
ben-clark: 1
bolt-liu: 2
brenda-strech: 1
chaodong-gong,-alex-su,-kieran-hejmadi: 1
chen-zhang: 1
christopher-seidl: 7
cyril-rohr: 1
daniel-gubay: 1
daniel-nguyen: 1
david-spickett: 2
dawid-borycki: 31
diego-russo: 1
diego-russo-and-leandro-nunes: 1
elham-harirpoush: 2
florent-lebeau: 5
"fr\xE9d\xE9ric--lefred--descamps": 2
gabriel-peterson: 5
gayathri-narayana-yegna-narayanan: 1
georgios-mermigkis-and-konstantinos-margaritis,-vectorcamp: 1
graham-woodward: 1
han-yin: 1
iago-calvo-lista,-arm: 1
james-whitaker,-arm: 1
jason-andrews: 96
joe-stech: 1
johanna-skinnider: 2
jonathan-davies: 2
jose-emilio-munoz-lopez,-arm: 1
julie-gaskin: 4
julio-suarez: 5
kasper-mecklenburg: 1
kieran-hejmadi: 1
koki-mitsunami: 2
konstantinos-margaritis: 7
kristof-beyls: 1
liliya-wu: 1
mathias-brossard: 1
michael-hall: 5
nikhil-gupta,-pareena-verma,-nobel-chowdary-mandepudi,-ravi-malhotra: 1
odin-shen: 1
owen-wu,-arm: 2
pareena-verma: 34
pareena-verma,-annie-tallund: 1
pareena-verma,-jason-andrews,-and-zach-lasiuk: 2
pareena-verma,-joe-stech,-adnan-alsinan: 1
paul-howard: 1
pranay-bakre: 4
pranay-bakre,-masoud-koleini,-nobel-chowdary-mandepudi,-na-li: 1
preema-merlin-dsouza: 1
przemyslaw-wirkus: 2
rin-dobrescu: 1
roberto-lopez-mendez: 2
ronan-synnott: 45
thirdai: 1
tianyu-li: 1
tom-pilar: 1
uma-ramalingam: 1
varun-chari,-albin-bernhardsson: 1
varun-chari,-pareena-verma: 1
visualsilicon: 1
willen-yang: 1
ying-yu: 1
ying-yu,-arm: 1
zach-lasiuk: 1
zhengjun-xing: 2
issues:
avg_close_time_hrs: 0
num_issues: 16
percent_closed_vs_total: 0.0