Ways to Uninstall or Install austin on Ubuntu 22.04

Updated: August 29, 2022

Austin is a Python frame stack sampler for CPython written in pure C. It samples the stack traces of a Python application so that they can be visualised and analysed. As such, it serves the basis for building powerful profilers for Python. In this guide, I will show you how to install austin on Ubuntu 22.04.

Prerequisites to install

  • Operating system: Ubuntu 22.04 or older versions with more than 2GB RAM
  • Privileges: Make sure you are able to execute sudo commands.

Prerequisites to install austin on Ubuntu 22.04

Install austin Ubuntu 22.04

austin is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one that you think is easy and you can follow.

Install austin using APT

This is a popular method for installing Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these steps to get austin on your Ubuntu.

Step 1: 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 installing the packages on Ubuntu 22.04. After updating the system, you can install austin Ubuntu by executing this command in the terminal.

sudo apt-get install austin

Install austin using Aptitude

Aptitude allows users to view a list of available packages and manage package installation, upgrade, and removal. If you haven’t already installed it on Ubuntu, run this command to do so.

sudo apt -y install aptitude

After installing it, you can now install austin by following these steps:

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. Launch the terminal and enter the following Linux command:

sudo apt -y update

Step 2: Install the package on Ubuntu 22.04. After updating the system, you can install austin Ubuntu by pasting this command into the terminal and executing it.

sudo aptitude install austin

Install austin from Ubuntu Software Center

The next option is to use the Ubuntu Software Center to install austin, as it contains a number of packages that are simple to set up for those using Ubuntu 22.04 or earlier Ubuntu versions. Simply taking these actions to start the installation:

Step 1: Opening Ubuntu Software Center from Applications menu

You must press the Super + A key combination. It will display the application menu, where you can view installed applications on your system. You need to search for Ubuntu Software and open it.

Step 2: Look for austin

After Ubuntu Software Center appears, you need to search for austin by typing its name into the search box and choose the first one in the result lists. After that, you can install austin by clicking the Install button.

Install austin from Software Center on Ubuntu 22.04

Install austin using Snap

Snap is a software package and deployment system that uses self-contained packages, or snaps, to deliver software to users. Therefore, Snap enables you to install austin snap easily. Simply pasting this command into the terminal and pressing Enter to run it.

sudo snap install austin --classic

Uninstall austin on Ubuntu 22.04

Have you ever considered how challenging it might be to uninstall an application from Ubuntu? You’re wrong, anyone can easily uninstall any program, not just a austin.

You can uninstall austin Ubuntu by running this command if you installed it using APT or Aptitude.

sudo apt remove --auto-remove austin

You can also execute this command if you want to uninstall austin and remove its data and dependencies:

sudo apt autoremove --purge austin

If you used Snap to install austin, you can execute this command:

sudo snap remove austin

Summary

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