gcp command not found

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

Introduction

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

gcp: command not found

or when using sudo you get the following error message

sudo: gcp: command not found

Solutions to gcp: command not found

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

In Ubuntu gcp is provided by gcp package.

gcp is:

gcp is an advanced command line file copy system with an interface similar to that of cp. It features:

  • transfer progression indication
  • continuous copying on error (skip to next file)
  • copy status logging
  • name mangling to handle target filesystem limitations
  • forced copy serialization
  • transfer lists management

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

sudo apt-get -y install gcp

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

You can also use apt command to install gcp.

sudo apt -y install gcp

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

sudo aptitude install gcp

Summary

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