On Debian and derivatives, the package you’re looking for is gcc-arm-none-eabi:

apt install gcc-arm-none-eabi

To find this out yourself in future, install apt-file, update your indexes and use it to search for commands:

apt install apt-file
apt-file update
apt-file search bin/arm-none-eabi-gcc
Answer from Stephen Kitt on Stack Exchange
🌐
Debian
packages.debian.org › sid › gcc-arm-none-eabi
Debian -- Details of package gcc-arm-none-eabi in sid
gcc-arm-none-eabi-source · ... gcc-riscv64-unknown-elf · libnewlib-arm-none-eabi · gcc-xtensa-lx106 · Bare metal C and C++ compiler for embedded ARM chips using Cortex-M, and Cortex-R processors....
🌐
Debian
packages.debian.org › bookworm › gcc-arm-none-eabi
Debian -- Details of package gcc-arm-none-eabi in bookworm
libstdc++-arm-none-eabi-picolibc ... gcc-riscv64-unknown-elf · libnewlib-arm-none-eabi · gcc-xtensa-lx106 · Bare metal C and C++ compiler for embedded ARM chips using Cortex-M, and Cortex-R processors....
Discussions

software installation - Installing arm-none-eabi-gcc - Unix & Linux Stack Exchange
My guess is because I don't have the arm-none-eabi-gcc installed on my system but when I enter the command sudo apt-get install arm-none-eabi-gcc I get an error saying there is no such package. More on unix.stackexchange.com
🌐 unix.stackexchange.com
July 9, 2017
linux - E: Unable to locate package arm-none-eabi-gcc - Stack Overflow
Hence, to compile the code, I need an ARM cross-compiler (mentioned on the website). After entering the following command on the terminal "sudo apt-get install arm-none-eabi-gcc arm-none-eabi-binutils arm-none-eabi-newlib", I'm getting some errors (basically, unable to locate packages). More on stackoverflow.com
🌐 stackoverflow.com
Installation of "toolchain-gccarmnoneeabi" fails on "arm64" Debian (during -> "pio platform install ststm32")
Hi Guys, Is anyone else having issues with PIO Core installed on Arm Linux? I get the following error when I try to install a platform (such as “ststm32”) that relies on “toolchain-gccarmnoneeabi”. jnr2820@nano-cube-black:~$ pio platform install ststm32 -f PlatformManager: Installing ... More on community.platformio.org
🌐 community.platformio.org
0
0
May 21, 2020
Cross compiling to ARM
I’m working on a project that Compiles to ARM and runs this compiled binary in QEMU vm connected to a GDB session. On Ubuntu all I need to do to install those programs is sudo apt install qemu gdb-multiarch gcc-8-aarch64-linux-gnu and it all works fine, but on Fedora none of these libraries ... More on discussion.fedoraproject.org
🌐 discussion.fedoraproject.org
0
1
November 5, 2021
🌐
Debian
packages.debian.org › gcc-arm-none-eabi
Debian -- Package Search Results -- gcc-arm-none-eabi
sid (unstable) (devel): GCC cross compiler for ARM Cortex-R/M processors 15:15.2.rel1.1-3: alpha amd64 arm64 armhf hppa i386 loong64 m68k ppc64 ppc64el riscv64 s390x sparc64 x32 15:12.3.rel1-1 [debports]: ia64 15:12.2.rel1-1 [debports]: sh4
🌐
Arm Learning
learn.arm.com › install-guides › gcc › arm-gnu
Arm GNU Toolchain | Arm Learning Paths
For example the path could be: /Applications/ArmGNUToolchain/15.2.rel1/arm-none-eabi/bin
🌐
GitHub
github.com › arm-embedded › gcc-arm-none-eabi.debian
GitHub - arm-embedded/gcc-arm-none-eabi.debian: Bare metal compiler for embedded ARM chips using Cortex-A/R/M debianization
Bare metal compiler for embedded ARM chips using Cortex-A/R/M debianization - GitHub - arm-embedded/gcc-arm-none-eabi.debian: Bare metal compiler for embedded ARM chips using Cortex-A/R/M debianization
Starred by 4 users
Forked by 3 users
Languages   C 51.6% | Ada 18.4% | C++ 17.3% | GCC Machine Description 4.2% | HTML 4.2% | Makefile 1.6% | C 51.6% | Ada 18.4% | C++ 17.3% | GCC Machine Description 4.2% | HTML 4.2% | Makefile 1.6%
🌐
Debian
tracker.debian.org › pkg › gcc-arm-none-eabi
gcc-arm-none-eabi - Debian Package Tracker
∙ ∙ Autopkgtest for gcc-arm-none-eabi/15:15.2.rel1.1-3: amd64: Pass, arm64: Pass, i386: Pass, ppc64el: Pass, riscv64: Pass, s390x: Pass
🌐
Homebrew
formulae.brew.sh › formula › arm-none-eabi-gcc
arm-none-eabi-gcc — Homebrew Formulae
brew install arm-none-eabi-gcc · GNU compiler collection for arm-none-eabi · https://gcc.gnu.org · License: GPL-3.0-or-later WITH GCC-exception-3.1 · Development: Pull requests · Formula JSON API: /api/formula/arm-none-eabi-gcc.json · Formula code: arm-none-eabi-gcc.rb on GitHub ·
Find elsewhere
🌐
Debian
packages.debian.org › bullseye › gcc-arm-none-eabi
Details of package gcc-arm-none-eabi in bullseye
JavaScript is disabled in your browser · Please enable JavaScript to proceed · A required part of this site couldn’t load. This may be due to a browser extension, network issues, or browser settings. Please check your connection, disable any ad blockers, or try using a different browser
🌐
Arm Developer
developer.arm.com › downloads › - › gnu-rm
Downloads | GNU Arm Embedded Toolchain Downloads – Arm Developer
The wrong instruction causes an error during assembly, for example: "Error: instruction does not support writeback - `vstr.16 s15,[r0]!'" "Error: instruction does not support writeback - `vldr.16 s15,[r0]!'" The workaround is to use the -O0 command line option to generate the correct instruction when loading or storing of __fp16 type together with MVE. * Uncompressing the Windows zip file requests permission to overwrite file: When you decompress the windows zip file, gcc-arm-none-eabi-10-2020-q2-preview-win32.zip, the decompression requests permission to overwrite the file frame-apply.html.
🌐
Debian
ftp.debian.org › debian › pool › main › g › gcc-arm-none-eabi
Index of /debian/pool/main/g/gcc-arm-none-eabi
Index of /debian/pool/main/g/gcc-arm-none-eabi · Apache Server at ftp.debian.org Port 80
🌐
PlatformIO Community
community.platformio.org › platformio core
Installation of "toolchain-gccarmnoneeabi" fails on "arm64" Debian (during -> "pio platform install ststm32") - PlatformIO Core - PlatformIO Community
May 21, 2020 - Hi Guys, Is anyone else having issues with PIO Core installed on Arm Linux? I get the following error when I try to install a platform (such as “ststm32”) that relies on “toolchain-gccarmnoneeabi”. jnr2820@nano-cube-black:~$ pio platform install ststm32 -f PlatformManager: Installing ...
🌐
Arm Developer
developer.arm.com › downloads › - › arm-gnu-toolchain-downloads
Arm GNU Toolchain Downloads – Arm Developer
$ arm-none-eabi-gcc -mcpu=cortex-m7 -mfloat-abi=hard $ arm-none-eabi-gcc -mcpu=cortex-r5 -mfloat-abi=hard -mthumb · Example with floating-point and Advanced SIMD instructions with soft-float ABI: $ arm-none-eabi-gcc -mcpu=cortex-a53 -mfloat-abi=softfp -mthumb
🌐
Debian
packages.debian.org › source › stable › libstdc++-arm-none-eabi
Details of source package libstdc++-arm-none-eabi in trixie
JavaScript is disabled in your browser · Please enable JavaScript to proceed · A required part of this site couldn’t load. This may be due to a browser extension, network issues, or browser settings. Please check your connection, disable any ad blockers, or try using a different browser
🌐
Ubuntu
archive.ubuntu.com › ubuntu › pool › universe › g › gcc-arm-none-eabi
Index of /ubuntu/pool/universe/g/gcc-arm-none-eabi
Index of /ubuntu/pool/universe/g/gcc-arm-none-eabi · Apache/2.4.58 (Ubuntu) Server at archive.ubuntu.com Port 80
🌐
Fedora Discussion
discussion.fedoraproject.org › ask fedora
Cross compiling to ARM - Fedora Discussion
November 5, 2021 - I’m working on a project that Compiles to ARM and runs this compiled binary in QEMU vm connected to a GDB session. On Ubuntu all I need to do to install those programs is sudo apt install qemu gdb-multiarch gcc-8-aarch64-linux-gnu and it all works fine, but on Fedora none of these libraries are curr…
🌐
Linux Mint Forums
forums.linuxmint.com › board index › main edition support › software & applications
Getting to work ARM-compiler arm-none-eabi with Linux 21 Vanessa - Linux Mint Forums
November 28, 2022 - sudo ln -s /usr/share/gcc-arm-11.2-2022.02-x86_64-arm-none-eabi/bin/arm-none-eabi-gcc /usr/bin/arm-none-eabi-gcc ... 3)Install dependency sudo apt install libncurses-dev 4) Create links 5) From here on: I can call arm-none-eabi-gcc and g++ version without an error.
Top answer
1 of 7
4
Ok, after trying and searching... i got the IDE 1.17.0  running, on new/actual Linux siduction (debian system). · Needed to open a shell and set : · > · > ulimit -n -H 4096 · > /opt/st/stm32cubeide_1.17.0/stm32cubeide & ·   · Then compiler (make all) starting without great delay. (on small program : 3m55s -> 240ms ). · And to get debug running :   · - didnt want to get the system to an unknown/unsafe state, by importing and manual forced install of libncurses5 , about 14 year outdated lib; same for outdated old libtinfo5 . · - so i tried install new dbg and replace the old:  · in shell: · > sudo -i · > apt install gdb-multiarch · > cd /opt/st/stm32cubeide_1.17.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.linux64_1.1.0.202410170702/tools/bin # or wherever you installation is · > mv arm-none-eabi-gdb arm-none-eabi-gdb.bak · > ln -s /usr/bin/gdb-multiarch arm-none-eabi-gdb · Now its starting gdb-multiarch ... as gdb: · If you feel a post has answered your question, please click "Accept as Solution".
2 of 7
0
Now i have on my new Siduction Linux PC the new IDE 1.17.0 installed , install without errors. · Fine, then downloaded the Cube packages for the cpus i use, F0, F1, F3, H7 . ok. · Then try a simple test, made empty program for a H7S3...and bad surprise: · - compiler starts with "make j8 all " , but 3 minutes happens nothing !!! then 5 secs or so...ready. no errors. · Very strange.... · Then try debug: again , 3 minutes happens nothing (!), then: · Then tried importing a working F303 program, made on same PC, but with (old) MX Linux and IDE 1.13.1, but exactly same result ... ·   · In these 3 minutes it makes 100% cpu load on one core (of 8, so about 13% ), so some heavy action...for nothing. · Maybe it cannot access something, but without any error message - how to find out, whats wrong? · btw , i have also : libncurses.so.6.5   . · So this IDE version is for the trash. · Maybe i delete it and try generic Linux install version, 1.16.1 . Hope, this version will be working ... · If you feel a post has answered your question, please click "Accept as Solution".