stom66

Build Transmission 4.0.6 from source

Feb 11th, 2026 (edited)
17,697
0
Never
4
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.41 KB | None | 0 0
  1. # instrucitons for buildings transmission 4.0.6 from source on rocky linux
  2.  
  3. # install deps
  4. sudo dnf groupinstall "Development Tools"
  5. sudo dnf install cmake pkgconfig libevent-devel git \
  6.     openssl-devel curl-devel c-ares-devel cmake \
  7.     gcc-c++ make pkgconfig libevent-devel openssl-devel \
  8.     curl-devel c-ares-devel zlib-devel miniupnpc-devel
  9.  
  10. # get source repo
  11. git clone --recurse-submodules https://github.com/transmission/transmission.git
  12. cd transmission
  13.  
  14. # revert to MaM supported version
  15. git checkout 4.0.6
  16. git submodule update --init --recursive
  17.  
  18. # run the build
  19. mkdir build && cd build
  20. cmake .. \
  21.   -DENABLE_GTK=OFF \
  22.   -DENABLE_NATPMP=OFF \
  23.   -DENABLE_UPNP=OFF \
  24.   -DENABLE_TESTS=OFF \
  25.   -DENABLE_CLI=ON \
  26.   -DCMAKE_INSTALL_PREFIX=/usr/local
  27.  
  28. make -j$(nproc)
  29. sudo make install
  30.  
  31. # assuming no errors, update service file ExecStart to use new path /usr/local/bin
  32. sudo systemctl edit --full transmission-daemon
  33. sudo systemctl daemon-reload
  34. sudo systemctl restart transmission-daemon
  35.  
  36. # also replace the binaries in case we call them directly from commands
  37. sudo mv /usr/bin/transmission-cli /usr/bin/transmission-cli.bak
  38. sudo mv /usr/bin/transmission-remote /usr/bin/transmission-remote.bak
  39. sudo ln -s /usr/local/bin/transmission-cli /usr/bin/transmission-cli
  40. sudo ln -s /usr/local/bin/transmission-remote /usr/bin/transmission-remote
  41.  
  42. # test it all works
  43. transmission-cli -v # should show v4.0.6
  44.  
Advertisement
Comments
  • User was banned
  • User was banned
  • User was banned
  • User was banned
Add Comment
Please, Sign In to add comment