Install textshaping package in ubuntu 22.04 and earlier
sudo apt install libharfbuzz-dev libfribidi-dev libtiff5-dev Then you can install textshaping package On older Ubuntu releases before 22.04, you might have to cha nge it to: sudo apt install libharfbuzz-dev libfribidi-dev libtiff4-dev