relopmarketplace.blogg.se

Yum list installed
Yum list installed










yum list installed

Whether transactions succeeded or were aborted. It seems that this is occurring due to some sort of "virtual terminal" as part of the SSH/piping because I can get the same behavior if I shrink my terminal size where the lines break when running yum list. Here is output from the CentOS Linux box: CentOS / RHEL See Detailed History Of yum commands The yum history command allows sysadmin to see information about all Yum command transactions including: The dates and times they occurred.

yum list installed

How can I make the size of the line not shrink like this? My end desire is to pipe this to tee and then do some processing on the outputted file for all my hosts via ansible. Xz-lzma-compat.x86_64 4.999.9-0.3.5 baseīut upon doing it remotely with ssh machine 'yum list' or even piping it to grep while on the server with yum list | grep xz -C 3 the output's lines are "truncated" and made much shorter, like so: xz-devel.i386 4.999.9-0.3.5 In particular, also see the documentation for the -queryformat option to the rpm command. First, add the MySQL Yum repository to your systems repository list. For a list of installed packages, you probably want rpm -qa, the output of which is much more suitable for scripting parsing. The MySQL Yum repository provides RPM packages for installing the MySQL server. When I SSH to a machine with ssh machine and run yum list it outputs everything that's installed as expected, and importantly every item is on one line like so: xz-devel.i386 4.999.9-0.3.5 base Note also that yum list does not list everything that is installed (it lists everything that is available).












Yum list installed