How To Install citation-style-language-locales on Ubuntu 18.04

In this tutorial we learn how to install citation-style-language-locales on Ubuntu 18.04. citation-style-language-locales is Citation Style Language (CSL) citation locales

Introduction

In this tutorial we learn how to install citation-style-language-locales on Ubuntu 18.04.

What is citation-style-language-locales

citation-style-language-locales is:

Citation Style Language (CSL) is a popular open XML-based language to describe the formatting of citations and bibliographies. This package includes all available locales files from CitationStyles.org.

There are three methods to install citation-style-language-locales 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 citation-style-language-locales Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install citation-style-language-locales using apt-get by running the following command:

sudo apt-get -y install citation-style-language-locales

Install citation-style-language-locales Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install citation-style-language-locales using apt by running the following command:

sudo apt -y install citation-style-language-locales

Install citation-style-language-locales 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 citation-style-language-locales using aptitude by running the following command:

sudo aptitude -y install citation-style-language-locales

How To Uninstall citation-style-language-locales on Ubuntu 18.04

To uninstall only the citation-style-language-locales package we can use the following command:

sudo apt-get remove citation-style-language-locales

Uninstall citation-style-language-locales And Its Dependencies

To uninstall citation-style-language-locales and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove citation-style-language-locales

Remove citation-style-language-locales Configurations and Data

To remove citation-style-language-locales configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge citation-style-language-locales

Remove citation-style-language-locales configuration, data, and all of its dependencies

We can use the following command to remove citation-style-language-locales configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge citation-style-language-locales

References

Summary

In this tutorial we learn how to install citation-style-language-locales package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.