2011-04-07 16:23:06 +08:00
|
|
|
## Aliases
|
|
|
|
|
|
|
|
alias ys="yum search" # search package
|
|
|
|
alias yp="yum info" # show package info
|
|
|
|
alias yl="yum list" # list packages
|
2012-04-12 17:04:24 +08:00
|
|
|
alias ygl="yum grouplist" # list package groups
|
2011-04-07 16:23:06 +08:00
|
|
|
alias yli="yum list installed" # print all installed packages
|
2012-06-15 15:07:22 +08:00
|
|
|
alias ymc="yum makecache" # rebuilds the yum package list
|
2011-04-07 16:23:06 +08:00
|
|
|
|
2021-12-01 19:20:31 +08:00
|
|
|
alias yu="sudo yum update" # upgrade packages
|
2011-04-07 16:23:06 +08:00
|
|
|
alias yi="sudo yum install" # install package
|
2012-04-12 17:04:24 +08:00
|
|
|
alias ygi="sudo yum groupinstall" # install package group
|
2011-04-07 16:23:06 +08:00
|
|
|
alias yr="sudo yum remove" # remove package
|
2012-04-12 17:04:24 +08:00
|
|
|
alias ygr="sudo yum groupremove" # remove pagage group
|
2011-04-07 16:23:06 +08:00
|
|
|
alias yrl="sudo yum remove --remove-leaves" # remove package and leaves
|
2012-04-12 17:04:24 +08:00
|
|
|
alias yc="sudo yum clean all" # clean cache
|