2014年2月17日 星期一

[記事] List the details of installed package in Cent OS

屬於阿宅世界的技術文章,想看的再點開,切莫自誤 !




pretty simply,

Sort by date
shell> rpm -qa -last | awk '{print $1}' | xargs yum info -q

or sort by alphabet
shell> yum info installed -q

and the result will look like :

Name       : tk
Arch       : i386
Version    : 8.4.13
Release    : 5.el5_1.1
Size       : 888 k
Repo       : base
Summary    : Tk graphical toolkit for the Tcl scripting language
URL        : http://tcl.sourceforge.net/
License    : BSD
Description: When paired with the Tcl scripting language, Tk provides a fast and powerful
           : way to create cross-platform GUI applications.

p.s u may set the ouput encoding by export LC_ALL=<encoding_u_want> in advance

0 意見:

張貼留言