GNU/Linux >> Linux Esercitazione >  >> Ubuntu

Installa i caratteri di Microsoft Windows in Ubuntu 18.04 LTS

La maggior parte delle istituzioni educative utilizza ancora i caratteri Microsoft. Non sono sicuro di altri paesi. Ma nel Tamilnadu (India), Times New Roman e Arial i caratteri sono ancora ampiamente utilizzati da quasi tutti i tipi di lavori di documentazione, progetti e incarichi in college e scuole. Non solo le istituzioni educative, la maggior parte degli uffici pubblici e privati, le piccole organizzazioni e i negozi utilizzano ancora i caratteri di MS Windows. Per ogni evenienza, se ti trovi in ​​una situazione in cui devi utilizzare i caratteri Windows, ecco come installare i caratteri Microsoft Windows nei desktop Ubuntu Linux.

Disclaimer: Microsoft ha rilasciato gratuitamente i suoi font principali. Tuttavia, Tieni presente che l'utilizzo dei caratteri Microsoft è vietato in altri sistemi operativi . Leggere attentamente l'EULA prima di installare MS Fonts in qualsiasi sistema operativo Linux. Noi (OSTechNix) non siamo responsabili di alcun tipo di atto di pirateria.

Installa i caratteri Microsoft nei desktop LTS Ubuntu 18.04 e 16.04

Installa i font MS TrueType come mostrato di seguito:

$ sudo apt update
$ sudo apt install ttf-mscorefonts-installer

Apparirà la procedura guidata del contratto con l'utente finale di Microsoft. Fai clic su OK per continuare.

Fai clic su per accettare il contratto Microsoft:

Dopo aver installato i caratteri, è necessario aggiornare la cache dei caratteri utilizzando il comando:

$ sudo fc-cache -f -v

Risultato di esempio:

/usr/share/fonts: caching, new cache contents: 0 fonts, 6 dirs
/usr/share/fonts/X11: caching, new cache contents: 0 fonts, 4 dirs
/usr/share/fonts/X11/Type1: caching, new cache contents: 8 fonts, 0 dirs
/usr/share/fonts/X11/encodings: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/X11/encodings/large: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/X11/misc: caching, new cache contents: 89 fonts, 0 dirs
/usr/share/fonts/X11/util: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/cMap: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/cmap: caching, new cache contents: 0 fonts, 5 dirs
/usr/share/fonts/cmap/adobe-cns1: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/cmap/adobe-gb1: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/cmap/adobe-japan1: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/cmap/adobe-japan2: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/cmap/adobe-korea1: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/opentype: caching, new cache contents: 0 fonts, 2 dirs
/usr/share/fonts/opentype/malayalam: caching, new cache contents: 3 fonts, 0 dirs
/usr/share/fonts/opentype/noto: caching, new cache contents: 24 fonts, 0 dirs
/usr/share/fonts/truetype: caching, new cache contents: 0 fonts, 46 dirs
/usr/share/fonts/truetype/Gargi: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/Gubbi: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/Nakula: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/Navilu: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/Sahadeva: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/Sarai: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/abyssinica: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/dejavu: caching, new cache contents: 6 fonts, 0 dirs
/usr/share/fonts/truetype/droid: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/fonts-beng-extra: caching, new cache contents: 6 fonts, 0 dirs
/usr/share/fonts/truetype/fonts-deva-extra: caching, new cache contents: 3 fonts, 0 dirs
/usr/share/fonts/truetype/fonts-gujr-extra: caching, new cache contents: 5 fonts, 0 dirs
/usr/share/fonts/truetype/fonts-guru-extra: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/fonts-kalapi: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/fonts-orya-extra: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/fonts-telu-extra: caching, new cache contents: 2 fonts, 0 dirs
/usr/share/fonts/truetype/freefont: caching, new cache contents: 12 fonts, 0 dirs
/usr/share/fonts/truetype/kacst: caching, new cache contents: 15 fonts, 0 dirs
/usr/share/fonts/truetype/kacst-one: caching, new cache contents: 2 fonts, 0 dirs
/usr/share/fonts/truetype/lao: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/liberation: caching, new cache contents: 16 fonts, 0 dirs
/usr/share/fonts/truetype/liberation2: caching, new cache contents: 12 fonts, 0 dirs
/usr/share/fonts/truetype/lohit-assamese: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/lohit-bengali: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/lohit-devanagari: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/lohit-gujarati: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/lohit-kannada: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/lohit-malayalam: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/lohit-oriya: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/lohit-punjabi: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/lohit-tamil: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/lohit-tamil-classical: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/lohit-telugu: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/malayalam: caching, new cache contents: 11 fonts, 0 dirs
/usr/share/fonts/truetype/msttcorefonts: caching, new cache contents: 60 fonts, 0 dirs
/usr/share/fonts/truetype/noto: caching, new cache contents: 2 fonts, 0 dirs
/usr/share/fonts/truetype/openoffice: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/padauk: caching, new cache contents: 4 fonts, 0 dirs
/usr/share/fonts/truetype/pagul: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/samyak: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/samyak-fonts: caching, new cache contents: 3 fonts, 0 dirs
/usr/share/fonts/truetype/sinhala: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/tibetan-machine: caching, new cache contents: 1 fonts, 0 dirs
/usr/share/fonts/truetype/tlwg: caching, new cache contents: 58 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-khmeros-core: caching, new cache contents: 2 fonts, 0 dirs
/usr/share/fonts/truetype/ubuntu: caching, new cache contents: 13 fonts, 0 dirs
/usr/share/fonts/type1: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/type1/gsfonts: caching, new cache contents: 35 fonts, 0 dirs
/usr/local/share/fonts: caching, new cache contents: 0 fonts, 0 dirs
/home/sk/.local/share/fonts: skipping, no such directory
/home/sk/.fonts: skipping, no such directory
/var/cache/fontconfig: cleaning cache directory
/home/sk/.cache/fontconfig: cleaning cache directory
/home/sk/.fontconfig: not cleaning non-existent cache directory
fc-cache: succeeded

