It turned out that ARM decided to make our life easier (sarcasm) by deprecating the use of PPA - their page at launchpad now has an anouncement: "... all new binary and source packages will not be released on Launchpad henceforth ...".

So, to make use of their latest arm-none-eabi-gdb you have to install gcc-arm-embedded manually.

Remove arm-none-eabi-gcc from your system:

sudo apt remove gcc-arm-none-eabi

Download latest version (Linux x86_64 Tarball) from their website, check its MD5. Unpack it into some directory. I used /usr/share/ :

sudo tar xjf gcc-arm-none-eabi-YOUR-VERSION.bz2 -C /usr/share/

Create links so that binaries are accessible system-wide:

sudo ln -s /usr/share/gcc-arm-none-eabi-YOUR-VERSION/bin/arm-none-eabi-gcc /usr/bin/arm-none-eabi-gcc 
sudo ln -s /usr/share/gcc-arm-none-eabi-YOUR-VERSION/bin/arm-none-eabi-g++ /usr/bin/arm-none-eabi-g++
sudo ln -s /usr/share/gcc-arm-none-eabi-YOUR-VERSION/bin/arm-none-eabi-gdb /usr/bin/arm-none-eabi-gdb
sudo ln -s /usr/share/gcc-arm-none-eabi-YOUR-VERSION/bin/arm-none-eabi-size /usr/bin/arm-none-eabi-size
sudo ln -s /usr/share/gcc-arm-none-eabi-YOUR-VERSION/bin/arm-none-eabi-objcopy /usr/bin/arm-none-eabi-objcopy

Install dependencies. ARM's "full installation instructions" listed in readme.txt won't tell you what dependencies are - you have to figure it out by trial and error. In my system I had to manually create symbolic links to force it to work:

sudo apt install libncurses-dev
sudo ln -s /usr/lib/x86_64-linux-gnu/libncurses.so.6 /usr/lib/x86_64-linux-gnu/libncurses.so.5
sudo ln -s /usr/lib/x86_64-linux-gnu/libtinfo.so.6 /usr/lib/x86_64-linux-gnu/libtinfo.so.5

Check if it works:

arm-none-eabi-gcc --version
arm-none-eabi-g++ --version
arm-none-eabi-gdb --version
arm-none-eabi-size --version
Answer from Aleksander Khoroshko on askubuntu.com
Top answer
1 of 5
49

It turned out that ARM decided to make our life easier (sarcasm) by deprecating the use of PPA - their page at launchpad now has an anouncement: "... all new binary and source packages will not be released on Launchpad henceforth ...".

So, to make use of their latest arm-none-eabi-gdb you have to install gcc-arm-embedded manually.

Remove arm-none-eabi-gcc from your system:

sudo apt remove gcc-arm-none-eabi

Download latest version (Linux x86_64 Tarball) from their website, check its MD5. Unpack it into some directory. I used /usr/share/ :

sudo tar xjf gcc-arm-none-eabi-YOUR-VERSION.bz2 -C /usr/share/

Create links so that binaries are accessible system-wide:

sudo ln -s /usr/share/gcc-arm-none-eabi-YOUR-VERSION/bin/arm-none-eabi-gcc /usr/bin/arm-none-eabi-gcc 
sudo ln -s /usr/share/gcc-arm-none-eabi-YOUR-VERSION/bin/arm-none-eabi-g++ /usr/bin/arm-none-eabi-g++
sudo ln -s /usr/share/gcc-arm-none-eabi-YOUR-VERSION/bin/arm-none-eabi-gdb /usr/bin/arm-none-eabi-gdb
sudo ln -s /usr/share/gcc-arm-none-eabi-YOUR-VERSION/bin/arm-none-eabi-size /usr/bin/arm-none-eabi-size
sudo ln -s /usr/share/gcc-arm-none-eabi-YOUR-VERSION/bin/arm-none-eabi-objcopy /usr/bin/arm-none-eabi-objcopy

Install dependencies. ARM's "full installation instructions" listed in readme.txt won't tell you what dependencies are - you have to figure it out by trial and error. In my system I had to manually create symbolic links to force it to work:

sudo apt install libncurses-dev
sudo ln -s /usr/lib/x86_64-linux-gnu/libncurses.so.6 /usr/lib/x86_64-linux-gnu/libncurses.so.5
sudo ln -s /usr/lib/x86_64-linux-gnu/libtinfo.so.6 /usr/lib/x86_64-linux-gnu/libtinfo.so.5

Check if it works:

arm-none-eabi-gcc --version
arm-none-eabi-g++ --version
arm-none-eabi-gdb --version
arm-none-eabi-size --version
2 of 5
10

I've wrapped the script here by @kmhallen into a semi-automated debian package builder here: https://gitlab.com/alelec/arm-none-eabi-gcc-deb/-/releases

Installing a package like this means you can skip the tedious manual symlinks to put tools on the path, and just as importantly you can uninstall / upgrade to newer packages (assuming I remember to make more packages)

