LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 02: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: 2
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, 07:59 PM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726

Rep: Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706
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, 12:09 PM   #3
leosubhadeep
Member
 
Registered: Jul 2012
Location: West Bengal,India
Distribution: Ubuntu 14.04,Fedora 20,Windows 7
Posts: 111

Original Poster
Blog Entries: 3

Rep: Reputation: 2
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, 12:59 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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 05:49 AM.
 
Old 08-17-2012, 02:03 PM   #5
leosubhadeep
Member
 
Registered: Jul 2012
Location: West Bengal,India
Distribution: Ubuntu 14.04,Fedora 20,Windows 7
Posts: 111

Original Poster
Blog Entries: 3

Rep: Reputation: 2
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, 03:03 PM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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 03:07 PM.
 
1 members found this post helpful.
Old 08-18-2012, 02:45 PM   #7
leosubhadeep
Member
 
Registered: Jul 2012
Location: West Bengal,India
Distribution: Ubuntu 14.04,Fedora 20,Windows 7
Posts: 111

Original Poster
Blog Entries: 3

Rep: Reputation: 2
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, 08:55 PM   #8
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726

Rep: Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706
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, 06:51 AM   #9
leosubhadeep
Member
 
Registered: Jul 2012
Location: West Bengal,India
Distribution: Ubuntu 14.04,Fedora 20,Windows 7
Posts: 111

Original Poster
Blog Entries: 3

Rep: Reputation: 2
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 06: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 08:01 AM
LXer: Apt-Fast Accelerates your Apt-Get Download Speeds LXer Syndicated Linux News 0 11-16-2010 03:40 PM
LXer: Make apt-get Installations and Upgrades 26x faster with apt-fast LXer Syndicated Linux News 1 10-25-2010 06:14 PM
Important apt-fast over apt-get culaterout Linux - Newbie 5 01-19-2010 03:59 PM
LXer: New Apt-Fast Version, Now With Full Apt-Get Syntax Replacement LXer Syndicated Linux News 0 01-17-2010 08:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:30 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration