pacman

use regex with search

pacman -Ss ^ed

find package which contains $filename

pacman -Fy
pacman -Fs $filename

clear package cache

pacman -S pacman-contrib
paccache -r