Skip to content

Commit bc4ddfb

Browse files
Merge pull request #3493 from anupras-mohapatra-arm/install-guides
Arm Toolchains repo install guide review
2 parents 6317cb9 + 4e428c8 commit bc4ddfb

2 files changed

Lines changed: 74 additions & 102 deletions

File tree

content/install-guides/arm-toolchains-repository.md

Lines changed: 72 additions & 101 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Arm Linux Toolchains Repository
2+
title: Arm Toolchains repository
33

44
draft: true
55

@@ -17,7 +17,7 @@ test_images:
1717
- ubuntu:latest
1818

1919
official_docs: https://developer.arm.com/tools-and-software
20-
description: Configure the Arm Linux Toolchains Repository package archive on supported Linux AArch64 distributions to enable installing Arm Toolchains products using the system package manager.
20+
description: Configure the Arm Toolchains repository on supported Linux aarch64 distributions to install Arm Toolchain for Linux and Arm Performance Libraries using the system package manager.
2121
author: Gary Carroll
2222

2323
weight: 1 # Defines page ordering. Must be 1 for first (or only) page.
@@ -27,27 +27,23 @@ multitool_install_part: false # Set to true if a sub-page of a multi-page arti
2727
layout: installtoolsall # DO NOT MODIFY. Always true for tool install articles
2828
---
2929

