How to rebuild a package from testing in Stable ( D3bi@nZ)
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Some packages needed for building all this from source will be downloaded and installed also, prior to building the salome packages...
I just would like to avoid messing with a stable system as much as possible... so, no dist-upgrades pleeze...
I have already created my own debs from source, like the CAD package BRLCAD, with non Debian packages which install to prefixes like /usr/brlcad/*, or OpenFOAM CFD package...
But this is far more complicated since some of the required dependencies may not be present in squeeze...
In Fedora there are the src.rpms to do this... is there anything similar in Debian...?
what you are describing is commonly called "backporting". Basically, you need to get the source package(s) from testing or unstable and build binary packages from them on a Debian stable box.
Add the appropriate deb-src lines to your sources.list and then downlaod the source package and build the binary pacakges.
Eg. As root
Code:
echo "deb-src http://ftp.us.debian.org/debian/ testing main contrib non-free" >> /etc/apt/sources.list
There's a huge amount of info on the web. For example: http://www.debian.org/doc/manuals/ap...ndling.en.html
Among other things this will tell you how to make sure have the build-depends (packages required to build the binary pacakges from the source package) installed .
In practice, you may find that the package you want to backport depends on newer libraries, so you may have to backport them too.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Debian 6 Squeeze.
su
echo "deb-src http://ftp.fi.debian.org/debian/ sid main contrib non-free" >> /etc/apt/sources.list
apt-get build-dep salome
apt-get install fakeroot && exit
$ cd <new-directory>/ ( Convinient as a lot of "salome" will appear.)
$ apt-get -b source salome=5.1.3-12
EDIT : The compiling went OK, but not the package build.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.