You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 for Linux package archive on supported Linux AArch64 distributions to enable installing Arm Toolchains products using the system package manager.
21
21
author: Gary Carroll
22
22
23
23
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
27
27
layout: installtoolsall # DO NOT MODIFY. Always true for tool install articles
28
28
---
29
29
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.
31
31
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:
35
33
36
34
- Arm Toolchain for Linux
37
35
- Arm Performance Libraries for supported compilers on Linux
38
36
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`.
45
38
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:
47
40
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
49
44
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.
51
47
{{% /notice %}}
52
48
53
49
## Before you begin
@@ -58,43 +54,34 @@ Confirm you are using an Arm Linux system by running:
58
54
uname -m
59
55
```
60
56
61
-
The output should be:
57
+
The output is similar to:
62
58
63
59
```output
64
60
aarch64
65
61
```
66
62
67
-
The commands in this guide use the native package manager for your distribution:
63
+
Use the native package manager for your distribution:
68
64
69
65
-`apt` for Ubuntu LTS releases from 22.04
70
66
-`dnf` or `yum` for RHEL 8 or later and Amazon Linux 2023
71
67
-`zypper` for SLES 15 or 16
72
68
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
84
-
85
-
Install this repository package before you install Arm Toolchain for Linux or Arm Performance Libraries.
86
-
87
69
## About the signing key
88
70
89
71
Linux package managers use cryptographic signing keys to verify that repository metadata and packages are authentic and come directly from Arm.
90
72
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.
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 has revoked and replaced the signing key.
74
+
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.
92
76
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.
77
+
However, if you're upgrading a system that configured the Arm Toolchains repository for Linux before July 2026, you must update the repository configuration to use the new key.
78
+
Otherwise, your package manager might refuse to refresh repository metadata or install packages.
79
+
80
+
Existing installed copies of Arm Toolchain for Linux and Arm Performance Libraries continue to work.
94
81
95
82
### Repository signing key fingerprints
96
83
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.
98
85
99
86
Previous fingerprint:
100
87
@@ -123,11 +110,28 @@ The output should show the current fingerprint:
123
110
A406 5BCE 9386 DD1E 62FD E03B 8144 CA16 11A0 BD71
124
111
```
125
112
113
+
## Previous repository locations
114
+
115
+
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.
116
+
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:
118
+
119
+
```output
120
+
ACfL:<distro>
121
+
arm-toolchains:<distro>
122
+
```
123
+
124
+
These earlier repositories are deprecated but will continue to work until further notice.
125
+
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.
127
+
128
+
The deprecated repositories will be removed in a future update.
129
+
126
130
## Expected package manager errors
127
131
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.
132
+
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.
129
133
130
-
Ubuntu hosts may experience errors running the `apt update` command, for example:
134
+
Ubuntu hosts might experience errors running the `apt update` command, for example:
@@ -136,7 +140,7 @@ W: An error occurred during the signature verification. The repository is not up
136
140
W: Some index files failed to download. They have been ignored, or old ones used instead.
137
141
```
138
142
139
-
RPM based hosts may download the new signing key but refuse to use it:
143
+
RPM based hosts might download the new signing key but refuse to use it:
140
144
141
145
```output
142
146
The GPG keys listed for the "Arm Toolchains" repository are already installed but they are not correct for this package.
@@ -145,15 +149,11 @@ Check that the correct key URLs are configured for this repository..
145
149
Error: GPG check FAILED
146
150
```
147
151
148
-
These errors are expected on systems that have not yet installed the updated repository package or accepted the new signing key.
152
+
To resolve these errors, install the updated repository package and accept the new signing key.
149
153
150
-
Install the `arm-toolchains-repository` package version `2-2` or later for your Linux distribution, then refresh package metadata to resolve such errors.
154
+
## Install the repository package directly
151
155
152
-
## Install the repository package
153
-
154
-
Install `arm-toolchains-repository` version `2-2` or later for your Linux distribution.
155
-
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.
156
+
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.
157
157
158
158
{{< tabpane code=true >}}
159
159
{{< tab header="Ubuntu 24.04" language="bash" >}}
@@ -198,36 +198,10 @@ sudo zypper refresh
198
198
{{< /tab >}}
199
199
{{< /tabpane >}}
200
200
201
-
## Verify the repository package version
202
201
203
-
After installing the repository package, verify that version `2-2` or later is installed.
202
+
## Install the repository package using manual recovery
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.
204
+
The recommended method is to install `arm-toolchains-repository` version `2-2` or later directly.
231
205
232
206
Use manual recovery only if you cannot install the repository package directly.
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.
246
+
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.
273
247
274
-
If the command does not find an entry, create `/etc/apt/sources.list.d/arm-toolchains.list` using the appropriate command below.
248
+
If the command doesn't find an entry, create `/etc/apt/sources.list.d/arm-toolchains.list` using one of the following commands:
sudo tee /etc/apt/sources.list.d/arm-toolchains.list
288
262
```
289
263
290
-
Refresh package metadata:
264
+
After creating `arm-toolchains.list`, refresh package metadata:
291
265
292
266
```bash
293
267
sudo apt update
@@ -314,7 +288,7 @@ Check that the key is installed:
314
288
rpm -qa gpg-pubkey*
315
289
```
316
290
317
-
Refresh package metadata.
291
+
Refresh package metadata by running one of the following set of commands.
318
292
319
293
For RHEL, Amazon Linux, and compatible RPM-based distributions:
320
294
@@ -330,29 +304,26 @@ sudo zypper clean
330
304
sudo zypper refresh
331
305
```
332
306
333
-
## Previous repository locations
334
-
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.
336
-
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:
307
+
## Verify the repository package version
338
308
339
-
```output
340
-
ACfL:<distro>
341
-
arm-toolchains:<distro>
342
-
```
309
+
After installing the repository package, verify the installation:
343
310
344
-
These earlier repositories are deprecated but will continue to work until further notice.
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
+
The installed version should be `2-2` or later.
347
321
348
-
The deprecated repositories will be removed in a future update.
322
+
## Next steps
349
323
350
-
## Summary
324
+
After installing the repository package, you're ready to install the Arm Toolchain for Linux and the Arm Performance Libraries.
351
325
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](https://developer.arm.com/documentation/102620/latest/Installation) for your distribution.
353
327
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.
355
328
356
-
Use only the current Arm Linux Toolchains Repository at [https://developer.arm.com/packages/arm-toolchains/](https://developer.arm.com/packages/arm-toolchains/).
357
329
358
-
Do not use the deprecated top-level `ACfL:` or `arm-toolchains:` repository paths for new installations.
0 commit comments