wiki:HeadlessUsage/Gentoo

Running Transmission on a headless machine (Gentoo) BETA

Installation

Using emerge

Since we're going to run Transmission as a daemon, we're going to set the portage environment so that it better suits our needs.

Stable / Unstable

The Gentoo portage team marks all new versions of packages to unstable, and they'll only mark them as stable after a few months and when no bugs are filed against that version. However, in Transmission's case, we usually want the latest version. If you rather be cautious, skip this section.

To tell emerge that we want to check for unstable versions of Transmission, you simply add the line "net-p2p/transmission" to "/etc/portage/package.keywords". Although it's recommended to do this manually to avoid duplicate entries, you can use the following command line:

$ su
$ echo "net-p2p/transmission" >> /etc/portage/package.keywords

Disable the GTK GUI

On most headless systems, this is preferred. However, if you're also going to use the GTK GUI on the same machine, you may want to skip this section

To tell emerge that we don't want it to build the GTK GUI, Simply add the line "net-p2p/transmission -gtk" to "/etc/portage/package.use". Although it's recommended to do this manually to avoid duplicate entries, you can use the following command line:

$ su
$ echo "net-p2p/transmission -gtk" >> /etc/portage/package.use

Using Environment Variables

If you prefer, you can also set the above using environment variables. However, this is not advised, as it may also impact other packages you install through emerge.

To instruct emerge to look for unstable version:

  • For 32-bit systems:
    $ ACCEPT_KEYWORDS="~ x86"
    
  • For 64-bit systems:
    $ ACCEPT_KEYWORDS="~amd64"
    

To instruct emerge to not build the GTK GUI:

$ USE="-gtk"

Invoking emerge

Now you're ready to install Transmission using emerge.

To build Transmission, simply:

$ emerge transmission

Or if you prefer more control and verbosity:

$ emerge -av transmission

From Source

Read the Building From Source page for more in-depth information.

Configuration

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 here.

Follow the General Headless Guide.

Old Guide

HeadlessUsageGentoo

Last modified 9 years ago Last modified on Jan 21, 2010, 2:38:47 PM