"리눅스 나눔폰트 설치"의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-</source> +</syntaxhighlight>, -<source +<syntaxhighlight ))
 
14번째 줄: 14번째 줄:
</syntaxhighlight>
</syntaxhighlight>


{{소스헤더|실행예시}}
<syntaxhighlight lang='console'>
<syntaxhighlight lang='console'>
# wget http://cdn.naver.com/naver/NanumFont/fontfiles/NanumFont_TTF_ALL.zip
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
--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, ...
Resolving cdn.naver.com (cdn.naver.com)... 211.216.46.16, 125.209.207.10, 125.209.207.38, ...
27번째 줄: 28번째 줄:
2021-09-22 06:11:54 (5.92 MB/s) - ‘NanumFont_TTF_ALL.zip’ saved [14946146/14946146]
2021-09-22 06:11:54 (5.92 MB/s) - ‘NanumFont_TTF_ALL.zip’ saved [14946146/14946146]
</syntaxhighlight>
</syntaxhighlight>
==압축 해제==
*NanumFont 폴더에 압축을 풀고, 압축파일은 삭제
<syntaxhighlight lang='console'>
<syntaxhighlight lang='console'>
[root@zetawiki fonts]# unzip NanumFont_TTF_ALL.zip -d NanumFont
root@localhost:~# unzip NanumFont_TTF_ALL.zip -d NanumFont
Archive:  NanumFont_TTF_ALL.zip
Archive:  NanumFont_TTF_ALL.zip
   inflating: NanumFont/NanumBrush.ttf
   inflating: NanumFont/NanumBrush.ttf
   inflating: NanumFont/NanumGothic.ttf
   inflating: NanumFont/NanumGothic.ttf
   inflating: NanumFont/NanumGothicBold.ttf
   inflating: NanumFont/NanumGothicBold.ttf
   inflating: NanumFont/NanumGothicExtraBold.ttf
   inflating: NanumFont/NanumGothicExtraBold.ttf
   inflating: NanumFont/NanumMyeongjo.ttf
   inflating: NanumFont/NanumMyeongjo.ttf
   inflating: NanumFont/NanumMyeongjoBold.ttf
   inflating: NanumFont/NanumMyeongjoBold.ttf
   inflating: NanumFont/NanumMyeongjoExtraBold.ttf
   inflating: NanumFont/NanumMyeongjoExtraBold.ttf
   inflating: NanumFont/NanumPen.ttf
   inflating: NanumFont/NanumPen.ttf
</syntaxhighlight>
</syntaxhighlight>
<syntaxhighlight lang='console'>
<syntaxhighlight lang='console'>
[root@zetawiki font]# rm -f NanumFont_TTF_ALL.zip
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
</syntaxhighlight>
</syntaxhighlight>



2021년 9월 22일 (수) 15:15 기준 최신판

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

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 }}