I'm trying to compile and make by myself some .deb packages to keep my Raspbian more up to date than the repository. Now I want to update Transmission to v 2.84.
Here's what I've done:
- Download the tarball from Transmission web site: https://www.transmissionbt.com/download/
- Install checkinstall from Raspbian repository:
$sudo apt-get install checkinstall
- Extract source from tarball
./configure
from transmission source directorycheckinstall --install=no
from transmission source directory
Now I've a armhf .deb, but if I install it with dpkg -i transmission_2.84-1_armhf.deb
I have only a partial installation. The installation completes correctly but I don't have:
- Transmission configuration directory and files (should be
$HOME/.config/transmission-daemon
) - Boot/startup script for daemon on
/etc/init.d
- I don't really know if something else is missing...
I want to generate a COMPLETE .DEB package with all the necessary files like official repositories .deb packages. I'd also like to do the same with some other applications, like htop
. What should I do?
UPDATE
These are the steps I made to try to compile version 2.84 with debian directory taken from version 2.82:
- download tarball with
wget https://transmission.cachefly.net/transmission-2.84.tar.xz
- extract archive on my source directory with
extract transmission-2.84.tar.xz
(extract() is a function in aliases, so it's equivalent totar xvJf ...
) - download debian folder of version 2.82 with
wget http://archive.raspbian.org/raspbian/pool/main/t/transmission/transmission_2.82-1.1.debian.tar.xz
- extract archive inside transmission 2.84 directory with
extract transmission_2.82-1.1.debian.tar.xz
that created adebian
directory insidetransmission-2.84/
directory ./configure
fromtransmission-2.84/
directory- after successfully configure,
sudo checkinstall --install=no
fromtransmission-2.84/
directory.checkinstall
will executemake
andmake install
. With option--install=no
it execute onlymake
and then create a.deb
package inside thetransmission-2.84/
directory dpkg -i transmission_2.84-1_armhf.deb
to install package- configure transmission settings on
~/.config/transmission-daemon/settings.json
sudo nano /etc/init.d/transmission-daemon
to create init.d boot scriptupdate-rc.d transmission-daemon defaults
to link the new scripttransmission-daemon
andsudo service transmission-daemon start
to try to start transmission