centos | ubuntu |
---|---|
rpm -qa | dpkg -l |
rpm -qa --last | ls -tl /var/lib/dpkg/info/ |
rpm -ql | dpkg -L |
rpm -qf | dpkg -S |
rpm -qi | apt-cache show |
rpm -q --scripts | cat /var/lib/dpkg/info/{package_name}.{pre,post}{inst,rm} |
rpm -ivh | dpkg -i |
rpm -Uvh | dpkg -i |
rpm -e | dpkg -r |
yum install | apt-get install |
yum check-update | apt-get -s upgrade |
yum update | apt-get upgrade |
yum update package | apt-get install package |
yum remove | apt-get remove |
yum search | apt-cache search |
yum list | apt-cache search all |
yum info | apt-cache showpkg |
yum install --downloadonly | apt-get -d install (/var/cache/apt/archives/ に保存) |
More than 5 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme