Categories: Ubuntu

How to Speed Up Slow apt-get install on Ubuntu

Apt-get is a powerful package management system that allows users to update, upgrade or install packages on Ubuntu systems. However, sometimes it fails to speed up the installation process especially when installing many packages on the system. To cope with the apt-get slow installation process, there is a tool called “apt-fast” that speeds up the installation process on Ubuntu systems. It uses the same mechanism followed by the “apt-get”, but with better speed and performance.

Follow this article’s guidelines to speed up apt-get install on Ubuntu using apt-fast.

Speed Up Slow apt-get install on Ubuntu

To speed up slow apt-get install process on Ubuntu system, follow the below-given steps:

Sponsored

Step 1: apt-fast requires aria2 download accelerator that needs to be installed on Ubuntu system through the following command:

$ sudo apt install aria2

Step 2: Then execute the following bash command to install apt-fast on Ubuntu.

$ /bin/bash -c “$(curl -sL https://git.io/vokNn)

Note: You can install curl on Ubuntu system from the following command if you find “curl command not found error” in the above step.

$ sudo apt install curl

Step 3: Now open the apt-fast configuration file on Ubuntu terminal through the following command:

Sponsored
$ sudo nano /etc/apt-fast.conf

Step 4: Inside the file, you have to uncomment the following MIRRORS line.

Step 5: Save the apt-fast configuration file using “CTRL+X”, add “Y” to accept the changes and enter to go back to the command line.

Step 6: After the changes, you can run the update and upgrade commands using “apt-fast” instead of “apt-get” and you will see that it speeds up the upgrade process.

Here, I am attaching a screenshot for installing VLC media player on Ubuntu system using the “apt-fast” command.

Conclusion

Speeding up the installation process on the Ubuntu system is helpful since it saves a lot of time. The installation done through apt-get command isn’t beneficial for installing many packages on the system since it may slow down the process. The Ubuntu users can install the apt-fast tool from the above-mentioned guidelines that works similar to the apt-get command, but it will speed up the installation process on the system.

Ubuntu Server Admin

Recent Posts

Ubuntu Weekly Newsletter 866

Welcome to the Ubuntu Weekly Newsletter, Issue 866 for the week of November 10 –…

15 hours ago

Ubuntu vs Debian: Linux Distributions Compared Deep Dive

Debian and Ubuntu are two popular Linux distributions. In this deep dive we will guide…

1 day ago

How to Install Google Cloud BigQuery Python client library on Linux

In this article, we will see how to Install Google Cloud BigQuery Python client library…

3 days ago

Wallpaper Contest for Xfce 4.20 open for voting

Nov 15,2024 Wallpaper Contest for Xfce 4.20 open for voting The submission phase for the…

3 days ago

Canonical announces the first MicroCloud LTS release

MicroCloud 2.1.0 LTS is now available, expanding the number of Canonical infrastructure solutions with a…

4 days ago

Join Canonical in Paris at Dell Technologies Forum

Canonical is thrilled to be joining forces with Dell Technologies at the upcoming Dell Technologies…

5 days ago