[CentOS] how to find recently installed font packages

Tue Aug 23 19:41:27 UTC 2016
Jon LaBadie <jcu at labadie.us>

On Tue, Aug 23, 2016 at 08:28:35AM -0500, geo.inbox.ignored wrote:
> 
> 
> besides versatility of yum, vastness of arguments is, for me, an
> enjoyable learning process.
> 
> when i found yumex wanting to also remove libreoffice files, i
> dropped back to yum. when yum also wanted to remove libreoffice,
> it was back to 'man yum'. i saw history, but only read what it
> would do.
> 
> failing to find anything to remove _only_ what i wrongly installed,
> it was back to basics and rpm.
> 
> after reading your reply, i ran 'man yum' again to reread 'history'.
> 
> having done so, i am at wonder just how 'history' and its arguments
> would handle remove wrong fonts and not include libreoffice.
> 
> at this time, i am considering installing bad fonts again just to see
> what will happen.
> 
> at this time, i have more pressing duties, but will give 'yum history'
> a run later and post back with results.
> 
> thank you for reply and piquing my brain for further knowledge.
> 

Back when you asked your original question I was certain someone would
mention yum history.  So I tried it out myself.  What I came up with
was essentially "what actions involved packages with "font" in their names.
I'll just show a bit of the output.  ID is a sequential yum session #.
My highest is about 120.  "yum history" will show them including dates.

  $ sudo yum history packages '*font*'

  ID     | Action(s)      | Package                                              
  -------------------------------------------------------------------------
      84 | Dep-Install    | mathjax-ams-fonts-2.4.0-1.el7.noarch                 
      84 | Dep-Install    | mathjax-caligraphic-fonts-2.4.0-1.el7.noarch         
      84 | Dep-Install    | mathjax-fraktur-fonts-2.4.0-1.el7.noarch             
      78 | Updated        | libXfont-1.4.7-3.el7_1.x86_64              
      78 | Update         |          1.5.1-2.el7.x86_64
      78 | Updated        | liberation-fonts-common-1:1.07.2-14.el7.noarch
      78 | Update         |                         1:1.07.2-15.el7.noarch
       1 | Dep-Install    | abattis-cantarell-fonts-0.0.12-3.el7.noarch          
       1 | Install        | cjkuni-uming-fonts-0.2.20080216.1-53.el7.noarch      
       1 | Dep-Install    | dejavu-fonts-common-2.33-6.el7.noarch                
       1 | Install        | dejavu-sans-fonts-2.33-6.el7.noarch                  

So you can pick out which were just installed vs which were installed
as dependencies of some other package.

Jon
-- 
Jon H. LaBadie                 jon at jgcomp.com
 11226 South Shore Rd.          (703) 787-0688 (H)
 Reston, VA  20190              (703) 935-6720 (C)