CentOS6.5 に DAR をインストール

DAR というと、差分アーカイブ作ったりできるバックアップ用に便利なアーカイバなんですが、いまいち知名度がないのがアレなアーカイバです。
→ [http://www.miloweb.net/dar.html:title=DAR でシステムのバックアップ - Linux自宅サーバ [ Home Server Technical. ]]

標準のリポジトリには入ってないですが、EPELに入っていたのでそこからのrpmインストールについて。


EPELリポジトリを追加

# yum localinstall http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

DAR をインストール

# yum install dar
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: ftp.iij.ad.jp
 * epel: ftp.kddilabs.jp
 * extras: ftp.iij.ad.jp
 * updates: ftp.iij.ad.jp
Setting up Install Process
Resolving Dependencies
    • > Running transaction check
      • > Package dar.x86_64 0:2.4.12-1.el6 will be installed
    • > Processing Dependency: par2cmdline for package: dar-2.4.12-1.el6.x86_64
    • > Processing Dependency: libdar.so.5000()(64bit) for package: dar-2.4.12-1.el6.x86_64
    • > Running transaction check
      • > Package libdar.x86_64 0:2.4.12-1.el6 will be installed
      • > Package par2cmdline.x86_64 0:0.4.tbb.20100203-3.el6 will be installed
    • > Processing Dependency: libtbb.so.2()(64bit) for package: par2cmdline-0.4.tbb.20100203-3.el6.x86_64
    • > Running transaction check
      • > Package tbb.x86_64 0:2.2-3.20090809.el6 will be installed
    • > Finished Dependency Resolution
Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: dar x86_64 2.4.12-1.el6 epel 775 k Installing for dependencies: libdar x86_64 2.4.12-1.el6 epel 651 k par2cmdline x86_64 0.4.tbb.20100203-3.el6 epel 123 k tbb x86_64 2.2-3.20090809.el6 base 75 k Transaction Summary ================================================================================ Install 4 Package(s) Total download size: 1.6 M Installed size: 4.6 M Is this ok [y/N]: y Downloading Packages: (1/4): dar-2.4.12-1.el6.x86_64.rpm | 775 kB 00:02 (2/4): libdar-2.4.12-1.el6.x86_64.rpm | 651 kB 00:01 (3/4): par2cmdline-0.4.tbb.20100203-3.el6.x86_64.rpm | 123 kB 00:00 (4/4): tbb-2.2-3.20090809.el6.x86_64.rpm | 75 kB 00:00
                                                                                                                                                              • -
Total 334 kB/s | 1.6 MB 00:04 warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 Importing GPG key 0x0608B895: Userid : EPEL (6) Package: epel-release-6-8.noarch (@/epel-release-6-8.noarch) From : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 Is this ok [y/N]: y Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : libdar-2.4.12-1.el6.x86_64 1/4 Installing : tbb-2.2-3.20090809.el6.x86_64 2/4 Installing : par2cmdline-0.4.tbb.20100203-3.el6.x86_64 3/4 Installing : dar-2.4.12-1.el6.x86_64 4/4 Verifying : tbb-2.2-3.20090809.el6.x86_64 1/4 Verifying : dar-2.4.12-1.el6.x86_64 2/4 Verifying : libdar-2.4.12-1.el6.x86_64 3/4 Verifying : par2cmdline-0.4.tbb.20100203-3.el6.x86_64 4/4 Installed: dar.x86_64 0:2.4.12-1.el6 Dependency Installed: libdar.x86_64 0:2.4.12-1.el6 par2cmdline.x86_64 0:0.4.tbb.20100203-3.el6 tbb.x86_64 0:2.2-3.20090809.el6 Complete!

確認

# dar --version

 dar version 2.4.12, Copyright (C) 2002-2052 Denis Corbin
   Long options support       : YES

 Using libdar 5.5.0 built with compilation time options:
   Libz compression (gzip)    : YES
   Libbz2 compression (bzip2) : YES
   Liblzo2 compression (lzo)  : YES
   Strong encryption          : YES
   Extended Attributes support: YES
   Large files support (> 2GB): YES
   ext2fs NODUMP flag support : YES
   Special allocation scheme  : YES
   Integer size used          : unlimited
   Thread safe support        : YES
   Furtive read mode support  : YES
   Detected system/CPU endian : little
   Large dir. speed optimi.   : YES

 compiled the Feb  5 2014 with GNUC version 4.4.7 20120313 (Red Hat 4.4.7-4)
 dar is part of the Disk ARchive suite (Release 2.4.12)
 dar comes with ABSOLUTELY NO WARRANTY; for details
 type `dar -W'. This is free software, and you are welcome
 to redistribute it under certain conditions; type `dar -L | more'
 for details.

主に自分のググり用にメモ