Re: CLI interface to packages.debian.org
Hi,
20 juin 2020 à 10:29 de ihor@antonovs.family:
> I often use https://packages.debian.org to look up package information.
> I often search for binary and source packages, across various releases
>
> I wish there was a way to do it without using a web browser. Is there some
> sort of CLI interface to packages.debian org?
>
> Or maybe I need to add *everything* to my /etc/apt/sources.list ?
>
> Any recommendations are appreciated.
>
Mostly via:
* apt[-cache] search [-n] my_term
* apt showsrc my_package
* apt-file search my_file
* apt-file show my_package
* dpkg -S my_installed_file
* dpkg -L my_installed_package
However, those apt commands search on your configured repositories (and dpkg looks only into what has been installed).
I don't think it would be a good idea to add all other repositories just to be able to include them in your searches. There would be too many side-effects regarding the maintainability of your system.
Or maybe inside an isolated environment otherwise...?
Best regards,
l0f4r0
Reply to: