Giter Site home page Giter Site logo

Comments (6)

awalsh128 avatar awalsh128 commented on August 11, 2024 1

None at all. Updated in staging and master.

from cache-apt-pkgs-action.

awalsh128 avatar awalsh128 commented on August 11, 2024 1

Feature now in master. Will put this into the v1.1.0 release.

from cache-apt-pkgs-action.

awalsh128 avatar awalsh128 commented on August 11, 2024

To install as documented from the GitHub site:

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

Unattended install can be done with DEBIAN_FRONTEND=noninteractive apt-get install -y apt-fast.

Timed the install of apt-fast itself and it takes about 5 seconds.

time DEBIAN_FRONTEND=noninteractive sudo apt-get install -y apt-fast
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  aptitude zsh fish
The following NEW packages will be installed:
  apt-fast
0 upgraded, 1 newly installed, 0 to remove and 274 not upgraded.
Need to get 0 B/35.8 kB of archives.
After this operation, 128 kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously unselected package apt-fast.
(Reading database ... 118995 files and directories currently installed.)
Preparing to unpack .../apt-fast_1.9.12-1~ubuntu20.04.1_all.deb ...
Unpacking apt-fast (1.9.12-1~ubuntu20.04.1) ...
Setting up apt-fast (1.9.12-1~ubuntu20.04.1) ...
Processing triggers for man-db (2.9.1-1) ...

real    0m5.064s
user    0m4.240s
sys     0m0.761s

Although the quick install takes less than a second /bin/bash -c "$(curl -sL https://git.io/vokNn)".

from cache-apt-pkgs-action.

pablgonz avatar pablgonz commented on August 11, 2024

According to (https://github.com/actions/virtual-environments), apt-fast is available by default in all distributions.

I believe that the speed, especially when using cache is considerably increased by using:

apt-fast -y install --no-install-recommends

By default apt installs the recommendations, but they are not necessary (in most cases) and if they are the user should make them explicit (in my humble opinion).

from cache-apt-pkgs-action.

awalsh128 avatar awalsh128 commented on August 11, 2024

Perfect, thanks @pablgonz. I should be able to implement this by end of next week.

from cache-apt-pkgs-action.

pablgonz avatar pablgonz commented on August 11, 2024

Jeje...Any reason not to upgrade to actions/cache@v3?

from cache-apt-pkgs-action.

Related Issues (20)

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.