|
| 1 | +## Installation |
| 2 | + |
| 3 | +This document describes how to download and install the Arm(R) Toolchain for |
| 4 | +Linux. |
| 5 | + |
| 6 | +### Pre-installation step |
| 7 | + |
| 8 | +The first step is to configure your Linux package manager to be able to fetch |
| 9 | +packages from Arm. This step only needs to be performed once. |
| 10 | + |
| 11 | +From the options below, select the packages repository matching with your |
| 12 | +installed Linux distribution. |
| 13 | + |
| 14 | +#### Ubuntu 22.04 |
| 15 | + |
| 16 | +``` |
| 17 | +??? $ curl "http://obs.oss.arm.com:82/arm-toolchains:/ubuntu-22/linux/Release.key" | sudo gpg --dearmor -o /usr/share/keyrings/obs-oss-arm-com.gpg |
| 18 | +
|
| 19 | +??? $ echo "deb [signed-by=/usr/share/keyrings/obs-oss-arm-com.gpg] http://obs.oss.arm.com:82/arm-toolchains:/ubuntu-22/linux/ ./" | sudo tee /etc/apt/sources.list.d/obs-oss-arm-com.list |
| 20 | +
|
| 21 | +$ sudo apt update |
| 22 | +``` |
| 23 | + |
| 24 | +#### Ubuntu 24.04 |
| 25 | + |
| 26 | +``` |
| 27 | +??? $ curl "http://obs.oss.arm.com:82/arm-toolchains:/ubuntu-24/linux/Release.key" | sudo gpg --dearmor -o /usr/share/keyrings/obs-oss-arm-com.gpg |
| 28 | +
|
| 29 | +??? $ echo "deb [signed-by=/usr/share/keyrings/obs-oss-arm-com.gpg] http://obs.oss.arm.com:82/arm-toolchains:/ubuntu-24/linux/ ./" | sudo tee /etc/apt/sources.list.d/obs-oss-arm-com.list |
| 30 | +
|
| 31 | +$ sudo apt update |
| 32 | +``` |
| 33 | + |
| 34 | +#### Red Hat Entrprise Linux 8 |
| 35 | + |
| 36 | +``` |
| 37 | +$ sudo dnf install 'dnf-command(config-manager)' |
| 38 | +
|
| 39 | +??? $ sudo dnf config-manager -y --add-repo http://obs.oss.arm.com:82/arm-toolchains:/rhel-8/linux/arm-toolchains:rhel-8.repo |
| 40 | +``` |
| 41 | + |
| 42 | +#### Red Hat Entrprise Linux 9 |
| 43 | + |
| 44 | +``` |
| 45 | +$ sudo dnf install 'dnf-command(config-manager)' |
| 46 | +
|
| 47 | +??? $ sudo dnf config-manager -y --add-repo http://obs.oss.arm.com:82/arm-toolchains:/rhel-9/linux/arm-toolchains:rhel-9.repo |
| 48 | +``` |
| 49 | + |
| 50 | +#### Amazon Linux 2023 |
| 51 | + |
| 52 | +``` |
| 53 | +$ sudo dnf install 'dnf-command(config-manager)' |
| 54 | +
|
| 55 | +??? $ sudo dnf config-manager -y --add-repo http://obs.oss.arm.com:82/arm-toolchains:/amzn-2023/linux/arm-toolchains:amzn-2023.repo |
| 56 | +``` |
| 57 | + |
| 58 | +#### SUSE Linux Enterprise Server 15 |
| 59 | + |
| 60 | +``` |
| 61 | +$ sudo zypper ar -f http://obs.oss.arm.com:82/arm-toolchains:/sles-15/linux/arm-toolchains:sles-15.repo |
| 62 | +``` |
| 63 | + |
| 64 | +### Installation step |
| 65 | + |
| 66 | +Please select the command below appropriate for your Linux distribution. This |
| 67 | +will install Arm Toolchain For Linux, along with Arm Performance Libraries, |
| 68 | +which is a required dependency. |
| 69 | + |
| 70 | +#### Ubuntu systems |
| 71 | + |
| 72 | +``` |
| 73 | +$ sudo apt install arm-toolchain-for-linux |
| 74 | +``` |
| 75 | + |
| 76 | +#### Red Hat Enterprise Linux and Amazon Linux systems |
| 77 | + |
| 78 | +``` |
| 79 | +$ sudo dnf install arm-toolchain-for-linux |
| 80 | +``` |
| 81 | + |
| 82 | +#### SUSE Linux Enterprise Server systems |
| 83 | + |
| 84 | +``` |
| 85 | +$ sudo zypper install arm-toolchain-for-linux |
| 86 | +``` |
0 commit comments