The Yum, or Yellowdog Updater Modified, is a great package manager if you are familiar with how to use it. If you have a bunch of repositories activated it can be useful to know what packages are available via a specific repository. It is possible to install RPM packages via a specific repository which if another package you are installing requires a specific version of a package this can be useful. Below are a couple examples of using the “yum list” command.
To install pgbench on Linux use yum and install the postgresql-contrib package using the below syntax.
- yum install postgresql-contrib
When issuing the above command the results will output like the below. If postgresql, postgresql-server, and/or postgresql-libs has already been installed then it is likely that they will be upgraded using the default command.