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

Canonical announces 12 year Kubernetes LTS

Canonical’s Kubernetes LTS (Long Term Support) will support FedRAMP compliance and receive at least 12…

23 hours ago

Ubuntu Weekly Newsletter Issue 878

Welcome to the Ubuntu Weekly Newsletter, Issue 878 for the week of February 2 –…

2 days ago

How your feedback shapes the way we support open source software

At Canonical, we firmly believe that delivering an outstanding, customer-centric support experience is impossible without…

2 days ago

How To Install osTicket v1.14 On Ubuntu 20.04

I want to share how to install osTicket v1.14 for Ubuntu 20.04 server. osTicket written…

3 days ago

How To Install WordPress On Ubuntu 20.04

Now I want to share how to install WordPress on ubuntu 20.04 server. WordPress is…

3 days ago

How To Install DNS Server (Bind9) On Ubuntu 20.04

Now I want to share the DNS server installation process on your Ubuntu 20.04 server.…

3 days ago