Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Stop manually updating GitHub .deb packages: I built a lightweight Bash tool

Описание и применение

debup – это Bash‑скрипт, который автоматически скачивает и устанавливает .deb‑пакеты из GitHub Releases, устраняя ручные шаги и автоматически решая зависимости.

Задача

Updating Debian/Ubuntu/Mint packages published as GitHub Release .deb assets is tedious and error‑prone.

Результат

debup reduces manual steps to a single command, ensures correct architecture, handles dependency resolution automatically, and cleans up temporary files, providing an Obtainium‑like experience without extra runtimes.

Рабочий процесс

  • 1. Run debup add <owner>/<repo> to add and install the latest release.
  • 2. debup queries GitHub Releases API for the latest asset matching the system architecture.
  • 3. It compares local and remote package versions using dpkg --compare-versions.
  • 4. If newer, it downloads the .deb to /tmp and installs with apt-get install -y ./package.deb to resolve dependencies.
  • 5. On success or interruption, debup removes the temporary .deb file.

Доказательства

debup add fastfetch-cli/fastfetch

Источник

debup invokes apt-get install -y ./package.deb

Источник

dpkg --compare-versions "${local_ver}" ge "${remote_ver}"

Источник

  • Дата записи: 2026-09-21T08:45:23.999Z