20 yum

CentOS

yum - FreePBX CentOS, yum . , , .


, mc yum install mc. , . , -y , yum y install mc:

[root@localhost asterisk]# yum install mc
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.corbina.net
 * epel: mirror.datacenter.by
 * extras: mirror.corbina.net
 * updates: mirror.corbina.net
Resolving Dependencies
--> Running transaction check
---> Package mc.x86_64 1:4.8.7-11.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
 Package      Arch             Version                     Repository      Size
================================================================================
Installing:
 mc           x86_64           1:4.8.7-11.el7              base           1.7 M
Transaction Summary
================================================================================
Install  1 Package
Total download size: 1.7 M
Installed size: 5.6 M
Is this ok [y/d/N]: y
Downloading packages:
mc-4.8.7-11.el7.x86_64.rpm                                 | 1.7 MB   00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : 1:mc-4.8.7-11.el7.x86_64                                     1/1
  Verifying  : 1:mc-4.8.7-11.el7.x86_64                                     1/1
Installed:
  mc.x86_64 1:4.8.7-11.el7
Complete!

, , yum remove mc. -y :

[root@localhost asterisk]# yum remove mc
Loaded plugins: fastestmirror
Resolving Dependencies
--> Running transaction check
---> Package mc.x86_64 1:4.8.7-11.el7 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package      Arch             Version                    Repository       Size
================================================================================
Removing:
 mc           x86_64           1:4.8.7-11.el7             @base           5.6 M

Transaction Summary
================================================================================
Remove  1 Package

Installed size: 5.6 M
Is this ok [y/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Erasing    : 1:mc-4.8.7-11.el7.x86_64                                     1/1
  Verifying  : 1:mc-4.8.7-11.el7.x86_64                                     1/1
Removed:
  mc.x86_64 1:4.8.7-11.el7
Complete!

mysql update. : yum update mysql .

list. : yum list mysql. , .

info. : yum info mc .

  20   yum

list . : yum list | less, - yum list installed | less

check-update, - update. :

  • yum check-update mysql - mysql;
  • yum list updates - ;
  • yum update mc - Midnight Commander;
  • yum y update - ;

, DNS Name Server, Editors, Java Development . yum groupinstall - yum groupinstall Clustering. :

  • yum grouplist - ;
  • yum groupupdate Base - , Base;
  • yum groupremove Editors - ;
yum

, , ( list, ). yum repolist, yum repolist all

, , , --enablerepo . phpmyadmin: yum enablerepo=epel install phpmyadmin

yum

, yum yum shell ( , ), \\\whatever . yum yum history.


?

 .

P.S. , :)

"",