Skip to content

Latest commit

 

History

History
57 lines (43 loc) · 1.13 KB

File metadata and controls

57 lines (43 loc) · 1.13 KB

apt-transport-github

Download GitHub Release assets directly from APT.

Quickstart

Note: replace ${owner} and ${repo} with the GitHub repository's owner and repo name.

  1. Add a new APT source to /etc/apt/sources.list.d/${owner}_${repo}.sources:

    Types: deb
    URIs: github://${owner}/${repo}
    Suites: ./
    Trusted: yes
    Languages: none
    
  2. Update packages:

    sudo apt update
  3. List packages in this new repo:

    grep '^Package:' /var/lib/apt/lists/${owner}_${repo}_._Packages
  4. Install:

    sudo apt install ${package}

Example

For this repo, I make the file /etc/apt/sources.list.d/asasine_apt-transport-github.sources:

Types: deb
URIs: github://asasine/apt-transport-github
Suites: ./
Trusted: yes
Languages: none

And list packages with:

grep '^Package:' /var/lib/apt/lists/asasine_apt-transport-github_._Packages

To update this package:

sudo apt install apt-transport-github

Documentation

See docs/ for documentation on architecture and how to contribute.