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 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 |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To check enabled locales:
localectl list-locales
orlocale -a
To check current locale settings:
localectl status
orlocale
To check available locales:
localectl list-locales
ormore /usr/share/i18n/SUPPORTED
To install new locales, via terminal:
Alternatively:
/etc/locale.gen
, uncommenting the locales you want to build:sudo vim /etc/locale.gen
sudo locale-gen
To install new locales via GUI:
sudo dpkg-reconfigure locales
To change default/system locale:
sudo localectl set-locale ckb_IQ.UTF-8
orsudo 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
.