Ways to Install or Uninstall libast-dev on Ubuntu 22.04

Updated: October 30, 2022

This is a virtual package. See the Debian policy for a definition of virtual packages. I will show you how to install libast-dev on Ubuntu 22.04 in this tutorial.

Prerequisites to install

  • OS: Ubuntu 22.04 is needed for libast-dev to work
  • Privileges: Ensure that you are able to execute the sudo commands line.

Prerequisites to install libast-dev on Ubuntu 22.04

Install libast-dev Ubuntu 22.04

libast-dev 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 libast-dev using APT

This is one of the popular ways to install any Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these instructions to install libast-dev on your Ubuntu 22.04.

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

sudo apt-get update

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

sudo apt-get install libast-dev

Install libast-dev using Aptitude

Users can manage their installation, upgrade, and removal of packages with Aptitude and view a list of the packages that are currently available. You must run this command to install it if you haven’t already done so on Ubuntu.

sudo apt install aptitude

After that, you can now install libast-dev, just following these steps:

Step 1: You must update the APT package repository cache before attempting 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-get -y update

Step 2: Start the package installation on Ubuntu 22.04. After updating, you can install libast-dev Ubuntu by pasting this command into the terminal and executing it.

sudo aptitude -y install libast-dev

Uninstall libast-dev on Ubuntu 22.04

Have you ever thought that uninstalling an application from Ubuntu might be challenging? You’re wrong; any program, not just a libast-dev, can be easily uninstalled by anyone.

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

sudo apt remove --auto-remove libast-dev

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

sudo apt autoremove --purge libast-dev

Ending

In this guide, I showed you ways to install libast-dev on Ubuntu 22.04 and some ways to uninstall libast-dev too. If you need any help, don’t hesitate to contact me. I’m very glad to answer them.