Last active
April 21, 2024 13:40
-
-
Save andjc/ba84da258e7dbb5c2e4ee5b7adf2e1b2 to your computer and use it in GitHub Desktop.
Setup instructions for a Ubuntu 23.10 hashicorp vagrant box
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
Author
Author
Adding the custom ckb_IQ@academy locale:
cd /usr/share/i18n/
sudo wget https://raw.githubusercontent.com/enabling-languages/python-i18n/main/rules/collation/glibc/ckb_IQ%40academy
sudo localedef -i ckb_IQ@academy -c -f UTF-8 ckb_IQ@academy
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To check enabled locales:
localectl list-localesorlocale -aTo check current locale settings:
localectl statusorlocaleTo check available locales:
localectl list-localesormore /usr/share/i18n/SUPPORTEDTo install new locales, via terminal:
Alternatively:
/etc/locale.gen, uncommenting the locales you want to build:sudo vim /etc/locale.gensudo locale-genTo install new locales via GUI:
sudo dpkg-reconfigure localesTo change default/system locale:
sudo localectl set-locale ckb_IQ.UTF-8orsudo update-locale LANG=ckb_IQ.UTF-8. Or you can be more specific:sudo localectl set-locale LC_CTYPE=C.UTF-8. You can individually setLANG,LC_CTYPE,LC_NUMERIC,LC_TIME,LC_COLLATE,LC_MONETARY,LC_MESSAGES,LC_PAPER,LC_NAME,LC_ADDRESS,LC_TELEPHONE,LC_MEASUREMENT, orLC_IDENTIFICATION.