delete Times Roman fonts from Libreoffice in Ubuntu

I am new to Ubuntu and using version 20.04. I have tried unsuccessfully to install Times Roman fonts in Libreoffice. The installation seemed to be successful, but at the end the button was greyed out so I couldn’t click it. Maybe I clicked “no” in the question half-way though the installation instead of “yes”. I have forgotten. I should now like to delete the fonts, if they are there, and start again but do not know where the fonts may be located. Would it be best to delete Libreoffice and then re-install from scratch and the try again to install the fonts?
Sorry for such a silly qustion !?

Fonts are not installed in applications but in the OS. LO uses whatever font is installed in the system.

How did you install LO? With apt-get or its GUI equivalent? How did you install the font? With a specific installer?

Always use the installer which comes with your distro. This same installer provides for disintalling packages. It will also take care of all dependencies.

Comment to provide additional information. Answers are reserved for solutions.

Fonts are not installed in applications but in the OS

This general rule has exceptions sometimes. One is LibreOffice :slight_smile: Portable builds for windows actually provide a couple of fonts in their directories. Of course, this is not relevant for the discussed case.

Thanks for the reply.

  1. Yes, to install I used the usual apt-get command.
  2. To uninstall, I browsed the web and ended up using what appeared to be a good source but used an unbelievably long command. I quote it here:
    $sudo apt-get remove fonts-opensymbol libreoffice libreoffice -* openoffice.org-dtd-officedocumenrt1.0 python* -uno.uno -lib-3* ure -debug.
  3. I didn’t use a distro. I downloaded from the official website and burnt an iso file onto a DVD.

Spelling mistake in copied command…!
Sorry

System-wide fonts are stored in subdirectories of /usr/share/fonts/truetype (or opentype or type1 or…).
Each typeface has its own subdirectory, eg, Arial or Times, containing the font files (normal, bold, italic etc.).

Necessary permissions:
Font subdirectories: 755 root:root, font files: 644 root:root

They need to be be cached to work correctly, this applies both to newly installed or newly removed fonts. Run this command:

sudo fc-cache -f -v

This should bring your fonts up to date.

LibreOffice will normally use the system-wide fonts.