octocatalog-diff command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
octocatalog-diff: command not found
or when using sudo you get the following error message
sudo: octocatalog-diff: command not found
Solutions to octocatalog-diff: command not found
How To Fix octocatalog-diff: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu octocatalog-diff is provided by octocatalog-diff package.
octocatalog-diff is:
octocatalog-diff is a tool to detect and display differences in Puppet catalogs compiled from different environments. The catalogs may be obtained through any of the following means:
- Compilation using a local puppet instance
- Puppet master 3.x/4.x HTTP API
- PuppetDB HTTP API
- Precompiled JSON catalogs
octocatalog-diff filters out attributes or resources with no effect (e.g. tags) and displays only state differences between the two catalogs. It does not require a working Puppet master (or puppetserver), making it suitable for development use and use in Continuous Integration environments.
To fix this problem, we can install more using the command below.
sudo apt-get -y install octocatalog-diff
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install octocatalog-diff.
sudo apt -y install octocatalog-diff
Or if you have aptitude installed you can use the following command.
sudo aptitude install octocatalog-diff
Summary
In this tutorial we learn how to fix octocatalog-diff command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.