gopass command not found

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

Introduction

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

gopass: command not found

or when using sudo you get the following error message

sudo: gopass: command not found

Solutions to gopass: command not found

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

In Ubuntu gopass is provided by gopass package.

gopass is:

gopass is a Pass (http://www.passwordstore.org/) implementation in Go.

Password management should be simple and follow Unix philosophy. With gopass, each password lives inside of a gpg encrypted file whose filename is the title of the website or resource that requires the password. These encrypted files may be organized into meaningful folder hierarchies, copied from computer to computer, and, in general, manipulated using standard command line file management utilities.

This package is not gopass.pw (similar project with the same name).

This package contains the gopass executable.

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

sudo apt-get -y install gopass

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

You can also use apt command to install gopass.

sudo apt -y install gopass

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

sudo aptitude install gopass

Summary

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