You are not logged in.
First add the Debian sid repository source line to /etc/apt/sources.list:
deb-src https://deb.debian.org/debian sid main contrib non-free
Then update the package database:
sudo apt update
Grab the build dependencies for the application (referred to hereafter as ${foo}, replace this with the actual package name when the command is run):
sudo apt-get build-dep ${foo}
Now build the package from source with
apt-get -b source ${foo}
Finally, install the .deb package produced by the above command:
sudo dpkg -i ${foo}*.deb
This is a "quick-and-dirty" approach to backporting and does not rename the package to ensure a smooth transition in any future `dist-upgrade`s between releases — be sure to remove any such packages before attempting that.
For a more "correct" method, see https://wiki.debian.org/SimpleBackportCreation
Offline
Nice How To in there.
My Linux installs are as in my music; it s on Metal
Offline
First add the Debian sid repository source line to /etc/apt/sources.list:
deb-src https://deb.debian.org/debian sid main contrib non-free
Then update the package database:
sudo apt update
This will leave your system following Sid from now on surely? Won't the next 'sudo apt upgrade' upgrade everything to Sid?
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
Head_on_a_Stick wrote:First add the Debian sid repository source line to /etc/apt/sources.list:
deb-src https://deb.debian.org/debian sid main contrib non-free
Then update the package database:
sudo apt update
This will leave your system following Sid from now on surely? Won't the next 'sudo apt upgrade' upgrade everything to Sid?
No that is just the repo for source packages and you won't be upgrading your system to sid. All you are doing is grabbing the source for the package from Sid and building it on your current machine.
Real Men Use Linux
Offline
^Ah yes, you're right. I wasn't paying attention.
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline