How To Install libaccessors-perl on Debian 9
Introduction
In this tutorial we learn how to install libaccessors-perl
on Debian 9.
What is libaccessors-perl
libaccessors-perl is:
The accessors pragma lets you create simple accessors at compile-time.
This saves you from writing them by hand, which tends to result in cut-n-paste errors and a mess of duplicated code. It can also help you reduce the ammount of unwanted direct-variable access that may creep into your codebase when you’re feeling lazy. accessors was designed with laziness in mind.
Method-chaining accessors are generated by default. Note that you can still use accessors::chained directly for reasons of backwards compatibility.
See accessors::classic for accessors that always return the current value if you don’t like method chaining.
There are three methods to install libaccessors-perl
on Debian 9. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libaccessors-perl Using apt-get
Update apt database with apt-get
using the following command.
After updating apt database, We can install libaccessors-perl
using apt-get
by running the following command:
Install libaccessors-perl Using apt
Update apt database with apt
using the following command.
After updating apt database, We can install libaccessors-perl
using apt
by running the following command:
Install libaccessors-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 Debian. Update apt database with aptitude
using the following command.
After updating apt database, We can install libaccessors-perl
using aptitude
by running the following command:
How To Uninstall libaccessors-perl on Debian 9
To uninstall only the libaccessors-perl
package we can use the following command:
Uninstall libaccessors-perl And Its Dependencies
To uninstall libaccessors-perl
and its dependencies that are no longer needed by Debian 9, we can use the command below:
Remove libaccessors-perl Configurations and Data
To remove libaccessors-perl
configuration and data from Debian 9 we can use the following command:
Remove libaccessors-perl configuration, data, and all of its dependencies
We can use the following command to remove libaccessors-perl
configurations, data and all of its dependencies, we can use the following command:
Dependencies
libaccessors-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libaccessors-perl
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.