Downloader for APT

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
Larkin
Level 1
Level 1
Posts: 24
Joined: Tue Jun 14, 2016 2:28 pm

Downloader for APT

Post by Larkin »

Hello everyone!
How I can change downloader for APT? I want to change standart downloader to Aria2.
Thank you.
Sorry for my bad English. English is not my native language. I study English by myself and I can do elementary mistakes.
User avatar
xenopeek
Level 25
Level 25
Posts: 25152
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Downloader for APT

Post by xenopeek »

You can't use Aria2 for apt downloading I think. If this is about speeding up downloads you may consider something like apt-fast http://www.tecmint.com/use-apt-fast-com ... ls-ubuntu/.
Image
Larkin
Level 1
Level 1
Posts: 24
Joined: Tue Jun 14, 2016 2:28 pm

Re: Downloader for APT

Post by Larkin »

xenopeek wrote:If this is about speeding up downloads...
Aria2 provides download several parts of file in one time. It is very important for me, because I have very unstable connection.
Sorry for my bad English. English is not my native language. I study English by myself and I can do elementary mistakes.
User avatar
Flemur
Level 19
Level 19
Posts: 9098
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Downloader for APT

Post by Flemur »

Larkin wrote:
xenopeek wrote:If this is about speeding up downloads...
Aria2 provides download several parts of file in one time. It is very important for me, because I have very unstable connection.
You can get the URL to download by using apt-get with "--print-uris "
http://askubuntu.com/questions/367574/h ... eb-package

"Instead of fetching the files to install their URIs are printed." ...etc...

Then download the .deb files to /var/cache/apt/archives/ with Aria2. Then run the install again without the --print-uris, and it should install from the .deb files you already downloaded.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
User avatar
ColonelPanic
Level 1
Level 1
Posts: 9
Joined: Wed Sep 28, 2016 11:44 am

Re: Downloader for APT

Post by ColonelPanic »

You can use wget in a terminal. With the -c option the download will be resumed if the connection is lost.
To download linuxmint-18.1-cinnamon-64bit.iso from kernel.org

Code: Select all

wget -c http://mirrors.kernel.org/linuxmint/stable/18.1/linuxmint-18.1-cinnamon-64bit.iso
Wget has been designed for robustness over slow or unstable network
connections; if a download fails due to a network problem, it will keep
retrying until the whole file has been retrieved.
http://manpages.ubuntu.com/manpages/xen ... get.1.html
currently installed - LM 18 Cinnamon
Post Reply

Return to “Newbie Questions”