How to install Microsoft fonts on Ubuntu 16.10? [duplicate]

Solution 1:

The fonts are no longer located at http://downloads.sourceforge.net/corefonts/ and that's why you're getting a 404 error. They are now at https://sourceforge.net/projects/corefonts/files/the%20fonts/final/.

edit: You could probably download the fonts you need at the new directory that I list, and then uncompress the .exe files to get the fonts, and then move the fonts into the ~/.fonts folder.

If you don't have a .fonts directory, create one by typing mkdir ~/.fonts from the terminal application.

You can also find all the Ubuntu-compatible fonts that your heart desires at http://fonts.google.com.

Download the font(s) you like, uncompress them, and move them into the .fonts folder in your home directory.

Solution 2:

It is a permissions error for user "_apt". Please do ...

sudo chown _apt:root /var/lib/update-notifier/package-data-downloads/partial/
sudo rm /var/lib/update-notifier/package-data-downloads/partial/*.FAILED
sudo apt install --reinstall update-notifier-common

The 2nd line might error out if there are no files ending in ".FAILED". The 3rd command will install the fonts.

sudo apt install ttf-mscorefonts-installer

will then show ...

Reading package lists... Done
Building dependency tree       
Reading state information... Done
ttf-mscorefonts-installer is already the newest version (3.4+nmu1ubuntu2).

Solution 3:

You hit bug #1607535. The workaround is to download and install ttf-mscorefonts-installer from Debian.

Solution 4:

I download fonts from https://sourceforge.net/projects/corefonts/files/the%20fonts/final/ and with 7z command I extract .exe files and make a .fonts directory in /home directory where I moved extracted files. Now in LibreOffice I see fonts like Times New Roman. Thanks everybody for help.