Ways to Uninstall or Install thonny Ubuntu 22.04

Updated: September 17, 2022

Thonny is a simple Python IDE with features useful for learning programming. In this guide, I will show you ways to install thonny 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 thonny on Ubuntu 22.04

Install thonny Ubuntu 22.04

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

Install thonny using APT

This is one of the most popular methods for installing Ubuntu packages since it is simple to understand, even if you are a Linux novice. Following these instructions to install thonny on your Ubuntu 22.04.

Step 1: Update the APT database to fetch new packages from Ubuntu. Launching the terminal and entering the following Linux command:

sudo apt -y update

Step 2: Install the package on Ubuntu 22.04. After updating, you can install thonny Ubuntu by pasting this command into the terminal and pressing Enter.

sudo apt-get install thonny

Install thonny using Aptitude

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

sudo apt install aptitude

Then, you can now install thonny, just 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. Opening the terminal and executing this Linux command:

sudo apt -y update

Step 2: Start installing the packages on Ubuntu 22.04. You can now install thonny Ubuntu by executing this command in the terminal.

sudo aptitude -y install thonny

Uninstall thonny on Ubuntu 22.04

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

If you installed thonny using APT or Aptitude, you could uninstall thonny on Ubuntu by executing this command

sudo apt remove --auto-remove thonny

To uninstall thonny and remove its data and dependencies, you can also use the following command:

sudo apt autoremove --purge thonny

Ending

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