How To Install fpc-source on Kali Linux
Introduction
In this tutorial we learn how to install fpc-source
on Kali Linux.
What is fpc-source
fpc-source 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.
This dependency package always depends on the latest available version of the package containing Free Pascal’s own source code. It is meant to be used by the Lazarus IDE.
There are three methods to install fpc-source
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-source 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-source
using apt-get
by running the following command:
sudo apt-get -y install fpc-source
Install fpc-source Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install fpc-source
using apt
by running the following command:
sudo apt -y install fpc-source
Install fpc-source 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-source
using aptitude
by running the following command:
sudo aptitude -y install fpc-source
How To Uninstall fpc-source on Kali Linux
To uninstall only the fpc-source
package we can use the following command:
sudo apt-get remove fpc-source
Uninstall fpc-source And Its Dependencies
To uninstall fpc-source
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove fpc-source
Remove fpc-source Configurations and Data
To remove fpc-source
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge fpc-source
Remove fpc-source configuration, data, and all of its dependencies
We can use the following command to remove fpc-source
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge fpc-source
Dependencies
fpc-source have the following dependencies:
References
Summary
In this tutorial we learn how to install fpc-source
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.