Install golf for ubuntu from source

Get latest Golf source code
Get Golf source code for the latest version:
sudo apt update
sudo apt -y install git
git clone --depth 1 https://github.com/golf-lang/golf.git
cd golf

Install dependencies
sudo apt update
sudo apt -y install devscripts equivs build-essential
yes|mk-build-deps -i -s sudo debian/control

Build Golf
Use DI=1 to build debug version, leave it as-is for production:
make clean
make DI=0
sudo make install

Here's how to uninstall.
See also
Download and build
install-golf-for-redhat-from-source  
install-golf-for-ubuntu-from-source  
uninstall  
See all
documentation


Copyright (c) 2019-2025 Gliim LLC. All contents on this web site is "AS IS" without warranties or guarantees of any kind.