Giter Site home page Giter Site logo

maclarke / apt-fast Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ilikenwf/apt-fast

0.0 1.0 0.0 98 KB

apt-fast: A shellscript wrapper for apt that speeds up downloading of packages.

Home Page: http://www.mattparnell.com/projects/apt-fast-and-axel-roughly-26x-faster-apt-get-installations-and-upgrades.html

Shell 100.00%

apt-fast's Introduction

apt-fast 1.8

apt-fast is a shellscript wrapper for apt-get and aptitude that can drastically improve apt download times by downloading packages in parallel, with multiple connections per package.

Setup/Install

PPA

You can use the PPA to get a graphical configuration file setup and automatic updates, for details see: ppa:apt-fast/stable.

Some distros, such as PCLinuxOS include apt-fast in their repos.

Manual

For those of you who want to manually install it, download it and perform the following:

cp apt-fast /usr/bin/
chmod +x /usr/bin/apt-fast
cp apt-fast.conf /etc

You need to have aria2c installed:

apt-get install aria2

Then, you should be ready to use it - simply run apt-fast instead of apt-get or aptitude any time you find yourself needing to manage packages!

Multiple mirrors

It is recommended to add some local mirrors to share bandwidth with multiple mirrors and don't heavily pull from a single server. This will also speedup download.
Look at your distribution's archive mirror list and select some mirrors.

NOTE: Write also your mirrors listed in your sources.list into that list to make sure associated mirrors are handled properly. Remember: Commas separate mirrors for same archive, whitespaces separate different archives (e.g. official archive and PPA are different archives).

Autocompletion

Bash

cp completions/bash/apt-fast /etc/bash_completion.d/
chown root:root /etc/bash_completion.d/apt-fast
. /etc/bash_completion

Zsh

cp completions/zsh/_apt-fast /usr/share/zsh/functions/Completion/Debian/
chown root:root /usr/share/zsh/functions/Completion/Debian/_apt-fast
source /usr/share/zsh/functions/Completion/Debian/_apt-fast

Manual page installation

cp ./man/apt-fast.8 /usr/share/man/man8
gzip -f9 /usr/share/man/man8/apt-fast.8
cp ./man/apt-fast.conf.5 /usr/share/man/man5
gzip -f9 /usr/share/man/man5/apt-fast.conf.5

License

Consider apt-fast and all of it's derivatives licensed under the GNU GPLv3+.

Copyright: 2008-2012 Matt Parnell, http://www.mattparnell.com
Improvements, maintenance, revisions - 2012 Dominique Lasserre

Special thanks

  • Travis/travisn000 - support for complex apt-get commands
  • Allan Hoffmeister - aria2c support
  • Abhishek Sharma - aria2c with proxy support
  • Luca Marchetti - improvements on the locking system and downloader execution
  • Richard Klien - Autocompletion, Download Size Checking (made for on ubuntu, untested on other distros)
  • Patrick Kramer Ruiz - suggestions
  • Sergio Silva - test to see if axel is installed, root detection/sudo autorun, lock file check/creation
  • Waldemar {BOB}{Burnfaker} Wetzel - lockfile improvements, separate config file

apt-fast's People

Contributors

lasall avatar burnfaker avatar cartoonist avatar doherty avatar teymourlouie avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.