玄箱HG debian lenny (13) ロケール設定
玄箱HG debian lenny (13) ロケール設定 ロケール設定 .bashrc 設定 追加&編集 文字コード設定 export LANG=ja_JP.UTF-8 ls オプション追加 export LS_OPTIONS='--color=auto --show-control-chars' # eval `dircolors` alias ls='ls $LS_OPTIONS' alias ll='ls $LS_OPTIONS -la' alias l='ls $LS_OPTIONS -lA' .bashrc を反映させる source .bashrc locales インストール $ sudo apt-get install locales Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: python2.6-minimal python2.6 python-minimal libkrb53 libfuse2 python libfusefs-ruby1.8 libruby1.8 libntfs-3g75 Use 'apt-get autoremove' to remove them. The following NEW packages will be installed: locales 0 upgraded, 1 newly installed, 0 to remove and 27 not upgraded. Need to get 4757kB of archives. After this operation, 13.1MB of additional disk space will be used. Get:1 ftp://ftp2.jp.debian.org stable/main locales 2.11.2-10 [4757kB] Fetched 4757kB in 2s (1932kB/s) perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "ja_JP.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory Preconfiguring packages ... Selecting previously deselected package locales. (Reading database ... 14438 files and directories currently installed.) Unpacking locales (from .../locales_2.11.2-10_all.deb) ... Processing triggers for man-db ... locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory Setting up locales (2.11.2-10) ... Generating locales (this might take a while)... Generation complete. dpkg-reconfigure locales実行 ...