Repository

Looks good to me!

User Tools

Site Tools


Action disabled: diff
kb:intranet:platforms:ubuntu

Ubuntu

As of 2022-12-26, the latest Long Term Support version is 22.04 LTS.

Install Microsoft fonts

For installation of Microsoft fonts, e.g. Arial, Helvetica, use the following set of commands (note, an EULA needs to be accepted interactively):

user:~$ sudo apt install ttf-mscorefonts-installer
user:~$ sudo apt install --reinstall ttf-mscorefonts-installer
user:~$ sudo fc-cache -fv | grep msttcorefonts
/usr/share/fonts/truetype/msttcorefonts: caching, new cache contents: 60 fonts, 0 dirs
/usr/share/fonts/truetype/msttcorefonts: skipping, looped directory detected

The reinstallation is necessary, since during the first run, an attempted install of fonts is performed before the EULA agreement has been accepted. Some online solutions suggest the msttcorefonts package - this is an alias of ttf-mscorefonts-installer. For automated installs, consider running this prior:

user:~$ echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections

If using matplotlib, delete the font cache:

user:~$ rm -rf ~/.cache/matplotlib

Network in 24.04

24.04 uses systemd-networkd for DHCP. To renew lease: sudo networkctl renew eth0

HEIC support

Ubuntu rolls with old versions of the libheif library, which is deprecated as of iOS 18. Imagemagick has libheif as a dependency and will fail.

The library is maintained on GitHub, with the corresponding official PPA at libheif. Installation instructions:

root# add-apt-repository ppa:strukturag/libheif
root# apt install libheif1 heif-gdk-pixbuf heif-thumbnailer
kb/intranet/platforms/ubuntu.txt · Last modified: 38 hours ago ( 5 August 2025) by justin