Install Microsoft fonts

Please help me to install Microsoft font.
I tried below commands
yay -S ttf-ms-fonts
sudo pacman -S ttf-ms-fonts

but cound'nt install. Please advise.

https://wiki.archlinux.org/title/Microsoft_fonts

2 Likes

Open a terminal and follow this:

[eos@eos-eos ~]$ yay ttf-ms-fonts
1 aur/ttf-ms-fonts 2.0-12 (+2013 8.75) 
    Core TTF Fonts from Microsoft
==> Packages to install (eg: 1 2 3, 1-3 or ^4)
==> 1
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:1]  ttf-ms-fonts-2.0-12

:: Downloaded PKGBUILD (1/1): ttf-ms-fonts
  1 ttf-ms-fonts                     (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> n
:: (1/1) Parsing SRCINFO: ttf-ms-fonts
==> Making package: ttf-ms-fonts 2.0-12 (Thu 15 Jul 2021 12:49:59 PM EDT)
==> Retrieving sources...
  -> Downloading andale32.exe...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   343  100   343    0     0    996      0 --:--:-- --:--:-- --:--:--   994
100  193k  100  193k    0     0   364k      0 --:--:-- --:--:-- --:--:--  364k
  -> Downloading arial32.exe...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   357  100   357    0     0    206      0  0:00:01  0:00:01 --:--:--   206
100  541k  100  541k    0     0   255k      0  0:00:02  0:00:02 --:--:--  255k
  -> Downloading arialb32.exe...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   351  100   351    0     0    224      0  0:00:01  0:00:01 --:--:--   223
100  164k  100  164k    0     0  79466      0  0:00:02  0:00:02 --:--:-- 79466
  -> Downloading comic32.exe...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   353  100   353    0     0    248      0  0:00:01  0:00:01 --:--:--   248
100  240k  100  240k    0     0   138k      0  0:00:01  0:00:01 --:--:--  138k
  -> Downloading courie32.exe...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   355  100   355    0     0    216      0  0:00:01  0:00:01 --:--:--   216
100  631k  100  631k    0     0   311k      0  0:00:02  0:00:02 --:--:--  311k
  -> Downloading georgi32.exe...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   355  100   355    0     0    225      0  0:00:01  0:00:01 --:--:--   225
100  383k  100  383k    0     0   202k      0  0:00:01  0:00:01 --:--:--  202k
  -> Downloading impact32.exe...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   355  100   355    0     0    216      0  0:00:01  0:00:01 --:--:--   216
100  169k  100  169k    0     0  89339      0  0:00:01  0:00:01 --:--:-- 89339
  -> Downloading times32.exe...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   341  100   341    0     0    204      0  0:00:01  0:00:01 --:--:--   204
100  646k  100  646k    0     0   325k      0  0:00:01  0:00:01 --:--:--  325k
  -> Downloading trebuc32.exe...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   355  100   355    0     0    216      0  0:00:01  0:00:01 --:--:--   216
100  348k  100  348k    0     0   193k      0  0:00:01  0:00:01 --:--:--  193k
  -> Downloading verdan32.exe...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   351  100   351    0     0    195      0  0:00:01  0:00:01 --:--:--   195
100  343k  100  343k    0     0   141k      0  0:00:02  0:00:02 --:--:--  141k
  -> Downloading webdin32.exe...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   343  100   343    0     0    259      0  0:00:01  0:00:01 --:--:--   259
100  180k  100  180k    0     0   119k      0  0:00:01  0:00:01 --:--:--  119k
==> Validating source files with sha256sums...
    andale32.exe ... Passed
    arial32.exe ... Passed
    arialb32.exe ... Passed
    comic32.exe ... Passed
    courie32.exe ... Passed
    georgi32.exe ... Passed
    impact32.exe ... Passed
    times32.exe ... Passed
    trebuc32.exe ... Passed
    verdan32.exe ... Passed
    webdin32.exe ... Passed
==> Making package: ttf-ms-fonts 2.0-12 (Thu 15 Jul 2021 12:50:21 PM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found andale32.exe
  -> Found arial32.exe
  -> Found arialb32.exe
  -> Found comic32.exe
  -> Found courie32.exe
  -> Found georgi32.exe
  -> Found impact32.exe
  -> Found times32.exe
  -> Found trebuc32.exe
  -> Found verdan32.exe
  -> Found webdin32.exe
==> Validating source files with sha256sums...
    andale32.exe ... Passed
    arial32.exe ... Passed
    arialb32.exe ... Passed
    comic32.exe ... Passed
    courie32.exe ... Passed
    georgi32.exe ... Passed
    impact32.exe ... Passed
    times32.exe ... Passed
    trebuc32.exe ... Passed
    verdan32.exe ... Passed
    webdin32.exe ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting andale32.exe with bsdtar
  -> Extracting arial32.exe with bsdtar
  -> Extracting arialb32.exe with bsdtar
  -> Extracting comic32.exe with bsdtar
  -> Extracting courie32.exe with bsdtar
  -> Extracting georgi32.exe with bsdtar
  -> Extracting impact32.exe with bsdtar
  -> Extracting times32.exe with bsdtar
  -> Extracting trebuc32.exe with bsdtar
  -> Extracting verdan32.exe with bsdtar
  -> Extracting webdin32.exe with bsdtar
==> Sources are ready.
==> Making package: ttf-ms-fonts 2.0-12 (Thu 15 Jul 2021 12:50:25 PM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "ttf-ms-fonts"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: ttf-ms-fonts 2.0-12 (Thu 15 Jul 2021 12:50:28 PM EDT)
==> Cleaning up...
[sudo] password for eos: 
loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) ttf-ms-fonts-2.0-12

Total Installed Size:  5.40 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                                                                [---------------------------------------------------------------------------------------] 100%
(1/1) checking package integrity                                                                                                              [---------------------------------------------------------------------------------------] 100%
(1/1) loading package files                                                                                                                   [---------------------------------------------------------------------------------------] 100%
(1/1) checking for file conflicts                                                                                                             [---------------------------------------------------------------------------------------] 100%
:: Processing package changes...
(1/1) installing ttf-ms-fonts                                                                                                                 [---------------------------------------------------------------------------------------] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Updating fontconfig cache...
3 Likes

I tried this. But its asking to review , not to instal...!!!

image

Can i use sudo pacman?

Maybe just do as advised by yay? :eyes: The AUR is provided by users so reviewing it is a good idea :slight_smile:

3 Likes

Yes. You normally need to review till the end in paru/yay AUR installs. After reviewing, it will install. Read the archwiki. And paru/yay manpages before asking.

5 Likes
yay ttf-ms-fonts
1 aur/ttf-ms-fonts 2.0-12 [+2013 ~8.74]
Core TTF Fonts from Microsoft
:: Packages to install (eg: 1 2 3, 1-3):
:: 1
:: Resolving dependencies...
:: Calculating conflicts...
:: Calculating inner conflicts...

Aur (1) ttf-ms-fonts-2.0-12

:: Proceed to review? [Y/n]: y

:: Downloading PKGBUILDs...
PKGBUILDs up to date
/home/remyaj/.cache/paru/clone/ttf-ms-fonts/PKGBUILD
# Maintainer: Caleb Maclennan <caleb@alerque.com>
# Contributor: birdflesh <antkoul at gmail dot com>
# Contributor: Army <uli.armbruster@gmail.com>
'courie32.exe'
'georgi32.exe'
'impact32.exe'
'times32.exe'
'trebuc32.exe'
'verdan32.exe'
'webdin32.exe')
_dlpath="https://downloads.sourceforge.net/project/corefonts/the%20fonts/final"
source=("${_files[@]/#/$_dlpath/}")
sha256sums=('0524fe42951adc3a7eb870e32f0920313c71f170c859b5f770d82b4ee111e970'
'85297a4d146e9c87ac6f74822734bdee5f4b2a722d7eaa584b7f2cbf76f478f6'
'a425f0ffb6a1a5ede5b979ed6177f4f4f4fdef6ae7c302a7b7720ef332fec0a8'
'9c6df3feefde26d4e41d4a4fe5db2a89f9123a772594d7f59afd062625cd204e'
'bb511d861655dde879ae552eb86b134d6fae67cb58502e6ff73ec5d9151f3384'
'2c2c7dcda6606ea5cf08918fb7cd3f3359e9e84338dc690013f20cd42e930301'
'6061ef3b7401d9642f5dfdb5f2b376aa14663f6275e60a51207ad4facf2fccfb'
'db56595ec6ef5d3de5c24994f001f03b2a13e37cee27bc25c58f6f43e8f807ab'
'5a690d9bb8510be1b8b4fe49f1f2319651fe51bbe54775ddddd8ef0bd07fdac9'
'c1cb61255e363166794e47664e2f21af8e3a26cb6346eb8d2ae2fa85dd5aad96'
'64595b5abc1080fba8610c5c34fab5863408e806aafe84653ca8575bed17d75a')

package() {
install -Dm644 -t "$pkgdir/usr/share/fonts/TTF/" *.ttf *.TTF
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" Licen.TXT
}


~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
(END)

This is what i get when i run the command. its not asking to install after review. what should i do next to install the package.

Sorry for the trouble as i was installing everything using sudo pacman. this is the first time i am using yay. Please advise.

https://aur.archlinux.org/packages/ttf-ms-fonts/

read the 1st post and follow

3 Likes

Wait, remove this line from fish.config

[ ! -x /usr/bin/yay ] && [ -x /usr/bin/paru ] && alias yay='paru'

3 Likes

yay -S ttf-ms-fonts --nconfirm

There is a space between “fonts” and “–noconfirm.”

6 Likes

Thanks for the best solution. it worked.

yay -S ttf-ms-fonts --noconfirm

Of course it did. But it belays the opportunity to inspect the PKGBUILD, which may be a trivial thing with packages (like ms fonts) which you are sure of, but it's not a recommended practice otherwise. Just because a package is from the AUR is by no means a sinecure practice.

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.