yum install --downloadonly --downloaddir=/tmp <package-name> 

1.yum已安装的列表

yum list installed 

We only live once, and time just goes by.