Update the apt package list to account for the new download repository location sudo apt-get update Install OpenFOAM (30 in the name refers to version 3.0.1) sudo apt-get -y install openfoam30 Install Paraview (44 in the name refers to version 4.4.0).Note, Ubuntu 14.04.2 users: see first note in Installation Problems below.
Apt-fast is a script that can 'drastically improve APT download speed' by using command line download accelerators such as Axel or Aria2 with multiple connections per package.
We've actually blogged about apt-fast back in 2009 but since then, the script has received some important changes so I've wanted to update our readers with its current status.
Since our previous apt-fast articles, the script has gained support for multiple download tools (axel and aria2), an option to download the binary in the current folder as well as an option to use either apt-get or aptitude. Furthermore, apt-fast has an official PPA for Ubuntu users and it's even present in the official repositories for some Linux distributions, like PCLinuxOS for instance.
Features:
- uses aria2 or axel, 2 great command line download tools to improve download speed, with multiple connections per package
- supports both apt-get and aptitude
- proxy support
- supports most apt-get functions: install, upgrade, dist-upgrade, build-dep and so on
Don't expect the script to do wonders for slow Internet connections (though I can't really comment here since I have a really fast connection), but if you have a decent Internet connection, you should see some pretty big improvements in downloading the binaries. This is especially useful for installing / upgrading multiple or large packages, such as games (hint for 0 AD fans).
apt-fast only speeds up downloading the binaries, so even though 'apt-fast update' works, this command isn't ran using a download accelerator so the speed is the same as with apt-get. Support for the 'update' command is, however, planned for a future release. If you can help implement this, see the apt-fast GitHub page.
apt-fast only speeds up downloading the binaries, so even though 'apt-fast update' works, this command isn't ran using a download accelerator so the speed is the same as with apt-get. Support for the 'update' command is, however, planned for a future release. If you can help implement this, see the apt-fast GitHub page.
Install apt-fast
Ubuntu users can install the latest stable apt-fast from its official PPA:
When installing apt-fast in Ubuntu via its PPA, the package asks you if you want to use aptitude or apt-get, what download manager to use (axel or aria2c). If, later on, you want to change some of the apt-fast options, use the following command:
aria2c is the download tool recommended by the apt-fast developers, mostly because it supports resuming downloads.
For other Linux distributions, you can download apt-fast from GitHub.
Using apt-fast
apt-fast works the same as apt-get and all you have to do is use 'sudo apt-fast install PACKAGE' instead of 'apt-get' and so on for any operation.
Install a package:
Upgrade packages:
Install the build dependencies for a package:
Like I was saying, the commands are identical to apt-get and all you have to do is replace 'apt-get' with 'apt-fast'. There's also a download command ('apt-fast download PACKAGE') which downloads the binary into the current directory.
If you encounter bugs, report them @ Launchpad or GitHub.
Apt-Fast is a small shell script wrapper that can drastically improve
apt-get & aptitude
download speed using multi threaded tool such as axel
and aria2
which is simultaneously downloading packages with multiple connections per package (from different sources). This will suitable for bigger download and OS upgrade. I have tested this and realized 2-3 times fast compare with normal apt-get. You can also give a try and update your feedback, make sure this purely depends upon your Internet connection.
Suggested Read :
(#) APT (Advanced Packaging Tool) : Advanced Package Management tool for Debian Based Systems
(#) Apt-Get & Apt-Cache commands to manage packages on Debian Based Systems
(#) APT (Advanced Packaging Tool) : Advanced Package Management tool for Debian Based Systems
(#) Apt-Get & Apt-Cache commands to manage packages on Debian Based Systems
Install Prerequisites
In order to use Apt-Fast, we have to install either
axel
or aria2
multi-protocol & multi-source command-line download utility.Navigate to following links to know more about an utility.
Suggested Read :
(#) Speed up your downloads with Axel command line downloader/accelerator
(#) aria2 (Command Line Downloader) command examples
(#) Speed up your downloads with Axel command line downloader/accelerator
(#) aria2 (Command Line Downloader) command examples
Install Apt-Fast in Debian based system
There is no official package for Debian system but one good thing, developer offering a shell script to install Apt-Fast quickly.
Use the following PPA to install Apt-Fast on Ubuntu 14.04 and later versions.
Configure Apt-Fast
After installation, open
/etc/apt-fast.conf
file and add following mirrors based on your distribution.Also navigate to following distribution official mirror page and get nearest mirrors based on your geographical location and add it.
- Debian :http://www.debian.org/mirror/list
- Ubuntu :https://launchpad.net/ubuntu/+archivemirrors
Add a mirrors using the below format with space and comma to separate it.
Note : Make sure you have to add all the mirrors which was present in
/etc/apt/sources.list
or /etc/apt/sources.list.d/
to /etc/apt-fast.conf
file.How To Use Apt-Fast
We have successfully installed and configured Apt-Fast. Now, its time to use Apt-Fast. Apt-Fast is similar to Apt-Get, so use FAST instead of GET followed by Apt and rest of the things are same.
For demonstration purpose, we are going to install
MariDB
package with help of Apt-Fast command to check either it’s improving the package download or not?It will be asking you to confirm before initiate package download through apt-fast.
Yes, it’s used multiple connection to download the MariaDB package, as i can clearly saw in the below screen shot.
.
.
Use the following frequent/routine commands on your system to boost package download speeds.