英文:
API to search Debian packages
问题
有一个客户端/API库可以提供对Debian软件包的搜索功能,这样我就可以以程序方式进行搜索吗?
英文:
Is there a client/API library that provides search of Debian packages, so I can search programatically?
答案1
得分: 1
Apt itself is built in C++ and provides some libraries for this in libapt-pkg6.0
There are Perl bindings in libapt-pkg-perl
and Python ones in python-apt
.
... But the simple and obvious thing is to just use https://packages.debian.org/ and/or run apt-search
and friends locally (dctrl
used to be nice, but I haven't checked it out in a long time).
英文:
Apt itself is built in C++ and provides some libraries for this in libapt-pkg6.0
There are Perl bindings in libapt-pkg-perl
and Python ones in python-apt
.
... But the simple and obvious thing is to just use https://packages.debian.org/ and/or run apt-search
and friends locally (dctrl
used to be nice, but I haven't checked it out in a long time).
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论