stom66 icon

Build Transmission 4.0.6 from source

stom66 | PRO | 02/11/26 01:03:21 PM UTC (Edited) | 0 ⭐ | 16476 👁️ | Never ⏰ | []
Bash |

1.41 KB

|

None

|

0 👍

/

0 👎

# instrucitons for buildings transmission 4.0.6 from source on rocky linux
 
# install deps
sudo dnf groupinstall "Development Tools"
sudo dnf install cmake pkgconfig libevent-devel git \
    openssl-devel curl-devel c-ares-devel cmake \
    gcc-c++ make pkgconfig libevent-devel openssl-devel \
    curl-devel c-ares-devel zlib-devel miniupnpc-devel
 
# get source repo
git clone --recurse-submodules https://github.com/transmission/transmission.git
cd transmission
 
# revert to MaM supported version
git checkout 4.0.6
git submodule update --init --recursive
 
# run the build
mkdir build && cd build
cmake .. \
  -DENABLE_GTK=OFF \
  -DENABLE_NATPMP=OFF \
  -DENABLE_UPNP=OFF \
  -DENABLE_TESTS=OFF \
  -DENABLE_CLI=ON \
  -DCMAKE_INSTALL_PREFIX=/usr/local
 
make -j$(nproc)
sudo make install
 
# assuming no errors, update service file ExecStart to use new path /usr/local/bin
sudo systemctl edit --full transmission-daemon
sudo systemctl daemon-reload
sudo systemctl restart transmission-daemon
 
# also replace the binaries in case we call them directly from commands
sudo mv /usr/bin/transmission-cli /usr/bin/transmission-cli.bak
sudo mv /usr/bin/transmission-remote /usr/bin/transmission-remote.bak
sudo ln -s /usr/local/bin/transmission-cli /usr/bin/transmission-cli
sudo ln -s /usr/local/bin/transmission-remote /usr/bin/transmission-remote
 
# test it all works
transmission-cli -v # should show v4.0.6
 

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