Search with regex within names only (man apt-cache) apt search \^exa -n # --names-only Info about remote package apt show emacs dpkg --no-pager -l emacs # check if installed yum info vim-enhanced