Install golf from source using zypper

Get latest Golf source code
You must have git installed. Get Golf source code for the latest version:
sudo zypper --non-interactive in git
git clone --depth 1 https://github.com/golf-lang/golf.git
cd golf

Install dependencies
sudo zypper --non-interactive in --replacefiles --force-resolution rpm-build
sudo zypper -n install $(rpmspec --parse golf-lang.spec | grep BuildRequires|sed 's/^.*:\(.*\)$/\1/g')

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-from-source-using-apt  
install-golf-from-source-using-dnf  
install-golf-from-source-using-pacman  
install-golf-from-source-using-zypper  
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.