Scroll to navigation

GOLF(2gg) Development GOLF(2gg)

NAME

install-from-source-opensuse - Golf documentation (install-golf)

DESCRIPTION

GET LATEST GOLF SOURCE CODE

You must have git installed. Get Golf source code for the latest version:

sudo zypper --non-interactive in wget tar
wget "https://github.com/golf-lang/golf/archive/refs/heads/main.tar.gz" -O main.tar.gz
tar xvfz main.tar.gz
cd golf-main

INSTALL DEPENDENCIES

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

BUILD GOLF

make clean
make 
sudo make install

Here's how to uninstall.

SEE ALSO


Install golf

install-arch-manjaro install-debian install-fedora-redhat-rocky-alma-centos-amazon-mageia install-from-source-arch-manjaro install-from-source-debian-ubuntu-raspbian install-from-source-fedora-redhat-rocky-alma-centos-amazon-mageia install-from-source-opensuse install-in-any-folder-arch-manjaro install-in-any-folder-debian-ubuntu-raspbian install-in-any-folder-fedora-redhat-rocky-alma-centos-amazon-mageia install-in-any-folder-opensuse install-opensuse install-raspbian install-ubuntu uninstall See all documentation

$VERSION $DATE