How to Uninstall or Install fpc-3.2.0 Ubuntu 22.04

Updated: October 20, 2022

The Free Pascal Compiler is an Object Pascal compiler supporting both Delphi and Turbo Pascal 7.0 dialects, as well as Mac Pascal dialects. It provides a completely portable RunTime Library (RTL) available on many platforms and compatible with Turbo Pascal, along with a platform-independent class-based Free Component Library (FCL) adding many Delphi extensions and interfacing with many popular open source libraries. I will show you how to install fpc-3.2.0 on Ubuntu 22.04 in this tutorial.

Software Requirement

  • Operating system: Ubuntu 22.04 or older Ubuntu versions
  • Privileges: Make sure you are able to execute sudo commands.

Prerequisites to install fpc-3.2.0 on Ubuntu 22.04

Install fpc-3.2.0 Ubuntu 22.04

fpc-3.2.0 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 you believe is simple and easy to follow.

Install fpc-3.2.0 using APT

This is a popular method for installing Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these steps to get fpc-3.2.0 on your Ubuntu.

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. Launch the terminal and enter the following Linux command:

sudo apt-get -y update

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

sudo apt install fpc-3.2.0

Install fpc-3.2.0 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-get -y install aptitude

After that, you can now install fpc-3.2.0 by following these steps:

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: Install the package on Ubuntu 22.04. After updating, you can install fpc-3.2.0 Ubuntu by executing this command in the terminal.

sudo aptitude install fpc-3.2.0

Uninstall fpc-3.2.0 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 fpc-3.2.0.

This command can be used to uninstall fpc-3.2.0 from Ubuntu 22.04 if it was installed using APT or Aptitude.

sudo apt remove --auto-remove fpc-3.2.0

If you want to uninstall fpc-3.2.0 and remove its data and dependencies, you can also run the following command:

sudo apt autoremove --purge fpc-3.2.0

Summary

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