GOLF(2gg)

πŸ“¦ version 601.4.41, in ubuntu questing

πŸ’– GOLF(2gg) πŸ’–

okay bestie, this is the Development section of the manual, and honestly? we're about to get your whole life together. 🫢


✨ NAME ✨

install-from-source-arch-manjaro β€” Golf documentation (install-golf)

like. that's the whole name. she's long, she's specific, she ate. πŸ’…


🌸 DESCRIPTION 🌸

πŸŽ€ GET LATEST GOLF SOURCE CODE πŸŽ€

first things first, bestie: you must have git installed. no git, no glory. once you've got that sorted, go grab the Golf source code for the latest version:

sudo pacman -Sy --noconfirm 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

download it, unpack it, walk into the folder like you own the place. main character energy fr fr. πŸ‘‘

πŸ¦‹ INSTALL DEPENDENCIES πŸ¦‹

next up, the dependencies. we're sourcing the PKGBUILD (yes, with the dot, don't skip the dot, that's the whole vibe) and then letting pacman do its lil thing:

. ./PKGBUILD
sudo pacman -Sy --noconfirm debugedit ${depends[@]}

${depends[@]} is pulling straight from the PKGBUILD you just sourced, so the order here is literally not optional. it's giving "sequence matters". ✨

🌈 BUILD GOLF 🌈

okay now the actual build. clean it, make it, install it. three steps, no notes:

make clean
make
sudo make install

and yes, make install needs sudo, bestie. we're not out here breaking permissions for fun. πŸ’€

Here's how to uninstall.

🚨 heads up: the page just says "Here's how to uninstall." and then does not, in fact, show you how to uninstall. so that's a thing. no cap. 😭

πŸ’œ SEE ALSO πŸ’œ

Install golf

and the full squad of sibling pages, all of them, alphabetically chaotic as always:

  • 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

and that's the whole page, angel. go build something iconic. 🌸

this lil masterpiece is version $VERSION, dated $DATE, and it lives under the GOLF(2gg) banner. mwah. πŸ’‹
πŸ“¦ where this page comes from