30-
The Arm Linux Toolchains Repository provides a native and convenient way to install selected Arm software products on supported Linux hosts using the host operating system package manager.
30+
The [Arm Toolchains repository](https://developer.arm.com/packages/arm-toolchains/) provides a native and convenient way to install selected Arm software products on supported Linux hosts using the host operating system package manager.
3131

32-
The repository files are published at [https://developer.arm.com/packages/arm-toolchains/](https://developer.arm.com/packages/arm-toolchains/).
33-
34-
They are used to distribute Linux packages for Arm Toolchains, including:
32+
The repository files are used to distribute Linux packages for Arm Toolchains, including:
3533

3634
- Arm Toolchain for Linux
3735
- Arm Performance Libraries for supported compilers on Linux
3836

39-
Using the Arm Toolchains Linux Repository allows you to install, upgrade, and manage these products using standard Linux package-management tools such as `apt`, `dnf`, `yum`, and `zypper`.
40-
41-
Root or `sudo` permissions are required to install system packages.
42-
43-
{{% notice Repository signing key update July 2026 %}}
44-
Arm has recently reviewed and strengthened the repository management and publication processes used for the Arm Linux Toolchains Repository.
37+
Using the repository, you can install, upgrade, and manage these packages using standard Linux package-management tools such as `apt`, `dnf`, `yum`, and `zypper`.
4538

46-
As part of the continuing evolution of this release channel, Arm has revoked and replaced the signing key.
39+
To use the repository, you'll need to install the repository package. Arm provides an `arm-toolchains-repository` package for each supported Linux distribution. The package installs:
4740

48-
If you previously configured the Arm Linux Toolchains Repository, install the `arm-toolchains-repository` package version `2-2` or later before installing or upgrading Arm Toolchain for Linux or Arm Performance Libraries.
41+
- the Arm Toolchains repository definition for your Linux distribution
42+
- the Arm Toolchains repository signing public key
43+
- package manager configuration that associates the repository with the correct signing key
4944

50-
Existing installed copies of Arm Toolchain for Linux and Arm Performance Libraries continue to work.
45+
{{% notice Note %}}
46+
You need root or `sudo` permissions to install system packages.
5147
{{% /notice %}}
5248

5349
## Before you begin
@@ -58,43 +54,34 @@ Confirm you are using an Arm Linux system by running:
5854
uname -m
5955
```
6056

61-
The output should be:
57+
The output is similar to:
6258

6359
```output
6460
aarch64
6561
```
6662

67-
The commands in this guide use the native package manager for your distribution:
63+
Use the native package manager for your distribution:
6864

6965
- `apt` for Ubuntu LTS releases from 22.04
7066
- `dnf` or `yum` for RHEL 8 or later and Amazon Linux 2023
7167
- `zypper` for SLES 15 or 16
7268

73-
## What is the Arm Linux Toolchains Repository?
74-
75-
Arm provides an `arm-toolchains-repository` for each supported Linux distribution.
76-
77-
This package configures the Arm Linux Toolchains Repository on your host system.
78-
79-
The package installs:
80-
81-
- the Arm Toolchains repository definition for your Linux distribution
82-
- the Arm Toolchains repository signing public key
83-
- package manager configuration that associates the repository with the correct signing key
69+
## About the signing key
8470

85-
Install this repository package before you install Arm Toolchain for Linux or Arm Performance Libraries.
71+
Linux package managers use cryptographic signing keys to verify that repository metadata and packages are authentic and come directly from Arm.
8672

87-
## About the signing key
73+
In July 2026, Arm reviewed and strengthened the repository management and publication processes used for the Arm Toolchains repository. As part of the continuing evolution of this release channel, Arm revoked and replaced the signing key.
8874

89-
Linux package managers use cryptographic signing keys to verify that repository metadata and packages are authentic and come directly from Arm.
75+
If you're setting up a new system after July 2026, installing the `arm-toolchains-repository` package automatically configures the current repository signing key for you. You don't need to install the key manually or verify fingerprints.
9076

91-
If you are setting up a new system, installing the `arm-toolchains-repository` package automatically configures the current repository signing key for you. No manual key installation or fingerprint verification is required.
77+
However, if you're upgrading a system that configured the Arm Toolchains repository for Linux before July 2026, you need to update the repository configuration to use the new key.
78+
Otherwise, your package manager might refuse to refresh repository metadata or install packages.
9279

93-
However, if you are upgrading a system that previously configured the Arm Toolchains Linux repository before July 2026, you must update the repository configuration to use the new key. Otherwise, your package manager may refuse to refresh repository metadata or install packages.
80+
Existing installed copies of Arm Toolchain for Linux and Arm Performance Libraries continue to work.
9481

9582
### Repository signing key fingerprints
9683

97-
For reference or manual verification, the fingerprints of the previous and current Arm Toolchains signing keys are:
84+
For reference or manual verification, the fingerprints of the previous and current Arm Toolchains signing keys are as follows.
9885

9986
Previous fingerprint:
10087

@@ -108,7 +95,7 @@ Current fingerprint:
10895
A406 5BCE 9386 DD1E 62FD E03B 8144 CA16 11A0 BD71
10996
```
11097

111-
### (Optional) Manually verifying the signing key
98+
### (Optional) Manually verify the signing key
11299

113100
If you want to manually verify the signing key, ensure the `gpg` utility (part of GnuPG) is installed on your system, then download the key file and display its fingerprint:
114101

@@ -123,37 +110,26 @@ The output should show the current fingerprint:
123110
A406 5BCE 9386 DD1E 62FD E03B 8144 CA16 11A0 BD71
124111
```
125112

126-
## Expected package manager errors
127-
128-
If your system still trusts only the previous Arm Linux Toolchains Repository signing key, package manager operations might fail when you refresh metadata, install packages, or upgrade packages.
113+
## Previous repository locations
129114

130-
Ubuntu hosts may experience errors running the `apt update` command, for example:
115+
The current Arm Toolchains repository at [https://developer.arm.com/packages/arm-toolchains/](https://developer.arm.com/packages/arm-toolchains/) replaces the earlier repository structure that was based on repositories built using the SUSE Open Build Service.
131116

132-
```output
133-
Err:1 https://developer.arm.com/packages/arm-toolchains/ubuntu noble InRelease
134-
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY <key-id>
135-
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: <error>
136-
W: Some index files failed to download. They have been ignored, or old ones used instead.
137-
```
138-
139-
RPM based hosts may download the new signing key but refuse to use it:
117+
Earlier repositories were published under the top-level package URL [https://developer.arm.com/packages/](https://developer.arm.com/packages/) and used repository prefixes such as:
140118

141119
```output
142-
The GPG keys listed for the "Arm Toolchains" repository are already installed but they are not correct for this package.
143-
Check that the correct key URLs are configured for this repository..
144-
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-arm-toolchains
145-
Error: GPG check FAILED
120+
ACfL:<distro>
121+
arm-toolchains:<distro>
146122
```
147123

148-
These errors are expected on systems that have not yet installed the updated repository package or accepted the new signing key.
124+
These earlier repositories are deprecated but will continue to work until further notice.
149125

150-
Install the `arm-toolchains-repository` package version `2-2` or later for your Linux distribution, then refresh package metadata to resolve such errors.
126+
Don't configure new systems to use the deprecated `ACfL:` or `arm-toolchains:` repository paths. Migrate existing systems to the current Arm Toolchains Linux repositories and install the current `arm-toolchains-repository` package.
151127

152-
## Install the repository package
128+
The deprecated repositories will be removed in a future update.
153129

154-
Install `arm-toolchains-repository` version `2-2` or later for your Linux distribution.
130+
## Install the repository package directly
155131

156-
The examples below install the repository package directly from [https://developer.arm.com/packages/arm-toolchains/](https://developer.arm.com/packages/arm-toolchains/). This allows you to update the repository configuration even if your package manager cannot currently refresh the Arm Toolchains repository metadata.
132+
Use one of the following commands to install the repository package [directly](https://developer.arm.com/packages/arm-toolchains/). This allows you to update the repository configuration even if your package manager can't currently refresh the Arm Toolchains repository metadata.
157133

158134
{{< tabpane code=true >}}
159135
{{< tab header="Ubuntu 24.04" language="bash" >}}
@@ -198,36 +174,10 @@ sudo zypper refresh
198174
{{< /tab >}}
199175
{{< /tabpane >}}
200176

201-
## Verify the repository package version
202177

203-
After installing the repository package, verify that version `2-2` or later is installed.
178+
## Use manual recovery
204179

205-
{{< tabpane code=true >}}
206-
{{< tab header="Ubuntu" language="bash" >}}
207-
dpkg -l arm-toolchains-repository
208-
{{< /tab >}}
209-
{{< tab header="RPM-based distributions" language="bash" >}}
210-
rpm -q arm-toolchains-repository
211-
{{< /tab >}}
212-
{{< /tabpane >}}
213-
214-
The installed version should be `2-2` or later.
215-
216-
## Install Arm Toolchain for Linux
217-
218-
After installing the repository package, follow the [Arm Toolchain for Linux installation instructions](https://developer.arm.com/documentation/110477/latest/Installation) for your distribution.
219-
220-
The repository package must be installed first because it configures the package manager repository and the signing key used to verify packages.
221-
222-
## Install Arm Performance Libraries
223-
224-
After installing the repository package, follow the [Arm Performance Libraries installation instructions](https://developer.arm.com/documentation/102620/latest/Installation) for your distribution.
225-
226-
The repository package must be installed first because it configures the package manager repository and the signing key used to verify packages.
227-
228-
## Manual recovery
229-
230-
The recommended method is to install `arm-toolchains-repository` version `2-2` or later.
180+
The recommended method is to install `arm-toolchains-repository` version `2-2` or later directly.
231181

232182
Use manual recovery only if you cannot install the repository package directly.
233183

@@ -269,9 +219,9 @@ grep -Rns "developer.arm.com/packages/arm-toolchains/ubuntu" \
269219
/etc/apt/sources.list /etc/apt/sources.list.d
270220
```
271221

272-
If the command finds an existing entry, edit that entry so it references `/usr/share/keyrings/arm-toolchains-archive-keyring.gpg` using `signed-by`. Do not create a second entry for the same repository because `apt` may report conflicting `Signed-By` values.
222+
If the command finds an existing entry, edit that entry so it references `/usr/share/keyrings/arm-toolchains-archive-keyring.gpg` using `signed-by`. Don't create a second entry for the same repository because `apt` might report conflicting `Signed-By` values.
273223

274-
If the command does not find an entry, create `/etc/apt/sources.list.d/arm-toolchains.list` using the appropriate command below.
224+
If the command doesn't find an entry, create `/etc/apt/sources.list.d/arm-toolchains.list` using one of the following commands:
275225

276226
For Ubuntu 24.04, run:
277227

@@ -287,7 +237,7 @@ echo "deb [signed-by=/usr/share/keyrings/arm-toolchains-archive-keyring.gpg] htt
287237
sudo tee /etc/apt/sources.list.d/arm-toolchains.list
288238
```
289239

290-
Refresh package metadata:
240+
After creating `arm-toolchains.list`, refresh package metadata:
291241

292242
```bash
293243
sudo apt update
@@ -314,7 +264,7 @@ Check that the key is installed:
314264
rpm -qa gpg-pubkey*
315265
```
316266

317-
Refresh package metadata.
267+
Refresh package metadata by running one of the following set of commands.
318268

319269
For RHEL, Amazon Linux, and compatible RPM-based distributions:
320270

@@ -330,29 +280,50 @@ sudo zypper clean
330280
sudo zypper refresh
331281
```
332282

333-
## Previous repository locations
283+
## Verify the repository package version
334284

335-
The current Arm Toolchains Linux Repository at [https://developer.arm.com/packages/arm-toolchains/](https://developer.arm.com/packages/arm-toolchains/) replaces the earlier repository structure that was based on repositories built using the SUSE Open Build Service.
285+
After installing the repository package, verify the installation:
336286

337-
Earlier repositories were published under the top-level package URL [https://developer.arm.com/packages/](https://developer.arm.com/packages/) and used repository prefixes such as:
287+
{{< tabpane code=true >}}
288+
{{< tab header="Ubuntu" language="bash" >}}
289+
dpkg -l arm-toolchains-repository
290+
{{< /tab >}}
291+
{{< tab header="RPM-based distributions" language="bash" >}}
292+
rpm -q arm-toolchains-repository
293+
{{< /tab >}}
294+
{{< /tabpane >}}
295+
296+
The installed version should be `2-2` or later.
297+
298+
## Troubleshoot package manager errors
299+
300+
If your system still trusts only the previous Arm Toolchains Repository signing key, package manager operations might fail when you refresh metadata, install packages, or upgrade packages.
301+
302+
Ubuntu hosts might experience errors running the `apt update` command, for example:
338303

339304
```output
340-
ACfL:<distro>
341-
arm-toolchains:<distro>
305+
Err:1 https://developer.arm.com/packages/arm-toolchains/ubuntu noble InRelease
306+
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY <key-id>
307+
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: <error>
308+
W: Some index files failed to download. They have been ignored, or old ones used instead.
342309
```
343310

344-
These earlier repositories are deprecated but will continue to work until further notice.
311+
RPM-based hosts might download the new signing key but refuse to use it:
312+
313+
```output
314+
The GPG keys listed for the "Arm Toolchains" repository are already installed but they are not correct for this package.
315+
Check that the correct key URLs are configured for this repository..
316+
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-arm-toolchains
317+
Error: GPG check FAILED
318+
```
345319

346-
Do not configure new systems to use the deprecated `ACfL:` or `arm-toolchains:` repository paths. Existing users should migrate to the current Arm Toolchains Linux repositories and install the current `arm-toolchains-repository` package.
320+
To resolve these errors, install the updated repository package and accept the new signing key.
347321

348-
The deprecated repositories will be removed in a future update.
322+
## Next steps
349323

350-
## Summary
324+
After installing the repository package, you're ready to install the Arm Toolchain for Linux and the Arm Performance Libraries.
351325

352-
The Arm Linux Toolchains Repository provide a native package manager based installation channel for Arm Toolchain for Linux and Arm Performance Libraries on supported Linux hosts.
326+
For installation instructions, see the [Arm Toolchain for Linux installation instructions](https://developer.arm.com/documentation/110477/latest/Installation) and the [Arm Performance Libraries installation instructions](/install-guides/armpl/) for your distribution.
353327

354-
To use the repositories, install `arm-toolchains-repository` version `2-2` or later for your Linux distribution. This package configures the repository and installs the current repository signing key.
355328

356-
Use only the current Arm Linux Toolchains Repository at [https://developer.arm.com/packages/arm-toolchains/](https://developer.arm.com/packages/arm-toolchains/).
357329

358-
Do not use the deprecated top-level `ACfL:` or `arm-toolchains:` repository paths for new installations.

content/install-guides/armpl.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,13 +170,14 @@ If you want to change the installation directory location, use the `--install-to
170170

171171
Arm Performance Libraries are available to install using Linux system package managers. The following instructions are for the Ubuntu 24.04 system package manager `apt` command.
172172

173-
Add the Arm Performance Libraries `apt` package repository to your system:
173+
Add the Arm Toolchains `apt` package repository to your system:
174174

175175
```bash
176176
curl -O https://developer.arm.com/packages/arm-toolchains/ubuntu/pool/arm-toolchains-repository_2-1~noble_all.deb
177177
sudo dpkg -i arm-toolchains-repository_2-1~noble_all.deb
178178
sudo apt update
179179
```
180+
For more information about setting up the Arm Toolchains repository, see [Arm Toolchains](/install-guides/arm-toolchains-repository/).
180181

181182
Download and install Arm Performance Libraries:
182183

0 commit comments

Comments
 (0)