리눅스 나눔폰트 설치

리눅스 나눔고딕폰트 설치
리눅스 나눔폰트 설치

1 사전 작업[ | ]

2 설치[ | ]

wget http://cdn.naver.com/naver/NanumFont/fontfiles/NanumFont_TTF_ALL.zip
unzip NanumFont_TTF_ALL.zip -d NanumFont
rm -f NanumFont_TTF_ALL.zip
mv NanumFont /usr/share/fonts/
fc-cache -f -v
실행예시
root@localhost:~# wget http://cdn.naver.com/naver/NanumFont/fontfiles/NanumFont_TTF_ALL.zip
--2021-09-22 06:11:51--  http://cdn.naver.com/naver/NanumFont/fontfiles/NanumFont_TTF_ALL.zip
Resolving cdn.naver.com (cdn.naver.com)... 211.216.46.16, 125.209.207.10, 125.209.207.38, ...
Connecting to cdn.naver.com (cdn.naver.com)|211.216.46.16|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14946146 (14M) [application/zip]
Saving to: ‘NanumFont_TTF_ALL.zip’

NanumFont_TTF_ALL.zip     100%[===================================>]  14.25M  5.92MB/s    in 2.4s

2021-09-22 06:11:54 (5.92 MB/s) - ‘NanumFont_TTF_ALL.zip’ saved [14946146/14946146]
root@localhost:~# unzip NanumFont_TTF_ALL.zip -d NanumFont
Archive:  NanumFont_TTF_ALL.zip
  inflating: NanumFont/NanumBrush.ttf
  inflating: NanumFont/NanumGothic.ttf
  inflating: NanumFont/NanumGothicBold.ttf
  inflating: NanumFont/NanumGothicExtraBold.ttf
  inflating: NanumFont/NanumMyeongjo.ttf
  inflating: NanumFont/NanumMyeongjoBold.ttf
  inflating: NanumFont/NanumMyeongjoExtraBold.ttf
  inflating: NanumFont/NanumPen.ttf
root@localhost:~# rm -f NanumFont_TTF_ALL.zip
root@localhost:~# mv NanumFont /usr/share/fonts/
root@localhost:~# fc-cache -f -v
/usr/share/fonts: caching, new cache contents: 0 fonts, 5 dirs
/usr/share/fonts/NanumFont: caching, new cache contents: 8 fonts, 0 dirs
...
/root/.local/share/fonts: skipping, no such directory
/root/.fonts: skipping, no such directory
/var/cache/fontconfig: cleaning cache directory
/root/.cache/fontconfig: not cleaning non-existent cache directory
/root/.fontconfig: not cleaning non-existent cache directory
fc-cache: succeeded

3 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}