Ade Malsasa Akbar contact
Senior author, Open Source enthusiast.
Wednesday, July 26, 2017 at 21:36


During apt-get update command, your system downloading many index files including Translation. This could be disabled and it would save your bandwidth and also the command would run faster, because huge Translation files are no longer downloaded. The steps to do are simple like below.

Subscribe to UbuntuBuzz Telegram Channel to get article updates directly.

This is a package management article. If you're looking for more, we have a beginner's guide APT ebook, what's repository, list of PPA for Xenial & Zesty, and an installing from source code tutorial.


What We Do


You just need to add this simple line to your APT configuration file:
Acquire::Languages { "none"; };
The secret is: APT works by obeying configuration codes inside that APT configuration file (/etc/apt/apt.conf). So if you set it to "none" for downloading Translation, APT will obey that. As simple as that.

How To Do


Run Gedit text editor as root to open /etc/apt/apt.conf:
sudo gedit /etc/apt/apt.conf

Paste the code  Acquire::Languages { "none"; };  as new line:



Save it.

Test it:

Run a sudo apt-get update and see if downloading "Translation" files are no longer performed.


Note


This configuration is permanent unless you edit that config from apt.conf file.