- Different Linux distros have different package managers
- RedHat, CentOS:
yum
- Debian, Ubuntu:
dpkg
orapt
- Fedora:
dnf
(in the past:yum
) - Oracle Linux: Based on RedHat, using
yum
Nguyen Hai Chau
Vietnam National University
yum
dpkg
or apt
dnf
(in the past: yum
)yum
yum
and rpm
to manage packagesroot
useryum install package_name
yum reinstall package_name
yum remove package_name
yum list installed
yum info package_name
yum search text
rpm -ql package_name
rpm -qf path_to_file
rpm -ivh path_to_rpm_file
.
This command is recommended when install software that is not
included in distro's repositoryamanda
package is available in the repository,
and check if it is installed in your systemyum
package/bin/ls
file?