我实际上重新安装了我的 Ubuntu,我需要大量的程序。当然,我想在最新版本中使用它。但是,Ubuntu 官方存储库通常包含旧版本的程序。所以我需要手动下载最新版本,例如来自 Github。
是否可以在 Ubuntu /etc/apt/sources.list
中添加条目可以从 Github 版本下载和自动更新程序?
就像是:deb https://github.com/git/git/releases
任何帮助将不胜感激。
最佳答案
我不认为这是直接可能的,因为我刚刚发现:
The github-apt-repos utility currently does roughly the following:
- Download the *.deb files from the latest GitHub release for a git checkout from GitHub
- Make an APT repository from the released *.deb files
- Upload the APT repository to a special GitHub release which Debian/Ubuntu users can use to keep up-to-date.
...但它应该在服务器上运行,因此您不会在 PC 上执行此操作(除非您在 PC 上设置了 APT 存储库服务器,并且遇到了麻烦)。
关于ubuntu - 是否可以将 Github 发布链接添加到 Ubuntu sources.list?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54194803/