【Linuxコマンド】rsyncすると「rsync error: remote command not found (code 127) at io.c(235)」で失敗する

$ rsync -ra /home/yuta/test root@test-server:/tmp
bash: rsync: command not found
rsync: connection unexpectedly closed (0 bytes received so far)
[sender]
rsync error: remote command not found (code 127) at io.c(235)
[sender=3.1.2]
接続先にもrysnc
パッケージが必要
yum -y install rsync