Cgo on Linux requires the presence of gcc, which is often installed by other packages in a Linux environment. If executing gcc from a Terminal yields an error such as gcc: command not found, then you'll need to install the gcc package from your system's package manager.