PRINT
PRINT
SEND MAIL
SEND MAIL
TUTORIALS

Install Apt-fast + apt-progressbar!!

Want create site? Find Free WordPress Themes and plugins.

To install apt-fast on Debian:1. wget https://www.dropbox.com/s/8mjqwvqtban68su/add-apt-repository.sh.txt

2 . copy and rename the file 
$ mv  /root/add-apt-repository.sh.txt   /root/add-apt-repository

$ cp  /root/add-apt-repository   /usr/sbin/add-apt-repository

3. Change permissions to execute

$ chmod o+x /usr/sbin/add-apt-repository

4. Change ownership to root

$  chown root:root /usr/sbin/add-apt-repository

5. Now when ever you need to execute command type

$ sudo add-apt-repository ppa: ppa – name

Disclaimer:adding ppa can have adverse effects on debian machines
so , be  careful
..

$ sudo add-apt-repository ppa:apt-fast/stable
$ sudo apt-get update
$ sudo apt-get install apt-fast

To install apt-fast on Ubuntu or Linux Mint:

$ sudo add-apt-repository ppa:apt-fast/stable
$ sudo apt-get update
$ sudo apt-get install apt-fast

Configure apt-fast

After installation, you need to configure a list of mirrors used by apt-fast in /etc/apt-fast.conf.

You can find a list of Debian/Ubuntu mirrors in the following locations.

Debian: http://www.debian.org/mirror/list
Ubuntu: https://launchpad.net/ubuntu/+archivemirrors
Choose mirrors which are geographically close to your location, and add chosen mirrors to /etc/apt-fast.conf in the following format.

$ sudo vi /etc/apt-fast.conf

Debian:
MIRRORS=(‘http://ftp.us.debian.org/debian/,http://carroll.aset.psu.edu/pub/linux/distributions/debian/,http://debian.gtisc.gatech.edu/debian/,http://debian.lcs.mit.edu/debian/,http://mirror.cc.columbia.edu/debian/‘)

Ubuntu/Mint:

MIRRORS=(‘http://us.archive.ubuntu.com/ubuntu,http://mirror.cc.columbia.edu/pub/linux/ubuntu/archive/,http://mirror.cc.vt.edu/pub2/ubuntu/,http://mirror.umd.edu/ubuntu/,http://mirrors.mit.edu/ubuntu/‘)
Individual mirrors for a given archive should be separated by commas as above. It is recommended that in the MIRRORS string, you include the default mirror site specified in /etc/apt/sources.list.

Install a Package with apt-fast

You can use apt-fast in the following format.

apt-fast [apt-get options and arguments] apt-fast [aptitude options and arguments] apt-fast { { install | upgrade | dist-upgrade | build-dep | download  | source  } [ -y | –yes | –assume-yes | –assume-no ]   … | clean }

To install a package with apt-fast:

$ sudo apt-fast install texlive-full

To download a package in the current directory:

$ sudo apt-fast download texlive-full

this is not my  tutorial,i  found  it  on the internet..
info  found  here : http://xmodulo.com/2013/10/speed-slow-apt-get-install-debian-ubuntu.html

How to make apt  faster  replacing apt-get with apt-fast: : 

$ alias apt-get=’apt-fast -y’

$ echo “alias apt-get=’apt-fast -y'” >> ~/.bashrc

Now, when you do this:

$ sudo apt-get install minesweeper

Your system will do this:

$ sudo apt-fast install minesweeper

$$ make apt  looks  like  arch linux  with  progress bar :

  echo ‘Dpkg::Progress-Fancy “1”;’ > /etc/apt/apt.conf.d/99progressbar
Did you find apk for android? You can find new Free Android Games and apps.
Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *