Desktop

How to install the latest Transmission on CentOS/RHEL 8

by ,


We have by far the largest RPM repository with dynamic stable NGINX modules and VMODs for Varnish 4.1 and 6.0 LTS. If you want to install NGINX, Varnish, and lots of useful modules for them, this is your one-stop repository to get all performance-related software.
You have to maintain an active subscription in order to be able to use the repository!

How to install Transmission GUI on CentOS 8

sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm
sudo dnf -y install transmission

Using a proxy for communication with trackers

In certain countries, popular trackers are banned on the ISP level. For example, Russia blocks rutracker.org, which is the largest tracker.
You can make use of http_proxy environment variable which is supported in most applications, including Transmission.

export http_proxy=socks5h://PROXYHOST:PROXYPORT

For this to be automatically applied only for Transmission, let’s create a “local” desktop shortcut to the app, where we specify the http_proxy variable.

For our example, we run an autossh tunnel to a remote server, which gives us a local SOCKS5 proxy at the port 8123.
The socks5h: specifies that DNS requests to tracker are also run through the proxy:

cp -p /usr/share/applications/transmission-gtk.desktop ~/.local/share/applications/transmission-gtk.desktop
sed -i -r 's@^Exec=@Exec=env http_proxy=socks5h://127.0.0.1:8123 @g' ~/.local/share/applications/transmission-gtk.desktop

What we did:

  • Created local copy of the shortcut (.desktop) file of Transmission
  • Customized it by ensuring the necessary http_proxy environment is set when it’s launched

Note that this does not proxy connections to seeds, only to the tracker.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.