LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-15-2014, 06:20 PM   #1
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 20.04
Posts: 2,116

Rep: Reputation: 73
install ttf-mscorefonts


Using Ubuntu 14.04, the Software Centre cannot install ttf-mscorefonts.

I tried to follow the instructions here: http://www.blackmoreops.com/2014/07/...onts-on-linux/ ,which are very recent.

The installer is on my machine:

ttf-mscorefonts-installer is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@pedro-bedro2:/home/pedro# ttf-mscorefonts-installer
ttf-mscorefonts-installer: command not found

It is in /usr/share/package-data-downloads/ttf-mscorefonts-installer, but was marked 'locked', so I did

root@pedro-bedro2:/home/pedro# chmod +x /usr/share/package-data-downloads/ttf-mscorefonts-installer

All other files associated with ttf-mscorefonts-installer are also 'locked'.

Trying to run it, I get a long list like this:

root@pedro-bedro2:/home/pedro# /usr/share/package-data-downloads/ttf-mscorefonts-installer
/usr/share/package-data-downloads/ttf-mscorefonts-installer: line 1: Url:: command not found
/usr/share/package-data-downloads/ttf-mscorefonts-installer: line 2: Sha256:: command not found
/usr/share/package-data-downloads/ttf-mscorefonts-installer: line 4: Url:: command not found
/usr/share/package-data-downloads/ttf-mscorefonts-installer: line 5: Sha256:: command not found

What is the problem?? Can I just copy the fonts from say a Win Machine into my fonts folder, then update the fonts cache??
 
Old 10-15-2014, 07:47 PM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Quote:
Originally Posted by Pedroski View Post
Can I just copy the fonts from say a Win Machine into my fonts folder, then update the fonts cache??
Yes, looks like an easier way

edit:
You may have to change some config files /etc/fonts/conf.d (remove them perhaps), those that replace MS fonts with other free fonts.
(I use Slackware so this directory may not be at the same place in Ubuntu)

Last edited by keefaz; 10-15-2014 at 07:50 PM.
 
Old 10-15-2014, 07:53 PM   #3
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 20.04
Posts: 2,116

Original Poster
Rep: Reputation: 73
I tried that, it worked. Just put them in /usr/share/fonts/adirectory, then run sudo fc-cache -fv

Worked fine!
 
Old 10-16-2014, 03:49 AM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by Pedroski View Post
It is in /usr/share/package-data-downloads/ttf-mscorefonts-installer, but was marked 'locked', so I did

root@pedro-bedro2:/home/pedro# chmod +x /usr/share/package-data-downloads/ttf-mscorefonts-installer
don't make files executable that are not executable.
please undo this.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Configuring ttf-mscorefonts-installer khalidswimmer Linux - Newbie 1 08-23-2011 04:44 AM
ttf-mscorefonts-installer screwed up my wine environment taylorkh Ubuntu 3 01-26-2011 03:05 PM
How do I install ttf fonts? genogebot Linux - Newbie 9 07-13-2010 05:48 PM
Install ttf-files Ephracis Linux - Newbie 3 05-03-2006 12:37 AM
help with TTF font install.. doublefailure Linux - General 1 03-16-2003 04:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration