How do you install language support zh in Linux using apt-get command?
Here is a tutorial to learn how to install language support zh using apt-get command.
Step 1: Open terminal with su access and enter the command as shown below:
apt-get install language support zh -y
Step 2: After completion, the install command exits and instructs the user to restart the running instances of language support zh if it is running already.
Result of the Command Execution shown below:
root@hiox:~ apt-get install language support zh -y
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
libpcsclite1 libjaxp1.3 java update notifier common fakeroot libxerces2 java
libxxf86dga1 scim bridge client gtk libsvga1 unzip libxxf86vm1
scim modules table python newt libx86 1 java common libgomp1
icedtea 6 jre cacao python apt libnspr4 0d default jre headless scim znc tcl
libscim8c2a openjdk 6 jre lib firefox locale zh hans gcc 4.4 cpu checker
openjdk 6 jre headless libgtkspell0 gcc linux headers 2.6.32 74 libggi2
linux headers 2.6.32 74 generic libgii1 tzdata java libaa1
scim gtk2 immodule znc perl linux headers generic manpages libzookeeper java
libzzip 0 13 libgii1 target x python gtkspell scim bridge agent tcl8.5
ttf arphic bsmi00lp libperl5.10 language pack zh hans base libc ares2
libc6 dev ttf arphic gbsn00lp ca certificates java linux libc dev patch
manpages dev language pack zh hans libggi target x libc dev bin binutils
znc extra liblog4j1.2 java libjline java libnss3 1d scim modules socket
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
gconf2 gconf2 common ibus ibus chewing ibus gtk ibus pinyin
ibus pinyin db open phrase ibus table ibus table cangjie ibus table wubi
indicator application language support fonts zh hans
language support fonts zh hant language support input zh hans
language support input zh hant language support zh hans
language support zh hant libappindicator0 libchewing3 libchewing3 data
libcroco3 libdbusmenu glib1 libdbusmenu gtk1 libgconf2 4 libglade2 0
libgsf 1 114 libgsf 1 common libibus1 libidl0 libindicator0
libjson glib 1.0 0 liborbit2 librsvg2 2 librsvg2 common pinyin database
python appindicator python dbus python glade2 python ibus ttf arphic ukai
ttf arphic uming ttf wqy zenhei xfonts wqy
Suggested packages:
gconf defaults service language pack zh hant librsvg2 bin python dbus doc
python dbus dbg python gtk2 doc xfs xserver
The following NEW packages will be installed:
gconf2 gconf2 common ibus ibus chewing ibus gtk ibus pinyin
ibus pinyin db open phrase ibus table ibus table cangjie ibus table wubi
indicator application language support fonts zh hans
language support fonts zh hant language support input zh hans
language support input zh hant language support zh language support zh hans
language support zh hant libappindicator0 libchewing3 libchewing3 data
libcroco3 libdbusmenu glib1 libdbusmenu gtk1 libgconf2 4 libglade2 0
libgsf 1 114 libgsf 1 common libibus1 libidl0 libindicator0
libjson glib 1.0 0 liborbit2 librsvg2 2 librsvg2 common pinyin database
python appindicator python dbus python glade2 python ibus ttf arphic ukai
ttf arphic uming ttf wqy zenhei xfonts wqy
0 upgraded, 44 newly installed, 0 to remove and 1 not upgraded.
Need to get 63.5MB of archives.
After this operation, 208MB of additional disk space will be used.
Get:1 http://old releases.ubuntu.com/ubuntu/ lucid/main pinyin database 1.2.99 3 [14.1MB]
Get:2 http://old releases.ubuntu.com/ubuntu/ lucid/main ibus pinyin db open phrase 1.2.99.20091211 1ubuntu1 [2752B]
Get:3 http://old releases.ubuntu.com/ubuntu/ lucid/main libibus1 1.2.0.20091215 1ubuntu4 [200kB]
Get:4 http://old releases.ubuntu.com/ubuntu/ lucid/main libidl0 0.8.13 1 [96.2kB]
Get:5 http://old releases.ubuntu.com/ubuntu/ lucid/main liborbit2 1:2.14.18 0.1 [274kB]
Get:6 http://old releases.ubuntu.com/ubuntu/ lucid/main gconf2 common 2.28.1 0ubuntu1 [28.7kB]
Get:7 http://old releases.ubuntu.com/ubuntu/ lucid/main libgconf2 4 2.28.1 0ubuntu1 [203kB]
Get:8 http://old releases.ubuntu.com/ubuntu/ lucid/main gconf2 2.28.1 0ubuntu1 [62.0kB]
Get:9 http://old releases.ubuntu.com/ubuntu/ lucid/main libglade2 0 1:2.6.4 1build1 [54.1kB]
Get:10 http://old releases.ubuntu.com/ubuntu/ lucid/main python glade2 2.17.0 0ubuntu2 [27.6kB]
Get:11 http://old releases.ubuntu.com/ubuntu/ lucid/main python dbus 0.83.0 1ubuntu3 [186kB]
Get:12 http://old releases.ubuntu.com/ubuntu/ lucid/main python ibus 1.2.0.20091215 1ubuntu4 [126kB]
Get:13 http://old releases.ubuntu.com/ubuntu/ lucid/main libcroco3 0.6.2 1 [101kB]
Get:14 http://old releases.ubuntu.com/ubuntu/ lucid/main libgsf 1 common 1.14.16 1ubuntu1 [58.5kB]
Get:15 http://old releases.ubuntu.com/ubuntu/ lucid/main libgsf 1 114 1.14.16 1ubuntu1 [161kB]
Get:16 http://old releases.ubuntu.com/ubuntu/ lucid updates/main librsvg2 2 2.26.3 0ubuntu1.1 [113kB]
Get:17 http://old releases.ubuntu.com/ubuntu/ lucid updates/main librsvg2 common 2.26.3 0ubuntu1.1 [20.8kB]
Get:18 http://old releases.ubuntu.com/ubuntu/ lucid/main ibus 1.2.0.20091215 1ubuntu4 [475kB]
Get:19 http://old releases.ubuntu.com/ubuntu/ lucid/main ibus pinyin 1.2.99.20091211 1ubuntu1 [138kB]
Get:20 http://old releases.ubuntu.com/ubuntu/ lucid/main ibus table 1.2.0.20100111 1 [253kB]
Get:21 http://old releases.ubuntu.com/ubuntu/ lucid/main ibus table wubi 1.2.0.20090715 1ubuntu1 [11.2MB]
Get:22 http://old releases.ubuntu.com/ubuntu/ lucid/main ttf arphic ukai 0.2.20080216.1 1 [9677kB]
Get:23 http://old releases.ubuntu.com/ubuntu/ lucid/main ttf arphic uming 0.2.20080216.1 3ubuntu2 [7828kB]
Get:24 http://old releases.ubuntu.com/ubuntu/ lucid/main ttf wqy zenhei 0.8.38 1ubuntu1 [5755kB]
Get:25 http://old releases.ubuntu.com/ubuntu/ lucid/main libchewing3 data 0.3.2 2 [1962kB]
Get:26 http://old releases.ubuntu.com/ubuntu/ lucid/main libchewing3 0.3.2 2 [62.7kB]
Get:27 http://old releases.ubuntu.com/ubuntu/ lucid/main ibus chewing 1.2.0.20091211 1 [45.8kB]
Get:28 http://old releases.ubuntu.com/ubuntu/ lucid/main ibus gtk 1.2.0.20091215 1ubuntu4 [105kB]
Get:29 http://old releases.ubuntu.com/ubuntu/ lucid/main ibus table cangjie 1.2.0.20090717 1 [3704kB]
Get:30 http://old releases.ubuntu.com/ubuntu/ lucid updates/main libdbusmenu glib1 0.2.9 0ubuntu3.1 [29.1kB]
Get:31 http://old releases.ubuntu.com/ubuntu/ lucid updates/main libdbusmenu gtk1 0.2.9 0ubuntu3.1 [15.1kB]
Get:32 http://old releases.ubuntu.com/ubuntu/ lucid/main libindicator0 0.3.8 0ubuntu1 [20.8kB]
Get:33 http://old releases.ubuntu.com/ubuntu/ lucid/main libjson glib 1.0 0 0.7.6 0ubuntu2 [40.6kB]
Get:34 http://old releases.ubuntu.com/ubuntu/ lucid/main indicator application 0.0.19 0ubuntu4 [27.1kB]
Get:35 http://old releases.ubuntu.com/ubuntu/ lucid/main xfonts wqy 0.9.9 3.2 [6253kB]
Get:36 http://old releases.ubuntu.com/ubuntu/ lucid/main language support fonts zh hans 1:10.04+20091218 [2032B]
Get:37 http://old releases.ubuntu.com/ubuntu/ lucid/main language support fonts zh hant 1:10.04+20091218 [2016B]
Get:38 http://old releases.ubuntu.com/ubuntu/ lucid/main language support input zh hans 1:10.04+20091218 [2264B]
Get:39 http://old releases.ubuntu.com/ubuntu/ lucid/main language support input zh hant 1:10.04+20091218 [2248B]
Get:40 http://old releases.ubuntu.com/ubuntu/ lucid/main language support zh hans 1:10.04+20091218 [2048B]
Get:41 http://old releases.ubuntu.com/ubuntu/ lucid/main language support zh hant 1:10.04+20091218 [2046B]
Get:42 http://old releases.ubuntu.com/ubuntu/ lucid/main language support zh 1:10.04+20091218 [1854B]
Get:43 http://old releases.ubuntu.com/ubuntu/ lucid/main libappindicator0 0.0.19 0ubuntu4 [20.8kB]
Get:44 http://old releases.ubuntu.com/ubuntu/ lucid/main python appindicator 0.0.19 0ubuntu4 [40.8kB]
Preconfiguring packages ...
Fetched 63.5MB in 21s (2947kB/s)
Selecting previously deselected package pinyin database.
(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 ... 48982 files and directories currently installed.)
Unpacking pinyin database (from .../pinyin database_1.2.99 3_all.deb) ...
Selecting previously deselected package ibus pinyin db open phrase.
Unpacking ibus pinyin db open phrase (from .../ibus pinyin db open phrase_1.2.99.20091211 1ubuntu1_all.deb) ...
Selecting previously deselected package libibus1.
Unpacking libibus1 (from .../libibus1_1.2.0.20091215 1ubuntu4_amd64.deb) ...
Selecting previously deselected package libidl0.
Unpacking libidl0 (from .../libidl0_0.8.13 1_amd64.deb) ...
Selecting previously deselected package liborbit2.
Unpacking liborbit2 (from .../liborbit2_1%3a2.14.18 0.1_amd64.deb) ...
Selecting previously deselected package gconf2 common.
Unpacking gconf2 common (from .../gconf2 common_2.28.1 0ubuntu1_all.deb) ...
Selecting previously deselected package libgconf2 4.
Unpacking libgconf2 4 (from .../libgconf2 4_2.28.1 0ubuntu1_amd64.deb) ...
Selecting previously deselected package gconf2.
Unpacking gconf2 (from .../gconf2_2.28.1 0ubuntu1_amd64.deb) ...
Selecting previously deselected package libglade2 0.
Unpacking libglade2 0 (from .../libglade2 0_1%3a2.6.4 1build1_amd64.deb) ...
Selecting previously deselected package python glade2.
Unpacking python glade2 (from .../python glade2_2.17.0 0ubuntu2_amd64.deb) ...
Selecting previously deselected package python dbus.
Unpacking python dbus (from .../python dbus_0.83.0 1ubuntu3_amd64.deb) ...
Selecting previously deselected package python ibus.
Unpacking python ibus (from .../python ibus_1.2.0.20091215 1ubuntu4_all.deb) ...
Selecting previously deselected package libcroco3.
Unpacking libcroco3 (from .../libcroco3_0.6.2 1_amd64.deb) ...
Selecting previously deselected package libgsf 1 common.
Unpacking libgsf 1 common (from .../libgsf 1 common_1.14.16 1ubuntu1_all.deb) ...
Selecting previously deselected package libgsf 1 114.
Unpacking libgsf 1 114 (from .../libgsf 1 114_1.14.16 1ubuntu1_amd64.deb) ...
Selecting previously deselected package librsvg2 2.
Unpacking librsvg2 2 (from .../librsvg2 2_2.26.3 0ubuntu1.1_amd64.deb) ...
Selecting previously deselected package librsvg2 common.
Unpacking librsvg2 common (from .../librsvg2 common_2.26.3 0ubuntu1.1_amd64.deb) ...
Selecting previously deselected package ibus.
Unpacking ibus (from .../ibus_1.2.0.20091215 1ubuntu4_amd64.deb) ...
Selecting previously deselected package ibus pinyin.
Unpacking ibus pinyin (from .../ibus pinyin_1.2.99.20091211 1ubuntu1_amd64.deb) ...
Selecting previously deselected package ibus table.
Unpacking ibus table (from .../ibus table_1.2.0.20100111 1_all.deb) ...
Selecting previously deselected package ibus table wubi.
Unpacking ibus table wubi (from .../ibus table wubi_1.2.0.20090715 1ubuntu1_all.deb) ...
Selecting previously deselected package ttf arphic ukai.
Unpacking ttf arphic ukai (from .../ttf arphic ukai_0.2.20080216.1 1_all.deb) ...
Selecting previously deselected package ttf arphic uming.
Unpacking ttf arphic uming (from .../ttf arphic uming_0.2.20080216.1 3ubuntu2_all.deb) ...
Selecting previously deselected package ttf wqy zenhei.
Unpacking ttf wqy zenhei (from .../ttf wqy zenhei_0.8.38 1ubuntu1_all.deb) ...
Selecting previously deselected package libchewing3 data.
Unpacking libchewing3 data (from .../libchewing3 data_0.3.2 2_amd64.deb) ...
Selecting previously deselected package libchewing3.
Unpacking libchewing3 (from .../libchewing3_0.3.2 2_amd64.deb) ...
Selecting previously deselected package ibus chewing.
Unpacking ibus chewing (from .../ibus chewing_1.2.0.20091211 1_amd64.deb) ...
Selecting previously deselected package ibus gtk.
Unpacking ibus gtk (from .../ibus gtk_1.2.0.20091215 1ubuntu4_amd64.deb) ...
Selecting previously deselected package ibus table cangjie.
Unpacking ibus table cangjie (from .../ibus table cangjie_1.2.0.20090717 1_all.deb) ...
Selecting previously deselected package libdbusmenu glib1.
Unpacking libdbusmenu glib1 (from .../libdbusmenu glib1_0.2.9 0ubuntu3.1_amd64.deb) ...
Selecting previously deselected package libdbusmenu gtk1.
Unpacking libdbusmenu gtk1 (from .../libdbusmenu gtk1_0.2.9 0ubuntu3.1_amd64.deb) ...
Selecting previously deselected package libindicator0.
Unpacking libindicator0 (from .../libindicator0_0.3.8 0ubuntu1_amd64.deb) ...
Selecting previously deselected package libjson glib 1.0 0.
Unpacking libjson glib 1.0 0 (from .../libjson glib 1.0 0_0.7.6 0ubuntu2_amd64.deb) ...
Selecting previously deselected package indicator application.
Unpacking indicator application (from .../indicator application_0.0.19 0ubuntu4_amd64.deb) ...
Selecting previously deselected package xfonts wqy.
Unpacking xfonts wqy (from .../xfonts wqy_0.9.9 3.2_all.deb) ...
Selecting previously deselected package language support fonts zh hans.
Unpacking language support fonts zh hans (from .../language support fonts zh hans_1%3a10.04+20091218_all.deb) ...
Selecting previously deselected package language support fonts zh hant.
Unpacking language support fonts zh hant (from .../language support fonts zh hant_1%3a10.04+20091218_all.deb) ...
Selecting previously deselected package language support input zh hans.
Unpacking language support input zh hans (from .../language support input zh hans_1%3a10.04+20091218_all.deb) ...
Selecting previously deselected package language support input zh hant.
Unpacking language support input zh hant (from .../language support input zh hant_1%3a10.04+20091218_all.deb) ...
Selecting previously deselected package language support zh hans.
Unpacking language support zh hans (from .../language support zh hans_1%3a10.04+20091218_all.deb) ...
Selecting previously deselected package language support zh hant.
Unpacking language support zh hant (from .../language support zh hant_1%3a10.04+20091218_all.deb) ...
Selecting previously deselected package language support zh.
Unpacking language support zh (from .../language support zh_1%3a10.04+20091218_all.deb) ...
Selecting previously deselected package libappindicator0.
Unpacking libappindicator0 (from .../libappindicator0_0.0.19 0ubuntu4_amd64.deb) ...
Selecting previously deselected package python appindicator.
Unpacking python appindicator (from .../python appindicator_0.0.19 0ubuntu4_amd64.deb) ...
Processing triggers for man db ...
Processing triggers for hicolor icon theme ...
Processing triggers for fontconfig ...
Setting up pinyin database (1.2.99 3) ...
Setting up ibus pinyin db open phrase (1.2.99.20091211 1ubuntu1) ...
Setting up libibus1 (1.2.0.20091215 1ubuntu4) ...
Setting up libidl0 (0.8.13 1) ...
Setting up liborbit2 (1:2.14.18 0.1) ...
Setting up gconf2 common (2.28.1 0ubuntu1) ...
Creating config file /etc/gconf/2/path with new version
Setting up libgconf2 4 (2.28.1 0ubuntu1) ...
Setting up gconf2 (2.28.1 0ubuntu1) ...
update alternatives: using /usr/bin/gconftool 2 to provide /usr/bin/gconftool (gconftool) in auto mode.
Setting up libglade2 0 (1:2.6.4 1build1) ...
Setting up python glade2 (2.17.0 0ubuntu2) ...
Setting up python dbus (0.83.0 1ubuntu3) ...
Remove stale byte compiled files...
Setting up python ibus (1.2.0.20091215 1ubuntu4) ...
Setting up libcroco3 (0.6.2 1) ...
Setting up libgsf 1 common (1.14.16 1ubuntu1) ...
Setting up libgsf 1 114 (1.14.16 1ubuntu1) ...
Setting up librsvg2 2 (2.26.3 0ubuntu1.1) ...
Setting up librsvg2 common (2.26.3 0ubuntu1.1) ...
Setting up ibus (1.2.0.20091215 1ubuntu4) ...
update alternatives: using /etc/X11/xinit/xinput.d/ibus to provide /etc/X11/xinit/xinput.d/ja_JP (xinput ja_JP) in auto mode.
update alternatives: using /etc/X11/xinit/xinput.d/ibus to provide /etc/X11/xinit/xinput.d/ko_KR (xinput ko_KR) in auto mode.
update alternatives: using /etc/X11/xinit/xinput.d/ibus to provide /etc/X11/xinit/xinput.d/zh_CN (xinput zh_CN) in auto mode.
update alternatives: using /etc/X11/xinit/xinput.d/ibus to provide /etc/X11/xinit/xinput.d/zh_TW (xinput zh_TW) in auto mode.
update alternatives: using /etc/X11/xinit/xinput.d/ibus to provide /etc/X11/xinit/xinput.d/zh_HK (xinput zh_HK) in auto mode.
update alternatives: using /etc/X11/xinit/xinput.d/ibus to provide /etc/X11/xinit/xinput.d/zh_SG (xinput zh_SG) in auto mode.
Setting up ibus pinyin (1.2.99.20091211 1ubuntu1) ...
Setting up ibus table (1.2.0.20100111 1) ...
Setting up ibus table wubi (1.2.0.20090715 1ubuntu1) ...
Setting up ttf arphic ukai (0.2.20080216.1 1) ...
Setting up ttf arphic uming (0.2.20080216.1 3ubuntu2) ...
Setting up ttf wqy zenhei (0.8.38 1ubuntu1) ...
Regenerating fonts cache... done.
Setting up libchewing3 data (0.3.2 2) ...
Setting up libchewing3 (0.3.2 2) ...
Setting up ibus chewing (1.2.0.20091211 1) ...
Setting up ibus gtk (1.2.0.20091215 1ubuntu4) ...
Setting up ibus table cangjie (1.2.0.20090717 1) ...
Setting up libdbusmenu glib1 (0.2.9 0ubuntu3.1) ...
Setting up libdbusmenu gtk1 (0.2.9 0ubuntu3.1) ...
Setting up libindicator0 (0.3.8 0ubuntu1) ...
Setting up libjson glib 1.0 0 (0.7.6 0ubuntu2) ...
Setting up indicator application (0.0.19 0ubuntu4) ...
Setting up xfonts wqy (0.9.9 3.2) ...
Regenerating fonts cache... done.
Setting up language support fonts zh hans (1:10.04+20091218) ...
Setting up language support fonts zh hant (1:10.04+20091218) ...
Setting up language support input zh hans (1:10.04+20091218) ...
Generating locales...
zh_CN.UTF 8... done
zh_SG.UTF 8... done
Generation complete.
Setting up language support input zh hant (1:10.04+20091218) ...
Setting up language support zh hans (1:10.04+20091218) ...
Setting up language support zh hant (1:10.04+20091218) ...
Setting up language support zh (1:10.04+20091218) ...
Setting up libappindicator0 (0.0.19 0ubuntu4) ...
Setting up python appindicator (0.0.19 0ubuntu4) ...
Processing triggers for libc bin ...
ldconfig deferred processing now taking place
Processing triggers for python support ...
Processing triggers for python central ...
root@hiox:~