How To Install fpc-3.2.0 on Kali Linux
Introduction
In this tutorial we learn how to install fpc-3.2.0
on Kali Linux.
What is fpc-3.2.0
fpc-3.2.0 is:
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.
Extensions have been added to the language, such as function overloading, creation and linking of shared libraries, and Delphi language extensions including classes, exceptions, ANSI strings, and open arrays.
This metapackage pulls in all the FPC packages provided for this architecture. Experienced users may instead prefer to install the particular packages they require by hand.
There are three methods to install fpc-3.2.0
on Kali Linux. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install fpc-3.2.0 Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install fpc-3.2.0
using apt-get
by running the following command:
sudo apt-get -y install fpc-3.2.0
Install fpc-3.2.0 Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install fpc-3.2.0
using apt
by running the following command:
sudo apt -y install fpc-3.2.0
Install fpc-3.2.0 Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install fpc-3.2.0
using aptitude
by running the following command:
sudo aptitude -y install fpc-3.2.0
How To Uninstall fpc-3.2.0 on Kali Linux
To uninstall only the fpc-3.2.0
package we can use the following command:
sudo apt-get remove fpc-3.2.0
Uninstall fpc-3.2.0 And Its Dependencies
To uninstall fpc-3.2.0
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove fpc-3.2.0
Remove fpc-3.2.0 Configurations and Data
To remove fpc-3.2.0
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge fpc-3.2.0
Remove fpc-3.2.0 configuration, data, and all of its dependencies
We can use the following command to remove fpc-3.2.0
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge fpc-3.2.0
Dependencies
fpc-3.2.0 have the following dependencies:
- fp-compiler-3.2.0
- fp-ide-3.2.0
- fp-units-base-3.2.0
- fp-units-db-3.2.0
- fp-units-fcl-3.2.0
- fp-units-fv-3.2.0
- fp-units-gfx-3.2.0
- fp-units-gtk2-3.2.0
- fp-units-math-3.2.0
- fp-units-misc-3.2.0
- fp-units-multimedia-3.2.0
- fp-units-net-3.2.0
- fp-units-rtl-3.2.0
References
Summary
In this tutorial we learn how to install fpc-3.2.0
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.