Step 1: Prepare your build environment.
sudo apt install devscripts
Step 2: Clone the texmacs branch of guile.
git clone --depth 10 -b texmacs --single-branch git@github.com:texmacs/guile.git
Step 3: Make your own debs.
cd guile
dpkg-buildpackage -us -uc -b
Great! Now the wanted debs has been generated:
$ ls ../*deb
../guile-1.8_1.8.8+1-10_amd64.deb ../guile-1.8-dev_1.8.8+1-10_amd64.deb ../guile-1.8-libs_1.8.8+1-10_amd64.deb
../guile-1.8-dbgsym_1.8.8+1-10_amd64.deb ../guile-1.8-doc_1.8.8+1-10_all.deb ../guile-1.8-libs-dbgsym_1.8.8+1-10_amd64.deb
Install guile-1.8
, guile-1.8-dev
, guile-1.8-libs
via dpkg
.