gerfl.blogg.se

Yum check installed packages
Yum check installed packages






The above is a an excerpt from the full output you would see if you ran this command. After getting the list of packages, sort will sort the result line using numeric sorting (-n): 3687 - percona-release 0.0 The format below says to print the size as the first element of each result line: $ rpm -qa -queryformat '%10” sets the package name to be aligned left and padded to 25 characters. The following command queries (-q) all packages (-a) and returns the result in the format defined by “–queryformat”. If you also add -showduplicates you will see all versions of that package. Check that the installed package is up to date on Ubuntu / Debian systems. For example, to check the version of the httpd package, you would use the following command: yum -v httpd. To check if a specific package is installed with YUM, filter the output with the grep command: sudo yum list installed grep xorg To display the details on a particular package with YUM: yum info httpd YUM can also output the full package list to a file: sudo yum list installed > listedpackages.

yum check installed packages

Increase the EBS storage – which can be done by following the instructions in “ Increase Amazon EBS Volume” – or you can try to reduce the amount of data you have on your server.īesides minimising the actual user data, you can also try to remove installed packages that you don’t need, but some packages are so small that it is not worth thinking of removing them. You can use yum -v search that would show you packages along with repo it is present in. To check the version of an installed package, you can use the yum command with the -v option. With Amazon EC2 (especially with EBS storage) you have 2 possibilities. When you pay for every GB of disc space on your server, as with an Amazon EC2 instance, you want to make sure to keep the amount of installed packages to a minimum.








Yum check installed packages