How To Install libalien-sdl-dev-perl on Ubuntu 18.04

In this tutorial we learn how to install libalien-sdl-dev-perl on Ubuntu 18.04. libalien-sdl-dev-perl is helper to build Perl program using SDL libraries

Introduction

In this tutorial we learn how to install libalien-sdl-dev-perl on Ubuntu 18.04.

What is libalien-sdl-dev-perl

libalien-sdl-dev-perl is:

Perl’s idea of a metapackage to provide C library dependencies for Perl SDL application.

When building from source, this package can be used to detect and get configuration settings from an installed SDL and related libraries. As a binary package, it provides information on native libs used when building this package.

Regarding the native C libraries, all packages built with libalien-sdl-perl must have at least the same build dependencies than libalien-sdl-perl. Since this list if not fun to maintain, this metapackage depends on all packages used to build libalien-sdl-perl (and also depends on libalien-sdl-perl).

There are three methods to install libalien-sdl-dev-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 libalien-sdl-dev-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 libalien-sdl-dev-perl using apt-get by running the following command:

sudo apt-get -y install libalien-sdl-dev-perl

Install libalien-sdl-dev-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libalien-sdl-dev-perl using apt by running the following command:

sudo apt -y install libalien-sdl-dev-perl

Install libalien-sdl-dev-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 libalien-sdl-dev-perl using aptitude by running the following command:

sudo aptitude -y install libalien-sdl-dev-perl

How To Uninstall libalien-sdl-dev-perl on Ubuntu 18.04

To uninstall only the libalien-sdl-dev-perl package we can use the following command:

sudo apt-get remove libalien-sdl-dev-perl

Uninstall libalien-sdl-dev-perl And Its Dependencies

To uninstall libalien-sdl-dev-perl and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libalien-sdl-dev-perl

Remove libalien-sdl-dev-perl Configurations and Data

To remove libalien-sdl-dev-perl configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libalien-sdl-dev-perl

Remove libalien-sdl-dev-perl configuration, data, and all of its dependencies

We can use the following command to remove libalien-sdl-dev-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libalien-sdl-dev-perl

References

Summary

In this tutorial we learn how to install libalien-sdl-dev-perl package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.