list packages based on repo yum code example Example: yum list installed packages from specific repo yum list installed | grep @epel