How do you install language pack zh in Linux using apt-get command?
Here is a tutorial to learn how to install language pack zh using apt-get command.
Step 1: Open terminal with su access and enter the command as shown below:
apt-get install language pack zh -y
Step 2: After completion, the install command exits and instructs the user to restart the running instances of language pack zh if it is running already.
Result of the Command Execution shown below:
root@hiox:~ apt-get install language pack zh -y
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
libatk1.0 0 libpcsclite1 libjaxp1.3 java gconf2 common libgtk2.0 common
libgsf 1 common update notifier common libchewing3 data libxcomposite1
ibus table cangjie fakeroot libxerces2 java xfonts encodings libxxf86dga1
libatk1.0 data iso codes scim bridge client gtk language support zh hans
language support zh hant libsvga1 language support input zh hans
language support input zh hant unzip libibus1 libxxf86vm1 ibus gtk
scim modules table python newt ibus table wubi ibus chewing libx86 1
ibus pinyin gconf2 java common libgomp1 icedtea 6 jre cacao python apt
libnspr4 0d default jre headless libcairo2 scim znc tcl xfonts utils
libscim8c2a openjdk 6 jre lib libthai data gcc 4.4 cpu checker
librsvg2 common libdatrie1 openjdk 6 jre headless libavahi common data
libchewing3 libxfont1 libindicator0 libgconf2 4 libffi5 libgtkspell0
libpango1.0 common python glade2 libpixman 1 0 libcups2 gcc
linux headers 2.6.32 74 libggi2 libdbusmenu glib1 libxinerama1
linux headers 2.6.32 74 generic libgii1 python xdg libxft2 ttf arphic uming
libcroco3 tzdata java python cairo libdbusmenu gtk1 libgsf 1 114 xfonts wqy
libaa1 scim gtk2 immodule znc perl language support fonts zh hans
language support fonts zh hant libthai0 linux headers generic python dbus
manpages libidl0 libglade2 0 libzookeeper java im switch libzzip 0 13
python appindicator libgii1 target x x ttcidfont conf python gtkspell
scim bridge agent tcl8.5 pinyin database python gobject ttf arphic bsmi00lp
libappindicator0 libperl5.10 ibus pinyin db open phrase ibus libc ares2
libc6 dev liborbit2 librsvg2 2 libavahi client3 ibus table
ttf arphic gbsn00lp python support ca certificates java libpango1.0 0
ttf wqy zenhei libxdamage1 linux libc dev patch manpages dev ttf arphic ukai
libxcb render0 libgtk2.0 bin libggi target x libc dev bin python ibus
binutils znc extra libjson glib 1.0 0 defoma libavahi common3
liblog4j1.2 java libxcb render util0 libjline java libxrandr2
indicator application libnss3 1d python gtk2 libgtk2.0 0 scim modules socket
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
firefox locale zh hant language pack zh hant language pack zh hant base
The following NEW packages will be installed:
firefox locale zh hant language pack zh language pack zh hant
language pack zh hant base
0 upgraded, 4 newly installed, 0 to remove and 1 not upgraded.
Need to get 1850B/2296kB of archives.
After this operation, 7434kB of additional disk space will be used.
Get:1 http://old releases.ubuntu.com/ubuntu/ lucid/main language pack zh 1:10.04+20091218 [1850B]
Fetched 1850B in 0s (5353B/s)
Selecting previously deselected package language pack zh hant base.
(Reading database ... (Reading database ... 5%(Reading database ... 10%(Reading database ... 15%(Reading database ... 20%(Reading database ... 25%(Reading database ... 30%(Reading database ... 35%(Reading database ... 40%(Reading database ... 45%(Reading database ... 50%(Reading database ... 55%(Reading database ... 60%(Reading database ... 65%(Reading database ... 70%(Reading database ... 75%(Reading database ... 80%(Reading database ... 85%(Reading database ... 90%(Reading database ... 95%(Reading database ... 100%(Reading database ... 49648 files and directories currently installed.)
Unpacking language pack zh hant base (from .../language pack zh hant base_1%3a10.04+20110931_all.deb) ...
Selecting previously deselected package language pack zh hant.
Unpacking language pack zh hant (from .../language pack zh hant_1%3a10.04+20110931_all.deb) ...
Selecting previously deselected package firefox locale zh hant.
Unpacking firefox locale zh hant (from .../firefox locale zh hant_20.0+build1 0ubuntu0.10.04.3_amd64.deb) ...
Selecting previously deselected package language pack zh.
Unpacking language pack zh (from .../language pack zh_1%3a10.04+20091218_all.deb) ...
Setting up firefox locale zh hant (20.0+build1 0ubuntu0.10.04.3) ...
Setting up language pack zh hant (1:10.04+20110931) ...
Setting up language pack zh hant base (1:10.04+20110931) ...
Generating locales...
zh_HK.UTF 8... done
zh_TW.UTF 8... done
Generation complete.
Setting up language pack zh (1:10.04+20091218) ...
root@hiox:~