If you'd like to create a Golf installation package for Ubuntu or Debian (or similar based on those), first get Golf source code. To do that, install git first:
sudo apt update
sudo apt install git
Then get Golf source code:
git clone https://github.com/golf-lang/golf.git
cd golf
Before you can create a package, you must first install Debian tools:
sudo apt update
sudo apt -y install devscripts equivs build-essential lintian
Next, get the dependencies for Golf (i.e. packages needed to build it):
mk-build-deps -i -s sudo debian/control
The Golf source code already contains necessary debian control (and other) files to produce a .deb package. So you can just do this from command line:
debuild -i -us -uc -b
In the parent directory, this will produce file golf_<version>_amd64.deb (where <version> is the Golf's current version), and you can now copy that file to another system with the same Linux installed, and install Golf with:
sudo apt update
sudo apt install ../golf_<version>_amd64.deb