To see the font packages that are installed in a default install of the Ubuntu desktop, you can look at the dependencies of the meta package of your desktop, by default ubuntu-desktop
, or ubuntu-desktop-minimal
:
apt-cache depends ubuntu-desktop | grep fonts-
Depends: fonts-dejavu-core
Depends: fonts-freefont-ttf
Recommends: fonts-indic
Recommends: fonts-kacst-one
Recommends: fonts-khmeros-core
Recommends: fonts-lao
Recommends: fonts-liberation
Recommends: fonts-liberation2
Recommends: fonts-lklug-sinhala
Recommends: fonts-noto-cjk
Recommends: fonts-noto-color-emoji
Recommends: fonts-opensymbol
Recommends: fonts-sil-abyssinica
Recommends: fonts-sil-padauk
Recommends: fonts-thai-tlwg
Recommends: fonts-tibetan-machine
Recommends: fonts-ubuntu
Dependencies are considered core essential fonts for the desktop environment, whereas recommended packages are advised but optional. Ubuntu is configured to, by default, install also the recommended packages.
The command
sudo apt install --reinstall ubuntu-desktop
could automatically reinstall any of these fonts you deleted, but it would also install any other default package you may have removed.
ttf-mscorefonts-installer
installs the Microsoft fonts when it's installed. If they've gone missing, you'll need to uninstall and re-install it to get those fonts again. See https://askubuntu.com/a/463760/652 – TRiG Jul 13 '22 at 15:20