How to Install and Uninstall cherrytree on Ubuntu 22.04

Updated: August 29, 2022

CherryTree is a hierarchical note taking application, featuring rich text, syntax highlighting, images handling, hyperlinks, import/export with support for multiple formats, support for multiple languages, and more. In this guide, I will show you how to install cherrytree on Ubuntu 22.04.

Prerequisites to install

  • Operating system: cherrytree needs Ubuntu 22.04 to work
  • Privileges: Check that you can run sudo commands.

Prerequisites to install cherrytree on Ubuntu 22.04

Install cherrytree Ubuntu 22.04

cherrytree 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 cherrytree using APT

This is one of the most popular methods for installing Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these instructions to get cherrytree 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 download new packages from Ubuntu. Opening the terminal and executing this Linux command:

sudo apt update

Step 2: Install the package on Ubuntu 22.04. You can now install cherrytree Ubuntu by executing this command in the terminal.

sudo apt-get -y install cherrytree

Install cherrytree 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 cherrytree 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 update

Step 2: Start installing the packages on Ubuntu 22.04. After updating the system, you can install cherrytree Ubuntu by executing this command in the terminal.

sudo aptitude install cherrytree

Install cherrytree from Ubuntu Software Center

If you are using Ubuntu 22.04, Software Center Ubuntu should be your next choice. Because it contains many packages, and you can install them very quickly. You can start the installation by following these steps:

Step 1: Opening Ubuntu Software Center from Applications menu

You need to use Super to open the Applications menu, then search for Ubuntu Software and open it.

Step 2: Looking for cherrytree on Ubuntu Software

After opening the Ubuntu Software Center, you need to look for cherrytree by typing its name into the search box and the results will appear. After choosing the package, you can now install cherrytree by clicking the Install button.

Install cherrytree from Software Center on Ubuntu 22.04

Install cherrytree using Snap

Software is delivered to users using self-contained packages known as snaps using the software package and deployment system called Snap. Therefore, Snap enables you to install cherrytree easily. Just pasting this command into the terminal and running it.

sudo snap install cherrytree

Uninstall cherrytree 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 cherrytree.

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

sudo apt remove --auto-remove cherrytree

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

sudo apt autoremove --purge cherrytree

If you used Snap to install cherrytree, you could follow this step:

sudo snap remove cherrytree

Summary

In this guide, I showed you ways to install cherrytree on Ubuntu 22.04 and ways to uninstall cherrytree too. Please contact me if you require any assistance. I’d be delighted to respond.