Skip to content

Package Manager Integrations #17

@iffse

Description

@iffse

Package manager integration is added along with v0.5.15. However, not all package managers are supported yet.

  • Some package managers allow searching for a package containing an executable. In this case, we can retrieve the package list directly
    • E.g.: pacman -Fq /usr/bin/executable
  • Package managers of some distributions that do not provide such functionality will likely ship with a command_not_found handle by default which suggest packages to install. We can use such output to generate a suggestion

Relevant file.

Progress:

  • Pacman (pkgfile, pacman -Fq)
  • APT / Snap / pkg (apt-file, command-not-found)
  • DNF (dnf provides)
  • Portage (e-file)
  • guix (guix locate)
  • nix (nix-locate 'bin/{}')
  • YUM (yum provides)
  • Zypper
  • Slackpkg
  • ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions