0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Install EPEL repository

Posted at

日本語フォント追加方法

Install EPEL repository and necessary dependencies using dnf

RUN microdnf install -y dnf &&
dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm &&
microdnf install -y google-noto-sans-cjk-fonts &&
microdnf clean all

Manually install Japanese fonts if EPEL is unavailable

RUN mkdir -p /usr/share/fonts/noto-cjk &&
cd /usr/share/fonts/noto-cjk &&
wget https://noto-website.storage.googleapis.com/pkgs/NotoSansCJKjp-hinted.zip &&
unzip NotoSansCJKjp-hinted.zip &&
rm NotoSansCJKjp-hinted.zip &&
fc-cache -fv

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?