How To Install firefox-locale-zh-hans on Ubuntu 20.04

In this tutorial we learn how to install firefox-locale-zh-hans on Ubuntu 20.04. firefox-locale-zh-hans is Simplified Chinese language pack for Firefox Simplified Chinese language pack for Firefox

Introduction

In this tutorial we learn how to install firefox-locale-zh-hans on Ubuntu 20.04.

What is firefox-locale-zh-hans

firefox-locale-zh-hans is:

This package contains Simplified Chinese translations and search plugins for Firefox Task: ubuntu-desktop-minimal-default-languages, ubuntu-desktop-default-languages, ubuntukylin-desktop

Package: firefox-locale-zh-hans Architecture: amd64 Version: 75.0+build3-0ubuntu1 Priority: optional Section: web Source: firefox Origin: Ubuntu Maintainer: Ubuntu Mozilla Team [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 788 Replaces: language-pack-zh-hans-base Filename: pool/main/f/firefox/firefox-locale-zh-hans_75.0+build3-0ubuntu1_amd64.deb Size: 512728 MD5sum: d374cd648e7a765bf4e86f18b7b727db SHA1: 89baf706f1a9db48b9adc072821c6fd11acaee55 SHA256: a7fb832d36619c65872b8180b6c354b5aa8fb543a2bd806bece75de03ce98861 Description-en: Simplified Chinese language pack for Firefox This package contains Simplified Chinese translations and search plugins for Firefox Task: ubuntu-desktop-minimal-default-languages, ubuntu-desktop-default-languages, ubuntukylin-desktop

There are three methods to install firefox-locale-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 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 20.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 20.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 20.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 20.04 using different package management tools: apt, apt-get and aptitude.