My public website source code thatsillyman.win
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

add how2 find a package that has a specific file

+41
+41
how2/find-pkg-that-provides-specific-file/index.html
··· 1 + <!DOCTYPE html> 2 + <html lang="en"> 3 + <head> 4 + <meta charset="UTF-8"> 5 + <meta name="viewport" content="width=device-width, initial-scale=1"> 6 + <title>How to find the package that have a specific file</title> 7 + <link href="/assets/style/reset.css" rel="stylesheet"> 8 + <style> 9 + code { display: block; margin-bottom: 4px; } 10 + </style> 11 + </head> 12 + <body> 13 + <h2>pacman</h2> 14 + <p>First update the information database</p> 15 + <code> 16 + doas pacman -Fy 17 + </code> 18 + <p>Then you can search for the file with</p> 19 + <code> 20 + pacman -F $filename 21 + </code> 22 + <p>To search with a regular exepretion use: </p> 23 + <code> 24 + pacman -Fx $expr 25 + </code> 26 + <p>the google way: </p> 27 + <code> 28 + site:www.archlinux.org/packages/ bin/filename 29 + </code> 30 + <p>and in case it is in AUR instead of an official package: </p> 31 + <code> 32 + site:aur.archlinux.org/packages/ bin/filename 33 + </code> 34 + <hr> 35 + 36 + <h2>References</h2> 37 + <ul> 38 + <li><a href="https://wiki.archlinux.org/title/Pacman/Rosetta">pacman/Rosetta</a></li> 39 + </ul> 40 + </body> 41 + </html>