Main Menu
Home
About
Archive
Woot Alarm
apt-fast
Zen Kernel
Downloads
Satellite
Dish Keys
SURGE
Links
Search
Search Bible
Feed Me!
 

 Subscribe

Add to Google

Add to Pageflakes

Subscribe in Bloglines

Add to My AOL



 







front page
apt-fast and Axel: Roughly 26x Faster apt-get Installations and Upgrades
Monday, 02 June 2008
Updated 8/4/2010

You can find the latest version at http://www.mattparnell.com/linux/apt-fast/

The latest version will always be the one named "apt-fast.sh."
Since I last updated this post, I have started using Archlinux, whose package manager has a system in place that allows any download manager to be used, for example.

Current News:
I updated the "official" apt-fast.sh with permissions checking, and it runs sudo if you are not root, a contribution by Sergio Silva. I also added a thanks section in the script, which thanks people for submitting thier mods, which I have placed here. I really don't use apt-based distros enough anymore to combine them into one, into the main apt-fast script, but maybe someone who cares more can.

I'd suggest adding an option variable that can be set to axel or aria2c by manual edit, after which is what the script will use for downloading. The same could be done if the user chooses aria2c, allowing to choose a proxy or regular connection. A check to see if aria2c is installed would be needed like the one for axel - and have only one of those run depending on what the downloader variable is set to...

The other stuff shouldn't be hard to roll up into one, like the wonderful autocompletion and install script (though they may vary a bit between distros).

Thanks:

Travis/travisn000 - support for complex apt-get commands
Alan Hoffmeister - aria2c support
Abhishek Sharma - aria2c with proxy support
Richard Klien - Autocompletion, Download Size Checking (made for ubuntu, untested on other distros)
Sergio Silva - test to see if axel is installed, root detection/sudo autorun (in current mainline script)
Patrick Ruiz - Suggestions

About apt-fast:

The apt-fast script I have created is a little shellscript that increases the speed of apt-get by many times. You need to have the axel download accelerator installed, which is a simple, short process, but everything else is extremely straight forward. I started out downloading the upgrades for Kubuntu, at 32kb/s. Not terrible, but not that great. When I was done with the script here, I was getting up to ~850kb/s. That is great, huh?

To do this, you first need to download and install the axel download accelerator. It is really a good drop-in replacement for wget, as it is bash based. Once installed, we are ready to setup apt-fast. On K/Ubuntu apt-get install axel should do it.

Then, either find a package somewhere (or install it from a repo if one of them has it), or just download the latest apt-fast source from the link mentioned at the top of this post. Then, just place the script somewhere (/usr/bin or /usr/sbin is ideal), rename it to apt-fast (without the .sh extension), and sudo chmod +x apt-fast.

Once done, just use it like apt-get. To install a single package, make sure your database is up to date (apt-fast update), and run apt-fast install packagenamehere. Watch it download with incredible speed, and install your requested packages. To upgrade or dist-upgrade, do the same thing. Just use apt-fast dist-upgrade or apt-fast upgrade. That's all there is to it!

Should your download stall for any number of reasons, you'll need to do an apt-fast clean.

This is a fully opensource script, of course, so please improve upon it and modify it as you will. If you do something cool with it, or make a useful mod to the code, please pastebin it or put it in a forum somewhere and put a link in the comments below. I'll give you credit and add it to the script here on mattparnell.com.
 
Unseen TechTV and ZDTV Episodes On the Way
Sunday, 01 June 2008
I have been digging around all over the place, and have found between the Internet Archive and other sources, hundreds of previously lost episodes, clips, and other media from TechTV and ZDTV. I have around 5 gigabytes of video, which is growing, and am going to release a sequel to my TechTV and ZDTV zip file of other media, which is considerably smaller. It will contain more images, internal documents, and other interesting files that you wouldn't think still exist.

I still have some other things to sort out, as I am going to be working, getting back in the swing of kernel compilation, and putting up many websites, while maintaining the 12 or so I'm already responsible for. Whatever the case, the episodes and videos I have found will be released in a torrent, eventually.

Keep checking back!
 
Still Alive
Tuesday, 20 May 2008
I am still here, I have just been busy. I can't compile kernels right now, as I am between distros. The same goes for writing new articles, guides, hacks, etc, as I am on a 3 week tour with my college choir. That said, I should be back grinding away on all the good stuff I'm known for very soon, since this is my last week of the tour. If you're in the New York City area on Labor Day, come to the performance at Carnegie Hall. My choir does a pre-concert performance, followed by the performance of Brahms' Requiem. It should be some really good music!

Whatever the case, I'm still here! Linux and hacking stuff will be coming at you again soon!
 
Ethanol Factsheet, and Gas Saving Measures
Thursday, 24 April 2008
I have created an ethanol factsheet (PDF) that contains all of the information you could possibly want to know about the farce known as ethanol. Celluosic ethanol isn't mentioned, as the R&D dollars that are going into it are likely government subsidy, so it falls into the same category as all ethanol. Please read the sheet before you jump to any conclusions and start posting heated comments here. Feel free to share it with anyone, just don't modify it.

Speak up, and write your government officials to get ethanol and corn subsidization to be eliminated! Our pocketbooks are hurting, and it's time for it to stop!

If you would like to increase your fuel milage, and possibly even add hydrogen/oxygen gas boosting cells to your vehicle, see MPGResearch for all the mods you can think of, and see Water Powered Car for more information regarding home built hydrogen cell boosters. I'll have to write an article regarding these once I have tried some of them. The information there, as it is here, is all free.

Some simple gas saving measures include using a low viscosity oil, such as 5w-30 or 5w-20. Furthermore, keep your tires aired up, at the max if you can stand the rougher ride. Make sure they are balanced and rotated on a regular basis. Use a microlube if possible on the bearings, rear differential, and mix it in with your oil and transmission. You can also use fuel additives for a good boost. You should also modify your driving habits, don't go over the speed limit, and do progressive acceleration versus 0-60 in 3 seconds acceleration. Other than that, there are many good ideas at MPGResearch. Between hydrogen and those mods, many people have gotten standard 4-cylynder engines to get 60-100mpg.
 
Links Working Again
Tuesday, 11 March 2008
It came to my attention today that my link pages were not working properly. They are again. Please see and enjoy them! There are plenty of TechTV links, among many other subjects in there...hacking, Power Rangers, Super Sentai, and more!

-Matt
 
<< Start < Prev 1 2 3 4 5 6 7 8 9 10 Next > End >>

Results 37 - 45 of 233

© Matt Parnell's Brain: Plugged In!