How To Install fpc on AlmaLinux 8
Introduction
In this tutorial we learn how to install fpc
on AlmaLinux 8.
What is fpc
Free Pascal is a free 32/64bit Pascal Compiler. It comes with a run-time library and is fully compatible with Turbo Pascal 7.0 and nearly Delphi compatible. Some extensions are added to the language, like function overloading and generics. Shared libraries can be linked. This package contains the command-line compiler and utilities. Provided units are the runtime library (RTL), free component library (FCL) and packages.
We can use yum
or dnf
to install fpc
on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install fpc.
Install fpc on AlmaLinux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install fpc
using dnf
by running the following command:
sudo dnf -y install fpc
Install fpc on AlmaLinux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install fpc
using yum
by running the following command:
sudo yum -y install fpc
How To Uninstall fpc on AlmaLinux 8
To uninstall only the fpc
package we can use the following command:
sudo dnf remove fpc
References
Summary
In this tutorial we learn how to install fpc
on AlmaLinux 8 using yum and dnf.