How To Install librarian-puppet-simple on Ubuntu 18.04

In this tutorial we learn how to install librarian-puppet-simple on Ubuntu 18.04. librarian-puppet-simple is simple version of librarian-puppet with most of its commands

Introduction

In this tutorial we learn how to install librarian-puppet-simple on Ubuntu 18.04.

What is librarian-puppet-simple

librarian-puppet-simple is:

librarian-puppet-simple was created out of its author’s frustration with the dependency management in librarian-puppet. Librarian-puppet offers to simplify deployment of a Puppet infrastructure by automatically pulling in modules from the forge and git repositories with a single command. This package only allows one to pin revisions for a collection of modules, and it is also less heavy than librarian-puppet.

librarian-puppet-simple has fewer commands, but they should be compatible with the original librarian-puppet.

Note that you cannot currently install both librarian-puppet and librarian-puppet-simple at the same time.

There are three methods to install librarian-puppet-simple 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 librarian-puppet-simple Using apt-get

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

sudo apt-get update

After updating apt database, We can install librarian-puppet-simple using apt-get by running the following command:

sudo apt-get -y install librarian-puppet-simple

Install librarian-puppet-simple Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install librarian-puppet-simple using apt by running the following command:

sudo apt -y install librarian-puppet-simple

Install librarian-puppet-simple 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 librarian-puppet-simple using aptitude by running the following command:

sudo aptitude -y install librarian-puppet-simple

How To Uninstall librarian-puppet-simple on Ubuntu 18.04

To uninstall only the librarian-puppet-simple package we can use the following command:

sudo apt-get remove librarian-puppet-simple

Uninstall librarian-puppet-simple And Its Dependencies

To uninstall librarian-puppet-simple and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove librarian-puppet-simple

Remove librarian-puppet-simple Configurations and Data

To remove librarian-puppet-simple configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge librarian-puppet-simple

Remove librarian-puppet-simple configuration, data, and all of its dependencies

We can use the following command to remove librarian-puppet-simple configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge librarian-puppet-simple

References

Summary

In this tutorial we learn how to install librarian-puppet-simple package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.