Install Tahoma font in Ubuntu
25,833
Solution 1
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"
Solution 2
what you can do is a simple method.
download tahoma font.
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...!!!
Related videos on Youtube
Author by
user261645
Updated on September 18, 2022Comments
-
user261645 almost 2 years
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
-
douggro over 10 yearsYou 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. -
RobotMan over 10 yearssorry, have you tried as root?
-
redanimalwar over 9 years@douggro you are wrong, tahoma ist not inside the
ttf-mscorefonts-installer
package, its only Times New Roman and some other fonts.
-
-
David Foerster almost 8 years-1 That won't work because the
cabextract
command fails. Nothing related tosudo
. -
terdon almost 8 years@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.
-
David Foerster almost 8 years@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.
-
David Foerster almost 8 yearsI circumvented the issue by editing the answer to link to the Font.com page instead. That should resolve it.
-
terdon almost 8 years@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.
-
kavadias over 6 yearsFrom $49 ? You have to be kidding.... I used the script, in the other answer, for free!
-
rofrol over 4 yearsdownload.microsoft.com/download/ie6sp1/finrel returns 404