How To Install libmarc-parser-raw-perl on Ubuntu 22.04
Introduction
In this tutorial we learn how to install libmarc-parser-raw-perl
on Ubuntu 22.04.
What is libmarc-parser-raw-perl
libmarc-parser-raw-perl is:
MARC::Parser::RAW is a lightweight, fault tolerant parser for ISO 2709 encoded MARC records. Tags, indicators and subfield codes are not validated against the MARC standard. Record length from leader and field lengths from the directory are ignored. Records with a faulty structure will be skipped with a warning. The resulting data structure is optimized for usage with the Catmandu data toolkit.
There are three methods to install libmarc-parser-raw-perl
on Ubuntu 22.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 libmarc-parser-raw-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-parser-raw-perl
using apt-get
by running the following command:
sudo apt-get -y install libmarc-parser-raw-perl
Install libmarc-parser-raw-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libmarc-parser-raw-perl
using apt
by running the following command:
sudo apt -y install libmarc-parser-raw-perl
Install libmarc-parser-raw-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 libmarc-parser-raw-perl
using aptitude
by running the following command:
sudo aptitude -y install libmarc-parser-raw-perl
How To Uninstall libmarc-parser-raw-perl on Ubuntu 22.04
To uninstall only the libmarc-parser-raw-perl
package we can use the following command:
sudo apt-get remove libmarc-parser-raw-perl
Uninstall libmarc-parser-raw-perl And Its Dependencies
To uninstall libmarc-parser-raw-perl
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove libmarc-parser-raw-perl
Remove libmarc-parser-raw-perl Configurations and Data
To remove libmarc-parser-raw-perl
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge libmarc-parser-raw-perl
Remove libmarc-parser-raw-perl configuration, data, and all of its dependencies
We can use the following command to remove libmarc-parser-raw-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libmarc-parser-raw-perl
References
Summary
In this tutorial we learn how to install libmarc-parser-raw-perl
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.