While updating or installing new packages in ubuntu we often experienced slow downloading speed even while our network connection is running fine. To get around this and speed up the downloads, we use apt-fast wrapper. apt-fast is a shell script wrapper for “apt-get” and “aptitude”. It improves downloading speed for packages by providing a correspondence, multiple packages download per connection.
Step 1: To use apt-fast wrapper we need to have axel or aria2 package install in our system. Open the terminal and install any one of the packages.
To install axel
$ sudo apt-get install axel
To install aria2
$ sudo apt-get install aria2
Step 2: Now to install apt-fast we need to add required PPA for apt-fast.
$ sudo add-apt-repository ppa:apt-fast/stable
While installing it will prompt to press enter.
After installing PPA it’s good to update and upgrade system.
$ sudo apt-get update && sudo apt-get upgrade
Step 3: Now installing apt-fast
$ sudo apt-get -y install apt-fast
During the installation of apt-fast, it will provide with certain popups.
Here, select apt-get and hit Enter to move to the next step.
Let it be “5” and press Enter.
Leave the default value selected and press Enter.
Step 4: To configure more options use can use
$ sudo dpkg-reconfigure apt-fast
Or open it’s configuration file
$ sudo vim /etc/apt-fast.conf
Step 5: Create alias to use it as default.
$ sudo echo "alias apt-get='apt-fast'" >> ~/.bashrc
$ source ~/.bashrc
- Downloading files from web using Python
- Downloading gists from Github made simple
- Is downloading YouTube videos legal?
- How to test all Linux distributions without downloading them?
- How to Setup Atom Editor with all the required Packages?
- What Are the Tidyverse Packages in R Language?
- How to install, configure and use GIT on ubuntu?
- How to use GIT in Ubuntu ? (Part -2)
- LAMP installation and important PHP configurations on Ubuntu
- How to mount windows drives in Ubuntu
- Get to know Ubuntu 18.04 LTS | Welcome Bionic Beaver!!
- Difference Between Ubuntu and Kali Linux
- Interesting Facts about Ubuntu
- How to setup cron jobs in Ubuntu
- How to make sure that Apache service keeps running in Ubuntu
- Creating custom domain name instead of localhost in Ubuntu
- Creating and Configuring Wi-Fi Hotspot in Ubuntu
- How to change login screen background in Ubuntu
- Configuring and Accessing Google Drive Account in Ubuntu
- How to install Apache server in Ubuntu ?
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.