Last active
August 29, 2015 14:02
-
-
Save aa65535/2bd17e0fc9e4c16dde6a to your computer and use it in GitHub Desktop.
Transmission CentOS安装脚本
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
yum -y install gcc gcc-c++ m4 make automake libtool gettext openssl-devel pkgconfig perl-libwww-perl perl-XML-Parser curl curl-devel libevent-devel libevent libidn-devel zlib-devel | |
yum -y update | |
cd /root | |
wget https://downloads.sourceforge.net/project/transmissionbt/intltool-0.40.6.tar.gz | |
wget https://downloads.sourceforge.net/project/transmissionbt/libevent-2.0.14-stable.tar.gz | |
wget https://transmission.cachefly.net/transmission-2.84.tar.xz | |
tar zxf intltool-0.40.6.tar.gz | |
tar zxf libevent-2.0.14-stable.tar.gz | |
tar Jxf transmission-2.84.tar.xz | |
cd intltool-* | |
./configure --prefix=/usr && make -s && make -s install | |
cd ../libevent* | |
./configure && make -s && make -s install | |
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig | |
cd ../transmission-* | |
./configure --prefix=/usr && make -s && make -s install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment