2014年2月25日火曜日

CentOS 6.5 に yum の localinstall で vagrant を導入

rpm -Uvh もいいですが、今回は yum の localinstall を試してみます。

vagrantを取得

最新のvagrantは以下を参照 http://www.vagrantup.com/downloads
[[email protected] ~]$ wget https://dl.bintray.com/mitchellh/vagrant/vagrant_1.4.3_i686.rpm

yum で localinstall

[[email protected] ~]$ yum localinstall vagrant_1.4.3_i686.rpm                                                                                                                                                       
Loaded plugins: downloadonly, fastestmirror
Setting up Local Package Process
Examining vagrant_1.4.3_i686.rpm: 1:vagrant-1.4.3-1.i686
Marking vagrant_1.4.3_i686.rpm to be installed
Loading mirror speeds from cached hostfile
 * base: www.ftp.ne.jp
 * extras: www.ftp.ne.jp
 * updates: www.ftp.ne.jp
Resolving Dependencies
--> Running transaction check
---> Package vagrant.i686 1:1.4.3-1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=================================================================================================================================================================================================================
 Package                                        Arch                                        Version                                             Repository                                                  Size
=================================================================================================================================================================================================================
Installing:
 vagrant                                        i686                                        1:1.4.3-1                                           /vagrant_1.4.3_i686                                         48 M

Transaction Summary
=================================================================================================================================================================================================================
Install       1 Package(s)

Total size: 48 M
Installed size: 48 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : 1:vagrant-1.4.3-1.i686                                                                                                                                                                        1/1 
  Verifying  : 1:vagrant-1.4.3-1.i686                                                                                                                                                                        1/1 

Installed:
  vagrant.i686 1:1.4.3-1                                                                                                                                                                                         

Complete!