Installa i font di Microsoft Windows in dual boot con Linux e Windows

Se hai un sistema a doppio avvio con sistema operativo Linux e Windows, puoi installare facilmente i font MS dall'unità C di Windows. Tutto quello che devi fare è montare la partizione Windows (C:/Windows ).

Presumo che tu abbia montato C:\Windows partizione in /Windowsdrive directory in Linux.

Ora, collega la posizione dei caratteri alla cartella dei caratteri del tuo sistema Linux come mostrato di seguito.

ln -s /Windowsdrive/Windows/Fonts /usr/share/fonts/WindowsFonts

Dopo aver collegato la cartella dei font, rigenera la cache di fontconfig usando il comando:

fc-cache

In alternativa, copia tutti i caratteri di Windows in /usr/share/fonts directory e installare i font utilizzando i seguenti comandi:

mkdir /usr/share/fonts/WindowsFonts
cp /Windowsdrive/Windows/Fonts/* /usr/share/fonts/WindowsFonts
chmod 755 /usr/share/fonts/WindowsFonts/*

Infine, rigenera la cache di fontconfig usando il comando:

fc-cache

Testa e usa i caratteri di Windows in Ubuntu

Apri LibreOffice o GIMP dopo aver installato MS Fonts. Ora vedrai lì i caratteri coretype di Microsoft.

Questo è tutto. Spero che questa guida sia utile.

Aggiornamento 1:

Mscorefonts è preinstallato nel desktop di Ubuntu 18.04.2 LTS. Quindi, suppongo che gli ultimi utenti desktop di Ubuntu 18.04 LTS non debbano installarlo.

Aggiornamento 2:

Se hai rifiutato accidentalmente il contratto di licenza durante l'aggiornamento da Ubuntu 16.04 LTS a 18.04.3 LTS, puoi reinstallare il programma di installazione per ottenere il contratto di licenza eseguendo il comando seguente:

$ sudo apt-get install --reinstall ttf-mscorefonts-installer

Grazie Arno77 .


Ubuntu
  1. Installa Python 3.7 su Ubuntu 18.04 LTS

  2. Come installare i caratteri Microsoft TrueType in Ubuntu 11.10

  3. Installa Dokuwiki su Ubuntu 20.04 LTS

  4. Installa Karbon su Ubuntu 20.04 LTS

  5. Come installare Varnish Cache su Ubuntu 18.04 LTS

Come installare il browser Microsoft Edge su Ubuntu 20.04 LTS

Installa Mono su Ubuntu 20.04 LTS

Come installare Microsoft SQL Server su Ubuntu 16.04 LTS

Come installare Microsoft Edge su Ubuntu 20.04 LTS

Come installare i caratteri Microsoft su Ubuntu 20.04 LTS

Come installare Microsoft Teams su Ubuntu 22.04 LTS