4/09/2010

abs for rtorrent client

rtorrent是目前常用torrent console client,利用Archlinux abs編譯達到優化rtorrent目的

  1. 更新Archlinux abs tree
  2.  sudo abs 
  3. 將更新rtorrent至home
  4.  cp -r /var/abs/community/rtorrent/ ~/abs 
  5. 修改vim PKGBUILD, 加入-with-posix-fallocate用來降低filesystem fragmentation
  6. #./configure --prefix=/usr --disable-debug --with-xmlrpc-c || return 1
    ./configure --prefix=/usr --disable-debug --with-posix-fallocate|| return 1
    
  7. compile rtorrent
  8.  makepkg -s 
  9. 安裝rtorrent package
  10. sudo pacman -U rtorrent-0.8.6-2-i686.pkg.tar.gz 
    Password: 
    loading package data...
    checking dependencies...
    (1/1) checking for file conflicts                   [######################] 100%
    (1/1) upgrading rtorrent                            [######################] 100%
    

No comments:

Post a Comment