Skip to content

Instantly share code, notes, and snippets.

@andjc
Last active April 21, 2024 13:40
Show Gist options
  • Save andjc/ba84da258e7dbb5c2e4ee5b7adf2e1b2 to your computer and use it in GitHub Desktop.
Save andjc/ba84da258e7dbb5c2e4ee5b7adf2e1b2 to your computer and use it in GitHub Desktop.
Setup instructions for a Ubuntu 23.10 hashicorp vagrant box
sudo apt-get update
sudo apt-get install -y unzip git cmake python3-pip python3.11-venv libfreetype6-dev libharfbuzz-dev libfribidi-dev meson gtk-doc-tools libcairo2-dev libfontconfig-dev libjpeg-dev zlib1g-dev libpng-dev libtiff5-dev libfreetype6-dev liblcms2-dev libwebp-dev libxcb1-dev
mkdir ~/tmp
cd tmp
git clone https://github.com/HOST-Oman/libraqm.git
git clone https://github.com/ninja-build/ninja.git
cd ninja
./configure.py --bootstrap
cmake -Bbuild-cmake
cmake --build build-cmake
cd ~/tmp/libraqm
meson build
ninja -C build
sudo ninja -C build install
python3 -m venv ~/venv/ckb
source ~/venv/ckb/bin/activate
pip install -U wheel setuptools pip
pip install -U pillow matplotlib mplcairo seaborn wordcloud pyfribidi PyICU regex unicodedataplus
cd ~
rm -rf ~/tmp
@andjc
Copy link
Author

andjc commented Apr 16, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment