yumコマンドの使用方法(Subversionのインストール)
久しぶりのブログ更新です。風邪がひどくて休んでいました。
作成したスクリプトをきちんとバージョン管理したいと思いSubversionをインストールしようかなと思いました。しかし、その前にyumコマンドを忘れていたのでここに記載しておきます。
使ったオプションだけになりますので、詳細は参考サイトを確認してください。
- インストール済みパッケージ一覧を表示
yum list installed
# yum list installed | grep ruby ruby.i386 1.8.5.114-1.fc6 installed ruby-devel.i386 1.8.5.114-1.fc6 installed ruby-irb.i386 1.8.5.114-1.fc6 installed ruby-libs.i386 1.8.5.114-1.fc6 installed
- 利用可能なパッケージの一覧表示
# yum list subversion Loading "installonlyn" plugin Loading "fastestmirror" plugin Setting up repositories Loading mirror speeds from cached hostfile Reading repository metadata in from local files primary.xml.gz 100% |=========================| 475 kB 00:00 updates : ################################################## 1285/1285 Available Packages subversion.i386 1.4.3-2.fc6 updates
- アップデート可能なパッケージの一覧を表示
# yum check-update Loading "installonlyn" plugin Loading "fastestmirror" plugin Setting up repositories Loading mirror speeds from cached hostfile Reading repository metadata in from local files authconfig.i386 5.3.18-0.1.fc6 updates autofs.i386 1:5.0.1-0.rc3.33 updates bind.i386 31:9.3.4-8.P1.fc6 updates bind-libs.i386 31:9.3.4-8.P1.fc6 updates bind-utils.i386 31:9.3.4-8.P1.fc6 updates
- 指定したパッケージをインストール
# yum install subversion.i386 Loading "installonlyn" plugin Loading "fastestmirror" plugin Setting up Install Process Setting up repositories Loading mirror speeds from cached hostfile Reading repository metadata in from local files Parsing package install arguments Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Downloading header for subversion to pack into transaction set. subversion-1.4.3-2.fc6.i3 100% |=========================| 42 kB 00:00 ---> Package subversion.i386 0:1.4.3-2.fc6 set to be updated --> Running transaction check --> Processing Dependency: perl(URI) >= 1.17 for package: subversion --> Restarting Dependency Resolution with new changes. --> Populating transaction set with selected packages. Please wait. ---> Downloading header for perl-URI to pack into transaction set. perl-URI-1.35-3.noarch.rp 100% |=========================| 12 kB 00:00 ---> Package perl-URI.noarch 0:1.35-3 set to be updated --> Running transaction check Dependencies Resolved ============================================================================= Package Arch Version Repository Size ============================================================================= Installing: subversion i386 1.4.3-2.fc6 updates 2.3 M Installing for dependencies: perl-URI noarch 1.35-3 core 116 k Transaction Summary ============================================================================= Install 2 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 2.4 M Is this ok [y/N]: y Downloading Packages: (1/2): perl-URI-1.35-3.no 100% |=========================| 116 kB 00:00 (2/2): subversion-1.4.3-2 100% |=========================| 2.3 MB 00:00 Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing: perl-URI ######################### [1/2] Installing: subversion ######################### [2/2] Installed: subversion.i386 0:1.4.3-2.fc6 Dependency Installed: perl-URI.noarch 0:1.35-3 Complete!
こんなところですね。
次回はSubversionの設定をしたいと思います。
【参考サイト】
@IT:yumコマンドでよく利用するコマンド
サラトガIT日記|yumコマンド一覧
トラックバック(0)
このブログ記事に対するトラックバックURL(トラックバックは承認後に公開されます)


はじめまして。
トラックバックありがとうございました。
興味のあるジャンルの記事が多いので、
またちょくちょくブログを拝見させて頂きます。