Ways to Install or Uninstall asymptote on Ubuntu 22.04

Updated: September 1, 2022

Asymptote is a powerful script-based vector graphics language for technical drawings, inspired by MetaPost but with an improved C++-like syntax. Asymptote provides for figures the same high-quality level of typesetting that LaTeX does for scientific text. In this guide, I will show you ways to install asymptote Ubuntu 22.04.

Requirements

  • OS: Ubuntu 22.04 or older versions with more than 2GB RAM
  • Privileges: Ascertain that you are able to execute sudo commands.

Prerequisites to install asymptote on Ubuntu 22.04

Install asymptote Ubuntu 22.04

asymptote 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 asymptote 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 asymptote on your Ubuntu.

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

sudo apt -y update

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

sudo apt-get install asymptote

Install asymptote using Aptitude

You must run this command to install Aptitude if you haven’t already done so on Ubuntu.

sudo apt -y install aptitude

Then, you can now install asymptote, just following these steps:

Step 1: 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 asymptote Ubuntu by executing this command in the terminal.

sudo aptitude -y install asymptote

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

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

sudo apt remove --auto-remove asymptote

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

sudo apt autoremove --purge asymptote

Summary

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