How To Install libmarc-record-perl on Debian 9
Introduction
In this tutorial we learn how to install libmarc-record-perl
on Debian 9.
What is libmarc-record-perl
libmarc-record-perl is:
The MARC::* series of modules create a simple object-oriented abstraction of MARC record handling. The files are:
MARC::Doc::Tutorial A tutorial explaining how to use MARC::Record.
MARC::Record The core class for representing a single MARC record.
MARC::Field Another core class for representing a single field in a record.
MARC::Batch The basic object for access to a batch of one or more MARC records.
MARC::File Base class for the MARC file.
MARC::File::USMARC MARC::File::MicroLIF Subclasses of MARC::File specific to the USMARC and MicroLIF formats
MARC::Lint Extension to check MARC records for validity.
There are three methods to install libmarc-record-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 libmarc-record-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 libmarc-record-perl
using apt-get
by running the following command:
sudo apt-get -y install libmarc-record-perl
Install libmarc-record-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libmarc-record-perl
using apt
by running the following command:
sudo apt -y install libmarc-record-perl
Install libmarc-record-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.
sudo aptitude update
After updating apt database, We can install libmarc-record-perl
using aptitude
by running the following command:
sudo aptitude -y install libmarc-record-perl
How To Uninstall libmarc-record-perl on Debian 9
To uninstall only the libmarc-record-perl
package we can use the following command:
sudo apt-get remove libmarc-record-perl
Uninstall libmarc-record-perl And Its Dependencies
To uninstall libmarc-record-perl
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove libmarc-record-perl
Remove libmarc-record-perl Configurations and Data
To remove libmarc-record-perl
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge libmarc-record-perl
Remove libmarc-record-perl configuration, data, and all of its dependencies
We can use the following command to remove libmarc-record-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libmarc-record-perl
Dependencies
libmarc-record-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libmarc-record-perl
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.