-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemp
More file actions
14 lines (13 loc) · 896 Bytes
/
temp
File metadata and controls
14 lines (13 loc) · 896 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
Operation RPM deb
Install a package rpm -i foo.rpm dpkg --install foo.deb
Install a package with dependencies from repository yum install foo apt-get install foo
Remove a package rpm -e foo.rpm dpkg --remove foo.deb
Remove a package and dependencies using a repository yum remove foo apt-get remove foo
Update package to a newer version rpm -U foo.rpm dpkg --install foo.deb
Update package using repository and resolving dependencies yum update foo apt-get install foo
Update entire system yum update apt-get dist-upgrade
Show all installed packages rpm -qa or yum list installed dpkg --list
Get information about an installed package including files rpm -qil foo dpkg --listfiles foo
Show available packages with “foo” in name yum list foo apt-cache search foo
Show all available packages yum list apt-cache dumpavail foo
What package does a file belong to? rpm -qf file dpkg --search file