librarian-puppet command not found

In this troubleshooting guide we learn how to fix librarian-puppet command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

librarian-puppet: command not found

or when using sudo you get the following error message

sudo: librarian-puppet: command not found

Solutions to librarian-puppet: command not found

How To Fix librarian-puppet: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu librarian-puppet is provided by librarian-puppet-simple package.

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.

To fix this problem, we can install more using the command below.

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

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install librarian-puppet-simple.

sudo apt -y install librarian-puppet-simple

Or if you have aptitude installed you can use the following command.

sudo aptitude install librarian-puppet-simple

Summary

In this tutorial we learn how to fix librarian-puppet command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.