Yum list installed packages centos 78/31/2023 List all packages in the yum repositories available to be installed. List all available and installed packages. Name.arch version-release repo or that if the repo cannot be determined, "installed" is printed instead. Note that all list commands include information on the version of the package. The following are the ways which you can invoke yum in list mode. List Is used to list various information about available packages According to Yum man: info Display details about a package or group of packages The above is a an excerpt from the full output you would see if you ran this command.Given that your question is about the packages installed using yum, then You have to check the options info and list "sub-flags". 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”. 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. 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.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |