namecheap command not found

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

Introduction

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

namecheap: command not found

or when using sudo you get the following error message

sudo: namecheap: command not found

Solutions to namecheap: command not found

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

In Ubuntu namecheap is provided by namecheap package.

namecheap is:

This package provides a command line tool which supports registering a domain, checking domain name availability, listing registered domains, getting contact information for a domain, setting DNS info to default values and setting DNS host records.

This package installs the CLI tool for Python 2.

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

sudo apt-get -y install namecheap

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

You can also use apt command to install namecheap.

sudo apt -y install namecheap

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

sudo aptitude install namecheap

Summary

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