How To Install firefox-locale-zh-hans on Ubuntu 18.04
Introduction
In this tutorial we learn how to install firefox-locale-zh-hans
on Ubuntu 18.04.
What is firefox-locale-zh-hans
firefox-locale-zh-hans is:
This package contains Simplified Chinese translations and search plugins for Firefox
There are three methods to install firefox-locale-zh-hans
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 firefox-locale-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 firefox-locale-zh-hans
using apt-get
by running the following command:
sudo apt-get -y install firefox-locale-zh-hans
Install firefox-locale-zh-hans Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install firefox-locale-zh-hans
using apt
by running the following command:
sudo apt -y install firefox-locale-zh-hans
Install firefox-locale-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 firefox-locale-zh-hans
using aptitude
by running the following command:
sudo aptitude -y install firefox-locale-zh-hans
How To Uninstall firefox-locale-zh-hans on Ubuntu 18.04
To uninstall only the firefox-locale-zh-hans
package we can use the following command:
sudo apt-get remove firefox-locale-zh-hans
Uninstall firefox-locale-zh-hans And Its Dependencies
To uninstall firefox-locale-zh-hans
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove firefox-locale-zh-hans
Remove firefox-locale-zh-hans Configurations and Data
To remove firefox-locale-zh-hans
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge firefox-locale-zh-hans
Remove firefox-locale-zh-hans configuration, data, and all of its dependencies
We can use the following command to remove firefox-locale-zh-hans
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge firefox-locale-zh-hans
References
Summary
In this tutorial we learn how to install firefox-locale-zh-hans
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.