g10k command not found

In this troubleshooting guide we learn how to fix g10k command not found error message

Introduction

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

g10k: command not found

or when using sudo you get the following error message

sudo: g10k: command not found

Solutions to g10k: command not found

How To Fix g10k: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu g10k is provided by g10k package.

g10k is:

g10k provides a general purpose toolset for deploying Puppet environments and modules. It implements the Puppetfile format and provides a native implementation of Puppet dynamic environments. g10k is a rewrite of puppetlabs/r10k in Go with additional optimizations such as:

  • caching support
  • distinct SSH keys for each source
  • parallel cloning and checkout
  • enhanced Puppetfile options It only supports Forge modules and Git repositories.

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

sudo apt-get -y install g10k

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

You can also use apt command to install g10k.

sudo apt -y install g10k

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

sudo aptitude install g10k

Summary

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