Ways to Uninstall or Install plantuml Ubuntu 22.04

Updated: August 28, 2022

PlantUML is a program allowing to draw UML diagrams, using a simple human readable text description. I will show you how to install plantuml on Ubuntu 22.04 in this guide.

Requirements to install

  • OS: Ubuntu 22.04 or older Ubuntu versions
  • Privileges: Verify that you can execute the sudo commands line.

Prerequisites to install plantuml on Ubuntu 22.04

Install plantuml Ubuntu 22.04

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

This is one of the popular ways to install any Ubuntu packages because it is simple to understand, even if you are a Linux novice. Following these steps to get plantuml on your Ubuntu 22.04.

Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Update the APT database to fetch new packages from Ubuntu. Opening the terminal and executing the following Linux command:

sudo apt-get -y update

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

sudo apt install plantuml

Install plantuml using Aptitude

With Aptitude, users can view a list of available packages and manage their installation, upgrade, and removal of packages. If you didn’t install it on Ubuntu, you need to install it by executing this command.

sudo apt install aptitude

After installing it, you can now install plantuml, just following these steps:

Step 1: Update the APT database to fetch new packages from Ubuntu. Opening the terminal and executing this Linux command:

sudo apt-get update

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

sudo aptitude -y install plantuml

Uninstall plantuml on Ubuntu 22.04

Have you ever thought that uninstalling an application from Ubuntu is difficult? You are mistaken; Anyone can easily uninstall any program, not just plantuml.

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

sudo apt remove --auto-remove plantuml

If you want to uninstall plantuml and delete its data and dependencies, you can also run the following command:

sudo apt autoremove --purge plantuml

Ending

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