How To Install language-pack-zh-hant on Ubuntu 18.04
Introduction
In this tutorial we learn how to install language-pack-zh-hant
on Ubuntu 18.04.
What is language-pack-zh-hant
language-pack-zh-hant is:
Translation data updates for all supported packages for: Traditional Chinese
language-pack-zh-hant-base provides the bulk of translation data and is updated only seldom. This package provides frequent translation updates.
There are three methods to install language-pack-zh-hant
on Ubuntu 18.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-hant 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-hant
using apt-get
by running the following command:
sudo apt-get -y install language-pack-zh-hant
Install language-pack-zh-hant Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install language-pack-zh-hant
using apt
by running the following command:
sudo apt -y install language-pack-zh-hant
Install language-pack-zh-hant 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-hant
using aptitude
by running the following command:
sudo aptitude -y install language-pack-zh-hant
How To Uninstall language-pack-zh-hant on Ubuntu 18.04
To uninstall only the language-pack-zh-hant
package we can use the following command:
sudo apt-get remove language-pack-zh-hant
Uninstall language-pack-zh-hant And Its Dependencies
To uninstall language-pack-zh-hant
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove language-pack-zh-hant
Remove language-pack-zh-hant Configurations and Data
To remove language-pack-zh-hant
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge language-pack-zh-hant
Remove language-pack-zh-hant configuration, data, and all of its dependencies
We can use the following command to remove language-pack-zh-hant
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge language-pack-zh-hant
References
Summary
In this tutorial we learn how to install language-pack-zh-hant
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.