Download GitHub Release assets directly from APT.
Note: replace ${owner} and ${repo} with the GitHub repository's owner and repo name.
-
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 -
Update packages:
sudo apt update
-
List packages in this new repo:
grep '^Package:' /var/lib/apt/lists/${owner}_${repo}_._Packages
-
Install:
sudo apt install ${package}
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_._PackagesTo update this package:
sudo apt install apt-transport-githubSee docs/ for documentation on architecture and how to contribute.