Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
10
rated 0 times [  10] [ 0]  / answers: 1 / hits: 3079  / 2 Years ago, wed, january 19, 2022, 5:30:40

Have been using apt-fast for a while now and really liking it. In case you don't know it is useful to speed up apt-get. However, I have a few questions regarding apt-fast:




  1. I would like to make any call to apt-get run apt-fast. I'm assuming I can put a script called "apt-get" in my ~/bin folder that executes apt-fast... so maybe I'm answering my own question on this first one.



    Would a script like this work?



    #!/bin/bash
    exec apt-fast $@
    exit 0

  2. apt-fast does not seem to speed up the very thing I wish it sped up most - apt-get update



    I would like apt-fast to make apt-get update run faster. Is this possible?



More From » apt

 Answers
6

You can create an alias for apt-get in your home directory. To do so, follow these:




  1. Open a terminal and do this command:



    touch ~/.bash_aliases; gedit ~/.bash_aliases

  2. In the new opened file, type these and save and exit.



    alias apt-get='apt-fast'



Then, whenever you run apt-get, apt-fast will run instead



For more info, see this page




[#36547] Thursday, January 20, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
dersol

Total Points: 78
Total Questions: 100
Total Answers: 124

Location: Christmas Island
Member since Mon, Oct 19, 2020
4 Years ago
;