{"id":1036,"date":"2011-11-20T14:52:55","date_gmt":"2011-11-20T10:52:55","guid":{"rendered":"http:\/\/sandalov.org\/blog\/?p=1036"},"modified":"2014-11-22T23:27:00","modified_gmt":"2014-11-22T19:27:00","slug":"rtorrent-with-rutorrent-gui-from-git-on-ubuntu-linux-11-10","status":"publish","type":"post","link":"https:\/\/sandalov.org\/blog\/1036\/","title":{"rendered":"rTorrent with ruTorrent GUI from GIT on Ubuntu Linux 12.04"},"content":{"rendered":"<div class=\"2d836d85a73757df15d0de19d7bef594\" data-index=\"1\" style=\"float: none; margin:10px 0 10px 0; text-align:center;\">\n<script type=\"text\/javascript\"><!--\r\ngoogle_ad_client = \"ca-pub-2287684400845931\";\r\n\/* valerymorozov *\/\r\ngoogle_ad_slot = \"5606708872\";\r\ngoogle_ad_width = 728;\r\ngoogle_ad_height = 90;\r\n\/\/-->\r\n<\/script>\r\n<script type=\"text\/javascript\"\r\nsrc=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\">\r\n<\/script>\n<\/div>\n<p>Bash script:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nsudo apt-get --purge remove libxmlrpc* libtorrent* rtorrent\r\nsudo apt-get install build-essential checkinstall libcurl4-openssl-dev libncurses5-dev libncursesw5-dev libsigc++-2.0-dev libtool git autoconf automake libcppunit-dev subversion\r\n\r\n# Check that your g++ is 4.7+ (if so, skip this block)\r\ng++ --version\r\nsudo add-apt-repository ppa:ubuntu-toolchain-r\/test \r\nsudo apt-get update\r\nsudo apt-get install gcc-4.7 g++-4.7 \r\nsudo update-alternatives --install \/usr\/bin\/gcc gcc \/usr\/bin\/gcc-4.6 60 --slave \/usr\/bin\/g++ g++ \/usr\/bin\/g++-4.6\r\nsudo update-alternatives --install \/usr\/bin\/gcc gcc \/usr\/bin\/gcc-4.7 40 --slave \/usr\/bin\/g++ g++ \/usr\/bin\/g++-4.7\r\nsudo update-alternatives --config gcc\r\n\r\n#fresh xmlrpc-c lib install\r\nsvn co https:\/\/svn.code.sf.net\/p\/xmlrpc-c\/code\/advanced xmlrpc-c\r\ncd xmlrpc-c\r\n.\/configure --prefix=\/usr\r\nmake\r\n#change version from &quot;C&quot; to smth else while installing the package\r\nsudo checkinstall -D\r\ncd ..\r\n\r\n#libtorrent install\r\ngit clone git:\/\/github.com\/rakshasa\/libtorrent.git\r\ncd libtorrent\r\n.\/autogen.sh\r\n.\/configure --prefix=\/usr --with-posix-fallocate\r\nmake\r\nsudo checkinstall -D\r\ncd ..\r\n\r\n#rtorrent install\r\ngit clone git:\/\/github.com\/rakshasa\/rtorrent.git\r\ncd rtorrent\r\n.\/autogen.sh\r\n.\/configure --prefix=\/usr --with-xmlrpc-c\r\nmake\r\nsudo checkinstall -D\r\n\r\n#rutorrent web-GUI\r\ncd \/var\/www\/\r\nsudo svn co http:\/\/rutorrent.googlecode.com\/svn\/trunk\/rutorrent\r\nsudo chown -R  www-data:www-data \/var\/www\/\r\nsudo chmod -R  777 \/var\/www\/rutorrent\/share\r\n\r\n#update rutorrent\r\ncd \/var\/www\/rutorrent\r\nsudo svn up\r\n\r\n#autolaunch on startup\r\nsudo apt-get install screen\r\necho &quot;screen -fa -d -m rtorrent&quot; &gt;&gt; \/etc\/rc.local\r\n\r\n# nginx\r\nsudo add-apt-repository ppa:nginx\/stable\r\nsudo apt-get update\r\nsudo apt-get install nginx\r\n<\/pre>\n<p>Last revised: Nov 22, 2014 (script is originally written for Ubuntu 12.04)<\/p>\n<div class=\"2d836d85a73757df15d0de19d7bef594\" data-index=\"1\" style=\"float: none; margin:10px 0 10px 0; text-align:center;\">\n<script type=\"text\/javascript\"><!--\r\ngoogle_ad_client = \"ca-pub-2287684400845931\";\r\n\/* valerymorozov *\/\r\ngoogle_ad_slot = \"5606708872\";\r\ngoogle_ad_width = 728;\r\ngoogle_ad_height = 90;\r\n\/\/-->\r\n<\/script>\r\n<script type=\"text\/javascript\"\r\nsrc=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\">\r\n<\/script>\n<\/div>\n\n<div style=\"font-size: 0px; height: 0px; line-height: 0px; margin: 0; padding: 0; clear: both;\"><\/div>","protected":false},"excerpt":{"rendered":"<p>Bash script: sudo apt-get &#8211;purge remove libxmlrpc* libtorrent* rtorrent sudo apt-get install build-essential checkinstall libcurl4-openssl-dev libncurses5-dev libncursesw5-dev libsigc++-2.0-dev libtool git autoconf automake libcppunit-dev subversion # Check that your g++ is 4.7+ (if so, skip this block) g++ &#8211;version sudo add-apt-repository ppa:ubuntu-toolchain-r\/test sudo apt-get update sudo apt-get install gcc-4.7 g++-4.7 sudo &hellip; <a class=\"continue-reading-link\" href=\"https:\/\/sandalov.org\/blog\/1036\/\"> Continue reading <span class=\"meta-nav\">&rarr; <\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[52],"tags":[305,207,208,211,124,127,379],"class_list":["post-1036","post","type-post","status-publish","format-standard","hentry","category-ubuntu","tag-12-04","tag-git","tag-libtorrent","tag-oneiric","tag-rtorrent","tag-rutorrent","tag-ubuntu"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sandalov.org\/blog\/wp-json\/wp\/v2\/posts\/1036","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sandalov.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sandalov.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sandalov.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/sandalov.org\/blog\/wp-json\/wp\/v2\/comments?post=1036"}],"version-history":[{"count":17,"href":"https:\/\/sandalov.org\/blog\/wp-json\/wp\/v2\/posts\/1036\/revisions"}],"predecessor-version":[{"id":2056,"href":"https:\/\/sandalov.org\/blog\/wp-json\/wp\/v2\/posts\/1036\/revisions\/2056"}],"wp:attachment":[{"href":"https:\/\/sandalov.org\/blog\/wp-json\/wp\/v2\/media?parent=1036"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sandalov.org\/blog\/wp-json\/wp\/v2\/categories?post=1036"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sandalov.org\/blog\/wp-json\/wp\/v2\/tags?post=1036"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}