LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 08-16-2012, 01:10 PM   #1
leosubhadeep
Member
 
Registered: Jul 2012
Location: West Bengal,India
Distribution: Ubuntu 14.04,Fedora 20,Windows 7
Posts: 111
Blog Entries: 3

Rep: Reputation: 1
apt-get or apt-fast on Ubuntu 12.04


I have recently read somewhere (Can't remember the site's name) that apt-fast acts much faster than apt-get on Ubuntu. Now I haven't heard of that, all I have are the GUI-based installers (e.g. Ubuntu S/W center and Deepin) and terminal-based installers: apt-get,smart even yum!

Is this true that apt-fast works faster than all? I thought to ask you people prior to having it, because I have lots of installers/Package Managers stated above.
 
Old 08-16-2012, 06:59 PM   #2
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Debian, SL
Posts: 5,081

Rep: Reputation: 1097Reputation: 1097Reputation: 1097Reputation: 1097Reputation: 1097Reputation: 1097Reputation: 1097Reputation: 1097
Hi,

AFAICT it is just a little shell script that uses axel to do parallel downloads of the packaages. How fast it is compared to apt-get et. al. will depend on the specifics of the network and mirror. Try it and decide for yourself.

Evo2.
 
2 members found this post helpful.
Old 08-17-2012, 11:09 AM   #3
leosubhadeep
Member
 
Registered: Jul 2012
Location: West Bengal,India
Distribution: Ubuntu 14.04,Fedora 20,Windows 7
Posts: 111
Blog Entries: 3

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by evo2 View Post
Hi,

AFAICT it is just a little shell script that uses axel to do parallel downloads of the packaages. How fast it is compared to apt-get et. al. will depend on the specifics of the network and mirror. Try it and decide for yourself.

Evo2.
Sorry, no use. Any others, please?
 
Old 08-17-2012, 11:59 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,519

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
The answer by @evo2 is correct :
1) The tiny script (2 kB) uses axel to download the packages concurrently.
2) and installs the packages with apt-get.

apt-fast.sh http://www.mattparnell.com/linux/apt-fast/apt-fast.sh
http://www.webupd8.org/2010/01/new-a...full-full.html


.

Last edited by knudfl; 08-19-2012 at 04:49 AM.
 
Old 08-17-2012, 01:03 PM   #5
leosubhadeep
Member
 
Registered: Jul 2012
Location: West Bengal,India
Distribution: Ubuntu 14.04,Fedora 20,Windows 7
Posts: 111
Blog Entries: 3

Original Poster
Rep: Reputation: 1
Guys I thought this forum was called "Linux- Newbie". Of course the answerers are correct, but if I could get the tech jargons (please read my first post fully), would I waste my time in this forum?
However, I think I should use "apt-fast" and see the difference by myself. It's easy to install as per the links provided, but does it have any security issue/bugs? It's not official for Ubuntu after all, as I know!
 
Old 08-17-2012, 02:03 PM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,519

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
https://code.launchpad.net/~apt-fast/+archive/stable

Please open a terminal window, and type :
sudo <your-preferred-editor> /etc/apt/sources.list
( Like : sudo gedit /etc/apt/sources.list )
.... and then add this line at the bottom of "sources.list" :
Code:
deb http://ppa.launchpad.net/apt-fast/stable/ubuntu precise main
Next : sudo apt-get update
And : sudo apt-get install apt-fast axel


Note : There can hardly be any bugs in a small text file like "apt-fast".
Please read the script. Is also linked in post #4.

.

Last edited by knudfl; 08-17-2012 at 02:07 PM.
 
1 members found this post helpful.
Old 08-18-2012, 01:45 PM   #7
leosubhadeep
Member
 
Registered: Jul 2012
Location: West Bengal,India
Distribution: Ubuntu 14.04,Fedora 20,Windows 7
Posts: 111
Blog Entries: 3

Original Poster
Rep: Reputation: 1
Smile Working great, thanks!

Quote:
Originally Posted by knudfl View Post
https://code.launchpad.net/~apt-fast/+archive/stable

Please open a terminal window, and type :
sudo <your-preferred-editor> /etc/apt/sources.list
( Like : sudo gedit /etc/apt/sources.list )
.... and then add this line at the bottom of "sources.list" :
Code:
deb http://ppa.launchpad.net/apt-fast/stable/ubuntu precise main
Next : sudo apt-get update
And : sudo apt-get install apt-fast axel
.
Did as instructed by you. It was much like a Windows wizard-like installer (which made my life easier) and allowed me to choose a few things. BTW, I chose 10 "simultaneous connections" (the default was 5), can this be any problem in future?

However, you do deserve kudos, man! apt-fast is a minor upgradation of apt-get, but working great and very fast on my Ubuntu!!
 
Old 08-18-2012, 07:55 PM   #8
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Debian, SL
Posts: 5,081

Rep: Reputation: 1097Reputation: 1097Reputation: 1097Reputation: 1097Reputation: 1097Reputation: 1097Reputation: 1097Reputation: 1097
Hi,
Quote:
Originally Posted by leosubhadeep View Post
Sorry, no use. Any others, please?
Wow, I'll make sure I don't waste my time trying to help you in the future.

*plonk*

Evo2.
 
1 members found this post helpful.
Old 08-20-2012, 05:51 AM   #9
leosubhadeep
Member
 
Registered: Jul 2012
Location: West Bengal,India
Distribution: Ubuntu 14.04,Fedora 20,Windows 7
Posts: 111
Blog Entries: 3

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by evo2 View Post
Hi,


Wow, I'll make sure I don't waste my time trying to help you in the future.

*plonk*

Evo2.
I am extremely sorry . I should have thanked you, too. Thanks for answering. However, instead of being sarcastic, please be a bit elaborate while helping others in future.

Last edited by leosubhadeep; 08-20-2012 at 05:54 AM. Reason: Spelling mistake
 
1 members found this post helpful.
  


Reply

Tags
apt-get, ppa, ubuntu 12.04


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Use Apt-Fast to Speed Up Your Package Download In Ubuntu LXer Syndicated Linux News 0 06-30-2012 07:01 AM
LXer: Apt-Fast Accelerates your Apt-Get Download Speeds LXer Syndicated Linux News 0 11-16-2010 02:40 PM
LXer: Make apt-get Installations and Upgrades 26x faster with apt-fast LXer Syndicated Linux News 1 10-25-2010 05:14 PM
Important apt-fast over apt-get culaterout Linux - Newbie 5 01-19-2010 02:59 PM
LXer: New Apt-Fast Version, Now With Full Apt-Get Syntax Replacement LXer Syndicated Linux News 0 01-17-2010 07:51 PM


All times are GMT -5. The time now is 09:55 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration