Ubuntuを日本語化
2023-08-31 10:52:22 修正案
code:sh
sudo sed -i.bak -e "s/http:\/\/archive\.ubuntu\.com/http:\/\/jp\.archive\.ubuntu\.com/g" /etc/apt/sources.list
sudo apt update
sudo apt -y install language-pack-ja-base
sudo update-locale LANG=ja_JP.UTF8
cp /usr/share/zoneinfo/Asia/Tokyo /etc/localtime
sudo apt -y install manpages-ja manpages-ja-dev
10:57:12 成功。one linerで実行できた
code:install.sh
sudo apt update
sudo apt install language-pack-ja-base -y
sudo update-locale LANG=ja_JP.UTF8
sudo restart
sudo dpkg-reconfigure tzdata
sudo apt -y install manpages-ja manpages-ja-dev
2021-10-01 12:55:56 こんなエラーが出た
code:sh
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package language-pack-ja
*** update-locale: Error: invalid locale settings: LANG=ja_JP.UTF8
sudo: restart: command not found
Current default time zone: 'Asia/Tokyo'
Local time is now: Fri Oct 1 12:55:26 JST 2021.
Universal Time is now: Fri Oct 1 03:55:26 UTC 2021.
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package manpages-ja
E: Unable to locate package manpages-ja-dev
defaultのサーバだとなかったっぽいなtakker.icon
2021-10-08 15:25:31 まだ動作確認できていない、というかtakker.iconが実行したときは効果なかった
code:sh
sudo echo Asia/Tokyo > /etc/timezone
sudo dpkg-reconfigure --frontend noninteractive tzdata