How to Uninstall and Install picolibc-aarch64-linux-gnu Ubuntu 22.04

Updated: October 21, 2022

PicoLibc is a combination of Newlib and AVR libc bits designed for small-RAM embedded systems. This package has binaries for ARM 64-bit processors. In this guide, I will show you how to install picolibc-aarch64-linux-gnu on Ubuntu 22.04.

Software Requirement

  • OS: Ubuntu 22.04 or older Ubuntu versions
  • Privileges: Ensure that you are able to execute the sudo commands line.

Prerequisites to install picolibc-aarch64-linux-gnu on Ubuntu 22.04

Install picolibc-aarch64-linux-gnu Ubuntu 22.04

picolibc-aarch64-linux-gnu is one of the popular ways on Ubuntu now so that this tutorial will show you how to install it in various ways. Choose the one that you think is easy and you can follow.

Install picolibc-aarch64-linux-gnu using APT

This is a popular method for installing any Ubuntu packages because it is simple to understand, even if you are a Linux beginner. Following these instructions to get picolibc-aarch64-linux-gnu on your Ubuntu.

Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Update the APT database to fetch new packages from Ubuntu. Opening the terminal and executing this Linux command:

sudo apt -y update

Step 2: Start the package installation on Ubuntu 22.04. You can now install picolibc-aarch64-linux-gnu Ubuntu by executing this command in the terminal.

sudo apt -y install picolibc-aarch64-linux-gnu

Install picolibc-aarch64-linux-gnu using Aptitude

If you haven’t already installed Aptitude on Ubuntu, run this command to do so.

sudo apt -y install aptitude

Then, you can now install picolibc-aarch64-linux-gnu, just following these steps:

Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Obtain new packages from Ubuntu by updating the APT database. Launching the terminal and entering the following Linux command:

sudo apt -y update

Step 2: Start the package installation on Ubuntu 22.04. You can now install picolibc-aarch64-linux-gnu Ubuntu by executing this command in the terminal.

sudo aptitude -y install picolibc-aarch64-linux-gnu

Uninstall picolibc-aarch64-linux-gnu on Ubuntu 22.04

Have you ever considered how difficult it is to uninstall an application from Ubuntu? You are mistaken; anyone, not just package administrators, can easily uninstall any program.

If you installed picolibc-aarch64-linux-gnu using APT or Aptitude, you could uninstall picolibc-aarch64-linux-gnu on Ubuntu by executing this command

sudo apt remove --auto-remove picolibc-aarch64-linux-gnu

You can also execute this command if you want to uninstall picolibc-aarch64-linux-gnu and remove its data and dependencies:

sudo apt autoremove --purge picolibc-aarch64-linux-gnu

Ending

In this tutorial, I showed you ways to install picolibc-aarch64-linux-gnu on Ubuntu 22.04 and some ways to uninstall picolibc-aarch64-linux-gnu too. Please do not hesitate to contact me if you require assistance. I’m delighted to respond.