How To Install liblibrary-callnumber-lc-perl on Ubuntu 20.04

In this tutorial we learn how to install liblibrary-callnumber-lc-perl on Ubuntu 20.04. liblibrary-callnumber-lc-perl is utility functions to deal with Library-of-Congress call numbers

Introduction

In this tutorial we learn how to install liblibrary-callnumber-lc-perl on Ubuntu 20.04.

What is liblibrary-callnumber-lc-perl

liblibrary-callnumber-lc-perl is:

Library::CallNumber::LC is mostly designed to do call number normalization, with the following goals:

  • The normalized call numbers are comparable with each other, for proper sorting
  • The normalized call number is a short as possible, so left-anchored wildcard searches are possible (e.g., searching on “A11*” should give you all the A11 call numbers)
  • A range defined by start_of_range and end_of_range should be correct, assuming that the string given for the end of the range is, in fact, a left prefix

That last point needs some explanation. The idea is that if someone gives a range of, say, A-AZ, what they really mean is A - AZ9999.99. The end_of_range method pads the given call number out to three cutters if need be. There is no attempt to make end_of_range normalization correspond to anything in real life.

There are three methods to install liblibrary-callnumber-lc-perl on Ubuntu 20.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 liblibrary-callnumber-lc-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 liblibrary-callnumber-lc-perl using apt-get by running the following command:

sudo apt-get -y install liblibrary-callnumber-lc-perl

Install liblibrary-callnumber-lc-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install liblibrary-callnumber-lc-perl using apt by running the following command:

sudo apt -y install liblibrary-callnumber-lc-perl

Install liblibrary-callnumber-lc-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 liblibrary-callnumber-lc-perl using aptitude by running the following command:

sudo aptitude -y install liblibrary-callnumber-lc-perl

How To Uninstall liblibrary-callnumber-lc-perl on Ubuntu 20.04

To uninstall only the liblibrary-callnumber-lc-perl package we can use the following command:

sudo apt-get remove liblibrary-callnumber-lc-perl

Uninstall liblibrary-callnumber-lc-perl And Its Dependencies

To uninstall liblibrary-callnumber-lc-perl and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove liblibrary-callnumber-lc-perl

Remove liblibrary-callnumber-lc-perl Configurations and Data

To remove liblibrary-callnumber-lc-perl configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge liblibrary-callnumber-lc-perl

Remove liblibrary-callnumber-lc-perl configuration, data, and all of its dependencies

We can use the following command to remove liblibrary-callnumber-lc-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge liblibrary-callnumber-lc-perl

References

Summary

In this tutorial we learn how to install liblibrary-callnumber-lc-perl package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.