5

Red Hat (CentOS) . yum rpm. dnf, "" yum. , .

:

  1. , .
  2. .
  3. .

:

  • rpm Red Hat .
  • rpm2cpio .
  • yum Red Hat
  • yumdownloader
  • /etc/yum.repos.d./ - .

Ubuntu , dpkg rpm, apt yum centos.

. , su. rpm --help.

rpm --help

, . query\verify. , yum.

rpm, . . webmin rpm . tmp.

cd /tmp. ls la.

ls

. , i install, v verbose .

rpm iv webmin-1.955-1.src.rpm

.

rpm iv webmin-1.955-1.src.rpm

, , rpm. , e, erase. :

rpm e webmin

, .

, K.

rpm K webmin-1.955-1.noarch.rpm
rpm K webmin-1.955-1.noarch.rpm

, . , . . .

, V

rpm Vv webmin-1.955-1.noarch.rpm

qi, query information.

rpm qi webmin-1.955-1.noarch.rpm
rpm qi webmin-1.955-1.noarch.rpm

, , , ..

, - rpm . rpm2cpio. .. rpm cpio "copy input\output" , . rpm cpio. :

rpm2cpio webmin-1.955-1.noarch.rpm > webmin.cpio
rpm2cpio webmin-1.955-1.noarch.rpm > webmin.cpio

, cpio unix .

RPM , RPM .


YUM

yum, , .

yum  help
yum  help

, . , , , , . , .

, :

yum install openssh-clients
yum install openssh-clients

, , , .

:

yum remove openssh-clients

, .

ssh: yum remove openssh, , openssh-clients , . . , , . .

, , , . apt (Ubuntu), apt update, yum .

yum .

/etc/yum.repos.d/
/etc/yum.repos.d/

cat CentOS-Base.repo
cat CentOS-Base.repo

, . . , , . gpgcheck = 0 . , repo. .

yum upgrade. , .

yumdownloader. . , , yumdownloader openssh .

. , yum search openssh.


50% Merion Academy