🌐
Arm Developer
developer.arm.com › downloads › - › gnu-rm
Downloads | GNU Arm Embedded Toolchain Downloads – Arm Developer
See the downloaded package readme.txt file for full installation instructions. For the Linux, Mac, and source packages, readme.txt is in the share/doc/gcc-arm-none-eabi folder.
🌐
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.
Find elsewhere
🌐
Ubuntu
packages.ubuntu.com › bionic › devel › gcc-arm-none-eabi
Ubuntu – Error
two or more packages specified (gcc-arm-none-eabi bionic) Content Copyright © 2025 Canonical Ltd.; See license terms. Ubuntu is a trademark of Canonical Ltd. Learn more about this site.
🌐
Ubuntu
packages.ubuntu.com › jammy › gcc-arm-none-eabi
Ubuntu – Details of package gcc-arm-none-eabi in jammy
Download Source Package gcc-arm-none-eabi: [gcc-arm-none-eabi_10.3-2021.07-4.dsc] [gcc-arm-none-eabi_10.3-2021.07.orig.tar.bz2] [gcc-arm-none-eabi_10.3-2021.07-4.debian.tar.xz] Maintainer: Ubuntu MOTU Developers (Mail Archive) · Please consider filing a bug or asking a question via Launchpad ...
🌐
Installati.one
installati.one › home › how to install gcc-arm-none-eabi on ubuntu 20.04
How To Install gcc-arm-none-eabi on Ubuntu 20.04 | Installati.one
June 13, 2023 - In this tutorial we learn how to install gcc-arm-none-eabi on Ubuntu 20.04. gcc-arm-none-eabi is GCC cross compiler for ARM Cortex-R/M processors
🌐
Lindevs
lindevs.com › install-arm-gnu-toolchain-on-ubuntu
Install Arm GNU Toolchain on Ubuntu 22.04 | Lindevs
November 14, 2023 - You are doing a bit more than only extend the PATH variable. You are echoing the command to extend the PATH variable onto stdin then capture it via tee and put it (append it) into a file called gcc-arm-none-eabi.sh which resides in the path /etc/profile.d/.
🌐
DevManuals
devmanuals.net › install › ubuntu › ubuntu-16-04-LTS-Xenial-Xerus › how-to-install-gcc-arm-none-eabi.html
How to install gcc-arm-none-eabi On Ubuntu 16.04 Lts? Uninstall and remove gcc-arm-none-eabi Package
Learn how to uninstall and completely remove the package gcc-arm-none-eabi from Ubuntu 16.04 LTS Operating System. ... Above command will download the package lists for Ubuntu 16.04 on your system. This will update the list of newest versions of packages and its dependencies on your system. After downloading the latest package list with the help of above you can run the installation ...
🌐
Arm Learning
learn.arm.com › install-guides › gcc › arm-gnu
Arm GNU Toolchain: Install Guide
Install the Arm GNU Toolchain on Linux, macOS, or Windows for bare-metal and embedded Arm targets such as arm-none-eabi.
🌐
Quora
quora.com › How-do-you-install-arm-none-Eabi-GDB-on-Ubuntu-20-04-LTS-Focal-Fossa-apt-gcc-arm-Ubuntu
How to install arm none Eabi GDB on Ubuntu 20.04 LTS (Focal Fossa, apt, gcc, arm, Ubuntu) - Quora
Answer: Hi, typically you can download the ARM GNU Tool chain directly from ARM. This tool chain can be found here, be sure to select the correct download for your personal computers’ architecture. Once downloaded, you should be able to simply extract the contents of the download archive and plac...
🌐
Apache
mynewt.apache.org › latest › get_started › native_install › cross_tools.html
Installing the Cross Tools for ARM — Apache Mynewt latest documentation
$ ls -al /usr/local/bin/arm-none-eabi-gdb lrwxr-xr-x 1 aditihilbert admin 69 Sep 22 17:16 /usr/local/bin/arm-none-eabi-gdb -> /usr/local/Cellar/gcc-arm-none-eabi-49/20150609/bin/arm-none-eabi-gdb · Note: If no version is specified, brew will install the latest version available. On a Debian-based Linux distribution, gcc 4.9.3 for ARM can be installed with apt-get as documented below. The steps are explained in depth at https://launchpad.net/~team-gcc-arm-embedded/+archive/ubuntu/ppa.
🌐
Codelv
codelv.com › blog › 2021 › 1 › installing-arm-embedded-toolchain-on-ubuntu-20-04
Installing arm embedded toolchain on ubuntu 20.04 - CodeLV
January 22, 2021 - Here's the way to "install" the latest versions on ubuntu 20.04. If you have the old one installed, remove that first using: ... Go to arm's developer tools and download the one for your arch. Extract it to your folder of choice. Edit your .bashrc file and add the bin folder to the path variable ...
🌐
Byran
byran.tech › html › how-to-install-arm-eabi-none-gdb-on-ubuntu.html
How to install arm-eabi-none-gdb on Ubuntu | byran.tech
July 1, 2022 - Note: you may want to try this install script in the form of a .deb file (Debian based only): https://gitlab.com/alelec/arm-none-eabi-gcc-deb/-/releases