API用于搜索Debian软件包

huangapple go评论40阅读模式
英文:

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).

huangapple
  • 本文由 发表于 2023年3月31日 16:39:46
  • 转载请务必保留本文链接:https://go.coder-hub.com/75896489.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定