Ubuntu List installed packages apt list --installed Search for a filename from installed pacakges dpkg -S $(which top)