How To Install libffi-platypus-perl on Ubuntu 18.04
Introduction
In this tutorial we learn how to install libffi-platypus-perl on Ubuntu 18.04.
What is libffi-platypus-perl
libffi-platypus-perl is:
FFI::Platypus is a library for creating interfaces to machine code libraries written in languages like C, C++, Fortran, Rust, Pascal. Essentially anything that gets compiled into machine code. This implementation uses libffi to accomplish this task. libffi is battle tested by a number of other scripting and virtual machine languages, such as Python and Ruby to serve a similar role.
There are three methods to install libffi-platypus-perl on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install libffi-platypus-perl Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install libffi-platypus-perl using apt-get by running the following command:
sudo apt-get -y install libffi-platypus-perl
Install libffi-platypus-perl Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install libffi-platypus-perl using apt by running the following command:
sudo apt -y install libffi-platypus-perl
Install libffi-platypus-perl Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.
sudo aptitude update
After updating apt database, We can install libffi-platypus-perl using aptitude by running the following command:
sudo aptitude -y install libffi-platypus-perl
How To Uninstall libffi-platypus-perl on Ubuntu 18.04
To uninstall only the libffi-platypus-perl package we can use the following command:
sudo apt-get remove libffi-platypus-perl
Uninstall libffi-platypus-perl And Its Dependencies
To uninstall libffi-platypus-perl and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove libffi-platypus-perl
Remove libffi-platypus-perl Configurations and Data
To remove libffi-platypus-perl configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge libffi-platypus-perl
Remove libffi-platypus-perl configuration, data, and all of its dependencies
We can use the following command to remove libffi-platypus-perl configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libffi-platypus-perl
References
Summary
In this tutorial we learn how to install libffi-platypus-perl package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.