Skip to content

Instantly share code, notes, and snippets.

@ebta
Last active December 27, 2023 03:50
Show Gist options
  • Save ebta/611eac782c0595b24841b0a21f18c24c to your computer and use it in GitHub Desktop.
Save ebta/611eac782c0595b24841b0a21f18c24c to your computer and use it in GitHub Desktop.
Compile Fossil from Source Tarball
# Kompile fossil di Ubuntu Server
# Download fossil source tarball dari halaman download
# https://fossil-scm.org/home/uv/download.html
# Misal untuk versi 2.23
# wget https://fossil-scm.org/home/tarball/47362306a7dd7c6fc3cab77cebe5d25469b0a9448479d9718eb5c49c8337b29/fossil-src-2.23.tar.gz
# extract dengan
tar -xzf fossil-src-2.23.tar.gz
# masuk ke directory extract
cd fossil-src-2.23
# Sebelum kompile dibutuhkan beberapa package
# Install GCC atau CC, zlib1g-dev, libssl-dev, make
sudo apt install gcc zlib1g-dev libssl-dev make
# Jalankan configure
./configure --json --with-openssl=auto
# Build
make
# Install, copy to binary path
sudo cp ./fossil /usr/local/bin
# Test, run from everywhere
fossil version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment