How To Install language-pack-zh-hans on Ubuntu 20.04
Introduction
In this tutorial we learn how to install language-pack-zh-hans
on Ubuntu 20.04.
What is language-pack-zh-hans
language-pack-zh-hans is:
Translation data updates for all supported packages for: Simplified Chinese
language-pack-zh-hans-base provides the bulk of translation data and is updated only seldom. This package provides frequent translation updates. Task: ubuntu-desktop-minimal-default-languages, ubuntu-desktop-default-languages, xubuntu-live, ubuntustudio-dvd-live, ubuntukylin-desktop
Package: language-pack-zh-hans Architecture: all Version: 1:20.04+20200416 Priority: optional Section: translations Origin: Ubuntu Maintainer: Language pack maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 9 Pre-Depends: dpkg (>= 1.16.1) Depends: language-pack-zh-hans-base (>= 1:20.04+20200416) Conflicts: language-pack-zh (« 1:9.10) Replaces: language-pack-gnome-zh-hans (« 1:20.04+20200416), language-pack-gnome-zh-hans-base (« 1:20.04+20200416), language-pack-kde-zh-hans (« 1:20.04+20200416), language-pack-kde-zh-hans-base (« 1:20.04+20200416), language-pack-zh (« 1:9.10), language-pack-zh-hans (« 1:20.04+20200416), language-pack-zh-hans-base Filename: pool/main/l/language-pack-zh-hans/language-pack-zh-hans_20.04+20200416_all.deb Size: 1940 MD5sum: 59ea7686ccb3131027dfc28d062603b9 SHA1: 9652a4e3fedad809d69ba695c97e77f9734be340 SHA256: e92413c890317352c7aa75e65dbfc30d9b64344b6f39682b6bd5d364a403d2eb Description-en: translation updates for language Simplified Chinese Translation data updates for all supported packages for: Simplified Chinese
language-pack-zh-hans-base provides the bulk of translation data and is updated only seldom. This package provides frequent translation updates. Task: ubuntu-desktop-minimal-default-languages, ubuntu-desktop-default-languages, xubuntu-live, ubuntustudio-dvd-live, ubuntukylin-desktop
There are three methods to install language-pack-zh-hans
on Ubuntu 20.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install language-pack-zh-hans Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install language-pack-zh-hans
using apt-get
by running the following command:
sudo apt-get -y install language-pack-zh-hans
Install language-pack-zh-hans Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install language-pack-zh-hans
using apt
by running the following command:
sudo apt -y install language-pack-zh-hans
Install language-pack-zh-hans Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install language-pack-zh-hans
using aptitude
by running the following command:
sudo aptitude -y install language-pack-zh-hans
How To Uninstall language-pack-zh-hans on Ubuntu 20.04
To uninstall only the language-pack-zh-hans
package we can use the following command:
sudo apt-get remove language-pack-zh-hans
Uninstall language-pack-zh-hans And Its Dependencies
To uninstall language-pack-zh-hans
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove language-pack-zh-hans
Remove language-pack-zh-hans Configurations and Data
To remove language-pack-zh-hans
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge language-pack-zh-hans
Remove language-pack-zh-hans configuration, data, and all of its dependencies
We can use the following command to remove language-pack-zh-hans
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge language-pack-zh-hans
References
Summary
In this tutorial we learn how to install language-pack-zh-hans
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.