Cannot install ubuntu font


I’m brand new with Fedora, besides I worked about 20 years with Ubuntu. I cannot install Ubuntu.

  • Tried ln -s /fontfolder /usr/share/fonts/fontfolder;
  • Copied fonts to /usr/share/fonts;
  • Even execute this script:
mkdir /tmp/ubuntu-font-family-0.80
unzip -j -d /tmp/ubuntu-font-family-0.80
rm -f
sudo mkdir /usr/share/fonts/ubuntu
sudo mv /tmp/ubuntu-font-family-0.80/*.ttf /usr/share/fonts/ubuntu
rm -rf /tmp/ubuntu-font-family-0.80
cd /usr/share/fonts/ubuntu
ttmkfdir > fonts.dir
fc-cache -fv

I couldn’t install Ubuntu font.
Any ideas to solve it?

The up-to-date download link is here:

# User profile
wget -c -nc -P "$(xdg-user-dir DOWNLOAD)" \
unzip -o "$(xdg-user-dir DOWNLOAD)/" \
    "ubuntu-font-family-0.83/*.ttf" -d "${HOME}/.local/share/fonts"

# All users
sudo cp -R -f ${HOME}/.local/share/fonts/ubuntu-font-family-0.83 \
sudo chmod 644 /usr/share/fonts/ubuntu-font-family-0.83/*.ttf

# Cleanup
gio trash -f "${HOME}/.local/share/fonts/ubuntu-font-family-0.83" \
    "$(xdg-user-dir DOWNLOAD)/"

Voilà, It worked! I’d rather a system solution, to all users, but this is better than nothing… Thx!

1 Like

I updated the script above.

You may try this:
dnf install
(searched from )

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.