Forrest logo
tool overview
On this page you find all important commands for the CLI tool pkgfile. If the command you are looking for is missing please ask our AI.

pkgfile

Pkgfile is a command line tool that is primarily used in Linux distributions to search for files associated with installed packages. It helps users to quickly locate the package that a particular file belongs to.

When executed, Pkgfile reads a specified database that contains information about installed packages and their associated files. It then searches through this database to find the package that contains the queried file.

Pkgfile uses regular expressions to match the specified file name or pattern, making it a flexible and powerful tool for searching files. It supports both searching for single files and searching for files within directories.

This command line tool is often used when troubleshooting issues or trying to understand which package provides a specific file on a Linux system. It provides a convenient way to maintain and manage packages by allowing users to easily locate files across the system.

Pkgfile is commonly used alongside package managers like pacman in Arch Linux and Void Linux, where it serves as a valuable supplementary tool for package management.

Overall, Pkgfile simplifies the process of finding files associated with installed packages in Linux distributions, ultimately helping users to manage their software packages effectively.

List of commands for pkgfile:

  • pkgfile:tldr:2dd07 pkgfile: List all files provided by a package.
    $ pkgfile --list ${package_name}
    try on your machine
    explain this command
  • pkgfile:tldr:320a4 pkgfile: Search for a package that owns a specific file, displaying the package version.
    $ pkgfile --verbose ${filename}
    try on your machine
    explain this command
  • pkgfile:tldr:402ae pkgfile: Search for a package that owns a specific file.
    $ pkgfile ${filename}
    try on your machine
    explain this command
  • pkgfile:tldr:4e288 pkgfile: Synchronize the pkgfile database.
    $ sudo pkgfile --update
    try on your machine
    explain this command
  • pkgfile:tldr:50a5a pkgfile: Search for a package that owns a specific file using case-insensitive matching.
    $ pkgfile --ignorecase ${filename}
    try on your machine
    explain this command
  • pkgfile:tldr:7a515 pkgfile: List only files provided by a package located within the `bin` or `sbin` directory.
    $ pkgfile --list --binaries ${package_name}
    try on your machine
    explain this command
  • pkgfile:tldr:c765f pkgfile: Search for a package that owns a specific file in a specific repository.
    $ pkgfile --repo ${repository_name} ${filename}
    try on your machine
    explain this command
  • pkgfile:tldr:fa61b pkgfile: Search for a package that owns a specific file in the `bin` or `sbin` directory.
    $ pkgfile --binaries ${filename}
    try on your machine
    explain this command
tool overview