Changes between Initial Version and Version 1 of HeadlessUsage/Gentoo

Jan 26, 2009, 11:50:52 PM (13 years ago)



  • HeadlessUsage/Gentoo

    v1 v1  
     1= Running Transmission on a headless machine (Gentoo) BETA =
     3(for other distributions see the [HeadlessUsage Headless Usage] article)
     5== Installation ==
     6=== Using emerge ===
     7The usual command line is used, but we add a couple of environment options to get exactly what we want:
     9ACCEPT_KEYWORDS="~amd64" USE="-gtk" emerge -av transmission
     13ACCEPT_KEYWORDS="~x86"   USE="-gtk" emerge -av transmission
     15Let's dissect the above line:
     17 * ACCEPT_KEYWORDS is used to allow selection of "masked" packages for your processor (use amd64 for all 64-bit Intel or AMD processors, use x86 for Intel/AMD or compatible 32-bit processors).  It really means that we're accepting untested / unstable / non-working packages, so use carefully (also with the dependencies included, you could install the stable version of those first, then transmission); in transmission's case is just untested and this happens with all new versions of packages.
     18With Transmission we usually need it to select the __very__ latest version; also, for those using 64-bit processors, most packages are left untested or at least takes longer.
     19 * USE adds an option, in fact subtracts it, meaning that we want to install all of Transmission except those parts that depend on gtk.  The Web client is not affected and we get the daemon and the command line tools; we don't get the desktop application.   Of course you can install both, daemon and GUI client, by not using this option.
     20 * emerge options just make it easy to check exactly what we are installing, it shows all the dependencies and the package with versions, stopping to ask if it is what we want.
     22=== Local ebuild ===
     23The procedure is not difficult but involves more work: create a local emerge repository structure, copy the contents from the current transmission branch, inside your local copy duplicate the file transmission-1.33.ebuild into transmission-1.34.ebuild, change the configuration in /etc/make.conf adding 'PORTDIR_OVERLAY="/usr/local/portage"', rebuild the package (2 ebuild commands), and emerge will show it as an option.
     25=== From Source ===
     26Read the [wiki:"Building#OnUnix" " Building From Source"] page for more in-depth information.
     28== Configuration ==
     29''Note: We're not going to touch, or use, the script left by the Gentoo installation: /etc/init.d/transmission-daemon.  Currently it has a couple of errors so it doesn't even work right. You can find an init.d script [wiki:Scripts/runscript here].''
     31Follow the [HeadlessUsage/General General Headless Guide].
     33== Old Guide ==