Install debian

Install Golf on Debian
For Debian-like distributions (like Ubuntu or LinuxMint):
- Install git
sudo apt update
sudo apt -y install git

- Download Golf
git clone https://github.com/golf-lang/golf.git
cd golf
git checkout 165

- Install dependencies
sudo apt -y install make gcc libssl-dev curl tar pkg-config libxml2-dev libcurl4 libcurl4-openssl-dev libmariadb-dev zlib1g-dev libfcgi-bin libfcgi-dev libpq-dev libsqlite3-dev libpcre2-dev

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

See also
Download and build
install  
install-arch  
install-debian  
install-fedora  
install-opensuse  
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.