Apt get install firmware iwlwifi Download Firmware APK for android Gingerbread 2.3.3 - 2.3.7 2010 year, android Ice Cream Sandwich 4.0.3 - 4.0.4 2011 year, android Jelly Bean 4.1.x 2012 year, android Jelly Bean 4.2.x 2012 year, android Jelly Bean 4.3 2013 year, android KitKat 4.4 2013 year, android Lollipop 5.0 2014 year, android Lollipop 5.1 2015 year, android Marshmallow 6.0 2015 year. Install.packages and later update.packages is good if and when. You know what it takes to have built-time dependencies (besides r-base-dev) installed. You don't mind running update.packages by hand as well as the apt-get updates. On my Ubuntu machine at work, I go with the second solution.
In this editorial, we take a look at a great and powerful utility called
apt-fast
that you can use to speed up downloading packages by APT or Aptitude.apt-fast is an open-source shell script wrapper for the popular APT and Aptitude package managing tools that helps to speed the downloading of packages on Debian systems.
It’s main function is to remarkably speed up the downloading of packages by apt-get or aptitude by downloading packages in parallel, with numerous connections per package.
Read some of the following articles, that discusses about APT and Aptitude along with their usage with examples:
Requirement for running apt-fast utility, is to have aria2c or axel download managers.
How to Install apt-fast on Ubuntu 16.04-14.04 and Linux Mint 18/17.x
Firstly add the the PPA for apt-fast package as follows and then update your system.
Thereafter, run the command below to install apt-fast tool:
During the apt-fast installation process, you will be prompted to perform some package configuration as follows.
In the screen below, you can set the number of connections allowed, remember, you can also configure it later in the apt-fast configuration file using the
_MAXNUM
directive.Next, you can also choose to suppress the apt-fast confirmation message every time you want to install a package. But leaving the default value is okay, therefore, choose
<No>
and hit Enter to advance.Configure apt-fast
How to Use apt-fast?
After successfully installing apt-fast, simply use it the same way you run
apt
or aptitude
commands.The apt-fast configuration file is:
/etc/apt-fast.conf
, you can further increase your download speeds by adding multiple mirrors and distribute load, make sure to add nearest mirrors.Official mirror lists for Debian and Ubuntu/Linux Mint:
- Debian: http://www.debian.org/mirror/list
- Ubuntu: https://launchpad.net/ubuntu/+archivemirrors
You can add them to whitespace and comma separated mirrors in the configuration file as follows:
For Debian
For Ubuntu/Linux Mint
Important: To use mirrors in /etc/apt/sources.list or /etc/apt/sources.list.d/, you also need to add them to /etc/apt-fast.conf as well.
You also view the man page for apt-fast and apt-fast.conf as follows:
Let us dive into how apt-fast works by installing
git
package as follows:You will be asked to confirm whether to download package or not, enter
Yes/Y
to continue. The image below shows apt-fast working – downloading git
package using several connections.Install Packages Using apt-fast
After downloading the
git
package, you will again be asked to install it by entering Yes/Y
and press Enter to proceed with the installation process.Some important apt-fast commands:
In case a downloading process stops or breaks, run the command below:
For more information, visit the apt-fast Github repository.
Conclusion
Here, we reviewed a powerful shell-script front-end for apt and aptitude that helps you to boost download speeds while installing packages on your Debian-based systems such as Ubuntu, Linux Mint and many more.
What is you experience with apt-fast? Do you think it works well for you? Then give us your thoughts plus any other questions you would like to ask, via the feedback form below.
Translation(s): English - Español - Français - Italiano - 한국어(Korean) | ?Discussion |
DebianPackage > Apt > apt-get
apt-get - APT package handling utility - command-line interface
apt-get is a tool to automatically update your Debian machine and get and install debian packages/programs!
This tool is a part of the DebianPackageManagement system.
Error Messages
E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
An attempt is being made to run more than one package management process
This error may occur if an attempt to run more than one package management process is made. For example, if a package is being installed or removed using apt-get, or dselect, it should not be possible to run another package management tool, until the package updates are complete.
A non-root user is trying to add or remove packages
This error may also occur if a non-privileged (non-root) user attempts to add or install packages, or make a change to package status information within the package database.
E: Dynamic MMap ran out of room
This error may occur if the Apt::Cache-Limit is reached. It is necessary to add an entry to the /etc/apt/apt.conf configuration file to override the default value.
APT::Cache-Limit '33554432';
E: Error occurred while processing xfmedia-dev (NewVersion1)
E: Problem with MergeList /var/lib/apt/lists/foobar
E: The package lists or status file could not be parsed or opened.
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
A non-root user is trying to add or remove packages
This error may occur if a non-privileged (non-root) user attempts to add or install packages, or make a change to package status information within the package database.
See also
- AptPreferences
- Synaptic
- PackageManagement
- dpkg
- gdeb
- ?AptZip
For Debian neophytes:
apt-get selects packages based on your sources list, which is /etc/apt/sources.list
apt-get draws from three levels of packages: stable, testing, and unstable. for example, at the time of writing apache in stable was 1.3.26, testing 1.3.27, and unstable 1.3.28.
Try AptPinning if you want an unstable package on a stable Debian system. Beware, the unstable package might pull libraries with it, and you might end up with a 'worst of' mixture of stable and unstable. Better search for a backport
For Debian neophytes who are non-root:
(For example, you are using a simple shared Debian web server.) You cannot use apt-get. Find a nice explanation of the configure/make/make install process, and have at it.
Alternative and unoffical apt-get package servers can be found at : http://www.apt-get.org
CategoryPackageManagement | CategorySystemAdministration