gox command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
gox: command not found
or when using sudo you get the following error message
sudo: gox: command not found
Solutions to gox: command not found
How To Fix gox: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu gox is provided by gox package.
gox is:
Gox is a cross compiling build tool for Go which makes it possible to produce binaries for foreign platforms without having to install Go on the targeted system. Several operating systems and architectures are supported, while parallel building on multiple cores is possible.
To fix this problem, we can install more using the command below.
sudo apt-get -y install gox
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install gox.
sudo apt -y install gox
Or if you have aptitude installed you can use the following command.
sudo aptitude install gox
Summary
In this tutorial we learn how to fix gox command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.