この記事は約8分31秒で読むことができます。

sudo package install docker oracle


[oracle@centos7 ~]$ docker exec --interactive --tty --user root --workdir / orcl_12cr2 bash
bash-4.2# yum list installed | grep sudo
bash-4.2# yum install -y sudo
Loaded plugins: ovl
Resolving Dependencies
--> Running transaction check
---> Package sudo.x86_64 0:1.8.23-3.el7 will be installed
--> Processing Dependency: /usr/bin/vi for package: sudo-1.8.23-3.el7.x86_64
--> Running transaction check
---> Package vim-minimal.x86_64 2:7.4.160-5.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================================
 Package                             Arch                           Version                                  Repository                          Size
======================================================================================================================================================
Installing:
 sudo                                x86_64                         1.8.23-3.el7                             ol7_latest                         841 k
Installing for dependencies:
 vim-minimal                         x86_64                         2:7.4.160-5.el7                          ol7_latest                         436 k

Transaction Summary
======================================================================================================================================================
Install  1 Package (+1 Dependent package)

Total download size: 1.2 M
Installed size: 3.9 M
Downloading packages:
(1/2): vim-minimal-7.4.160-5.el7.x86_64.rpm                                                                                    | 436 kB  00:00:04     
(2/2): sudo-1.8.23-3.el7.x86_64.rpm                                                                                            | 841 kB  00:00:04     
------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                 283 kB/s | 1.2 MB  00:00:04     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : 2:vim-minimal-7.4.160-5.el7.x86_64                                                                                                 1/2 
  Installing : sudo-1.8.23-3.el7.x86_64                                                                                                           2/2 
  Verifying  : 2:vim-minimal-7.4.160-5.el7.x86_64                                                                                                 1/2 
  Verifying  : sudo-1.8.23-3.el7.x86_64                                                                                                           2/2 

Installed:
  sudo.x86_64 0:1.8.23-3.el7                                                                                                                          

Dependency Installed:
  vim-minimal.x86_64 2:7.4.160-5.el7                                                                                                                  

Complete!
bash-4.2# yum list installed | grep sudo
sudo.x86_64                    1.8.23-3.el7             @ol7_latest             
bash-4.2# 

Leave a Reply

Your email address will not be published. Required fields are marked *