[CentOS 7] yum を使って rsync をインストールする方法

今回は yum で rsync をインストールします。

OpenBSD で動かしている ruby や python のファイルを CentOS にコピーして持ってくるために rsync を使うのでそのためのインストールです。

$ yum search rsync
読み込んだプラグイン:fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp.iij.ad.jp
* extras: ftp.iij.ad.jp
* updates: ftp.iij.ad.jp
======================================================== N/S matched: rsync ========================================================
libguestfs-rsync.x86_64 : rsync support for libguestfs
rsync.x86_64 : A program for synchronizing files over a networkName and summary matches only, use “search all” for everything.
$ yum info rsync.x86_64
読み込んだプラグイン:fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp.iij.ad.jp
* extras: ftp.iij.ad.jp
* updates: ftp.iij.ad.jp
利用可能なパッケージ
名前 : rsync
アーキテクチャー : x86_64
バージョン : 3.0.9
リリース : 17.el7
容量 : 360 k
リポジトリー : base/7/x86_64
要約 : A program for synchronizing files over a network
URL : http://rsync.samba.org/
ライセンス : GPLv3+
説明 : Rsync uses a reliable algorithm to bring remote and host files into
: sync very quickly. Rsync is fast because it just sends the differences
: in the files over the network instead of sending the complete
: files. Rsync is often used as a very powerful mirroring process or
: just as a more capable replacement for the rcp command. A technical
: report which describes the rsync algorithm is included in this
: package.
$ sudo yum install rsync.x86_64
[sudo] password for oredayo:
読み込んだプラグイン:fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp.riken.jp
* extras: ftp.riken.jp
* updates: ftp.riken.jp
依存性の解決をしています
–> トランザクションの確認を実行しています。
—> パッケージ rsync.x86_64 0:3.0.9-17.el7 を インストール
–> 依存性解決を終了しました。依存性を解決しました====================================================================================================================================
Package アーキテクチャー バージョン リポジトリー 容量
====================================================================================================================================
インストール中:
rsync x86_64 3.0.9-17.el7 base 360 k

トランザクションの要約
====================================================================================================================================
インストール 1 パッケージ

総ダウンロード容量: 360 k
インストール容量: 732 k
Is this ok [y/d/N]: y
Downloading packages:
rsync-3.0.9-17.el7.x86_64.rpm | 360 kB 00:00:01
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
インストール中 : rsync-3.0.9-17.el7.x86_64 1/1
検証中 : rsync-3.0.9-17.el7.x86_64 1/1

インストール:
rsync.x86_64 0:3.0.9-17.el7

完了しました!
$ which rsync
/usr/bin/rsync
$

/usr/bin に rsync がインストールされました。

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です

このサイトはスパムを低減するために Akismet を使っています。コメントデータの処理方法の詳細はこちらをご覧ください