fbpx

Desktop

How to install the latest Transmission on CentOS/RHEL 8

by , , revisited on


We have by far the largest RPM repository with NGINX module packages and VMODs for Varnish. If you want to install NGINX, Varnish, and lots of useful performance/security software with smooth yum upgrades for production use, this is the repository for you.
Active subscription is required.

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 the ALL_PROXY environment variable which is supported in most applications using libcrurl, including Transmission.

export ALL_PROXY=socks5h://PROXYHOST:PROXYPORT

The socks5h: specifies that DNS requests are resolved through the proxy. And that, in our case, means that the DNS names of trackers will be resolved via proxy.

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

For example, we run the Tor background service, which gives us a local SOCKS5 proxy at port 9050.

cp -p /usr/share/applications/transmission-gtk.desktop ~/.local/share/applications/transmission-gtk.desktop
sed -i -r 's@^Exec=@Exec=env ALL_PROXY=socks5h://127.0.0.1:9050 @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 ALL_PROXY environment is set when it’s launched

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

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

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