{"id":47795066,"url":"https://github.com/eclipse-score/apt-install","last_synced_at":"2026-04-03T16:13:57.147Z","repository":{"id":300957075,"uuid":"1004312884","full_name":"eclipse-score/apt-install","owner":"eclipse-score","description":"GitHub Action to execute apt-install in a clever way","archived":false,"fork":false,"pushed_at":"2025-07-24T07:03:36.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-24T10:57:19.674Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eclipse-score.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-18T12:40:03.000Z","updated_at":"2025-07-24T07:03:38.000Z","dependencies_parsed_at":"2025-06-24T12:51:58.642Z","dependency_job_id":"16e4e452-dd5d-4433-b1d0-9a258179d77f","html_url":"https://github.com/eclipse-score/apt-install","commit_stats":null,"previous_names":["eclipse-score/apt-install"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eclipse-score/apt-install","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclipse-score%2Fapt-install","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclipse-score%2Fapt-install/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclipse-score%2Fapt-install/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclipse-score%2Fapt-install/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eclipse-score","download_url":"https://codeload.github.com/eclipse-score/apt-install/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclipse-score%2Fapt-install/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31362716,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-03T15:19:21.178Z","status":"ssl_error","status_checked_at":"2026-04-03T15:19:20.670Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-04-03T16:13:56.483Z","updated_at":"2026-04-03T16:13:57.139Z","avatar_url":"https://github.com/eclipse-score.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Installing packages... the convenient way\n\n## Why use this action?\n\nJust running `apt install` in a GitHub Actions workflow is not the best way to\ninstall packages. It can be slow. Really really slow. Using this action will\nspeed up the installation of packages via `apt`.\n\n### Example\n\nInstalling graphviz with different methods:\n\n\n| Method | Mean (s) | Median (s) | 30–60s | \u003e60s |\n|--------|----------|------------|--------|------|\n| apt install graphviz | 🔴 26.0 | 🟡 20.0 | 1,4% | 9,5% |\n| via this action | 🟢 6.5 | 🟢 6.0 | 0 | 0 |\n\n\n## How to use\n\nAdd the following step to your GitHub Actions workflow to install packages via `apt`:\n\n```yaml\n    - name: Install dependencies\n      uses: eclipse-score/apt-install@main\n      with:\n        packages: dia doxygen doxygen-doc doxygen-gui doxygen-latex graphviz mscgen\n```\n\n## Parameters\n\n| Parameter | Description | Default |\n|-----------|-------------|---------|\n| `packages` | A space-separated list of packages to install via `apt`. | *required* |\n| `cache` | Use a cache to speed up the installation. See also [Caching Caveats](https://github.com/awalsh128/cache-apt-pkgs-action#caveats) | `true` |\n| `mandb` | Update the `mandb` database after installing packages. | `false` |\n| `apt_update` | Run `apt update` before installing packages. | `false` |\n| `recommends` | Install recommended dependencies. | `false` |\n\n## Why yet another action?\n\nWhile it's true that there are already several actions that install packages via `apt`, none quite matches our expectations.\nWe wanted an action that is fast, efficient, and easy to use. This action is designed to be a drop-in replacement for `apt install` in GitHub Actions workflows, while allowing all the flexibility you need.\n\n## Measurements in Detail\n\nInstalling graphviz 375 times every 10 minutes with different methods, measuring the time it takes to install the package.\n\n| Method | Mean (s) | Median (s) | 30–60s | \u003e60s |\n|--------|----------|------------|--------|------|\n| Install via setup-graphviz action | 🔴 27.5 | 🔴 23.0 | 1.1% | 9.1% |\n| Install via apt | 🔴 26.5 | 🟡 20.0 | 1.3% | 9.9% |\n| Install via setup-graphviz action, no apt update | 🔴 24.5 | 🟡 17.0 | 4.3% | 10.1% |\n| Install via apt, no apt update, no recommends | 🔴 23.5 | 🟡 14.0 | 4.8% | 10.7% |\n| Download and install .deb files | 🔴 23.2 | 🟡 17.0 | 3.5% | 8.0% |\n| Get .deb files from GitHub cache and install them | 🔴 21.9 | 🟡 15.0 | 5.6% | 7.5% |\n| Install via apt, no apt update | 🔴 21.0 | 🟡 14.0 | 4.3% | 7.2% |\n| Install via setup-graphviz action, no mandb | 🟡 16.3 | 🟡 15.0 | 1.9% | - |\n| Install via apt, no mandb | 🟡 14.8 | 🟡 13.0 | 2.1% | 0.5% |\n| Download and install .deb files, no mandb | 🟡 10.8 | 🟢 10.0 | - | - |\n| Install via setup-graphviz action, no apt update, no mandb | 🟡 10.0 | 🟢 8.0 | 0.5% | - |\n| Install via apt, no apt update, no mandb | 🟢 8.5 | 🟢 7.0 | 0.3% | 0.3% |\n| Get .deb files from GitHub cache and install them, no mandb | 🟢 8.3 | 🟢 7.0 | 0.5% | - |\n| Install via apt, no apt update, no recommends, no mandb | 🟢 7.4 | 🟢 6.0 | - | - |\n| Install via cache-apt-pkgs action, no mandb | 🟢 6.6 | 🟢 6.0 | - | - |\n| Install via cache-apt-pkgs action | 🟢 6.5 | 🟢 6.0 | - | - |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feclipse-score%2Fapt-install","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feclipse-score%2Fapt-install","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feclipse-score%2Fapt-install/lists"}