8

When I tried to install the font Tahoma with these commands, I got two errors (permissions denied):

$ cabextract -F 'tahoma*ttf' IELPKTH.CAB
IELPKTH.CAB: WARNING; possible 5592 extra bytes at end of file.
Extracting cabinet: IELPKTH.CAB
  extracting tahoma.ttf
tahoma.ttf: Permission denied
  extracting tahomabd.ttf
tahomabd.ttf: Permission denied

$ wget http://download.microsoft.com/download/ie6sp1/finrel/6_sp1/W98NT42KMeXP/EN-US/IELPKTH.CAB
cabextract -F 'tahoma*ttf' IELPKTH.CAB
mkdir -p /usr/share/fonts/truetype/msttcorefonts/
mv -f tahoma*ttf /usr/share/fonts/truetype/msttcorefonts/
chmod 644 /usr/share/fonts/truetype/msttcorefonts/tahoma*
fc-cache -v
rm -f IELPKTH.CAB
3
  • 5
    You would probably be better off installing the ubuntu-restricted-extras which includes the core MS .ttf fonts which includes Tahoma. See this post for info.
    – douggro
    Mar 24, 2014 at 18:26
  • sorry, have you tried as root?
    – RobotMan
    Mar 24, 2014 at 19:57
  • 2
    @douggro you are wrong, tahoma ist not inside the ttf-mscorefonts-installer package, its only Times New Roman and some other fonts. Jan 14, 2015 at 11:15

5 Answers 5

8

You can give try with script:

#!/bin/bash
[ ! -f /usr/share/fonts/truetype/msttcorefonts/tahoma.ttf -o ! -f /usr/share/fonts/truetype/msttcorefonts/tahomabd.ttf ] &&
wget https://sourceforge.net/projects/corefonts/files/OldFiles/IELPKTH.CAB &&
cabextract -F 'tahoma*ttf' IELPKTH.CAB &&
mkdir -p /usr/share/fonts/truetype/msttcorefonts/ &&
mv -f tahoma*ttf /usr/share/fonts/truetype/msttcorefonts/ &&
chmod 644 /usr/share/fonts/truetype/msttcorefonts/tahoma* &&
fc-cache -v &&
rm -f IELPKTH.CAB &&
echo "Installed Tahoma"
0
4

what you can do is a simple method.

  1. download tahoma font.

  2. Then copy that downloaded font and all you have to do is paste it in this folder:

/usr/share/fonts/truetype

But since this folder is protected, you will have to open this folder as root. i.e right click and OPEN AS ROOT. provide your password and paste it there. THATS ALL...!!!

5
  • @DavidFoerster i) we're not lawyers, if Microsoft has an issue with a very well know page, I'm sure they have the legal muscle to deal with it. ii) Since the Microsoft page for the Tahoma font actually links directly to the fonts.com page in this answer, I think it's safe to assume that no copyright is being violated and Microsoft is fine with this redistribution.
    – terdon
    Jul 8, 2016 at 12:45
  • @terdon: I agree that Microsoft seems to be fine with distribution in general. However Fontpalace.com is not Fonts.com and distributes the font without a license notice (the page says “License: Unknown”); I doubt that the distribution is still legal under that circumstance. Jul 8, 2016 at 13:20
  • I circumvented the issue by editing the answer to link to the Font.com page instead. That should resolve it. Jul 8, 2016 at 13:22
  • @DavidFoerster I stand corrected, I thought the link was already pointing to fonts.com. Sorry. However, it really isn't our job to deal with copyright issues. And downvoting for that reason seems strange to say the least.
    – terdon
    Jul 8, 2016 at 13:40
  • From $49 ? You have to be kidding.... I used the script, in the other answer, for free!
    – kavadias
    Feb 14, 2018 at 14:12
0

I had the same error. You have to do a "sudo" and issue the command one by one :

$ wget http://download.microsoft.com/download/ie6sp1/finrel/
$ cabextract -F 'tahoma*ttf' IELPKTH.CAB
$ sudo mv -f tahoma*ttf /usr/share/fonts/truetype/msttcorefonts/
$ chmod 644 /usr/share/fonts/truetype/msttcorefonts/tahoma*
$ fc-cache -v
$ rm -f IELPKTH.CAB
2
0

Download Tahoma.

Right click and "Open With Fonts".

Open With Fonts

When it opens click on Install.

Install

Done.

0

You need a license to use Tahoma font.

If you don't need the original font, the Wine project includes a free and open-source replacement font wine-tahoma (and wine-tahoma-bold) released under GNU Lesser General Public License designed to have identical metrics to the Tahoma font.

It can easily be installed using this script:

wget https://gist.github.com/maxwelleite/ee5a1a4222dd43c8b4af5c99ed72b3fc/raw/ttf-wine-tahoma-installer.sh -q -O - | sudo bash

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .