[DOC] Step by step guide to make a deb package for GNU TeXmacs

Step 1

Install the dependencies(the list is from Debian sid, for Ubuntu and others, it should be similar):

  • guile-1.8-libs
  • libc6 (>= 2.15)
  • libfreetype6 (>= 2.4.8)
  • libgcc1 (>= 1:3.0)
  • libgmp10
  • libjpeg62-turbo (>= 1.3.1)
  • libltdl7 (>= 2.4.6)
  • libpng16-16 (>= 1.6.2-1)
  • libqt5core5a (>= 5.11.0~rc1)
  • libqt5gui5 (>= 5.3.0)
  • libqt5printsupport5 (>= 5.0.2)
  • libqt5widgets5 (>= 5.11.0~rc1)
  • libsqlite3-0 (>= 3.5.9)
  • libstdc++6 (>= 5.2)
  • zlib1g (>= 1:1.1.4)

Since we have to build GNU TeXmacs by ourselves. You may have to install the dev version of a dependency. For example, libsqlite3-0 is a runtime dependency. For building, you need to install libsqlite3-dev.

For GNU Guile 1.8, please follow this guide: Step by step guide to make a debian package for GNU Guile 1.8.8

Step 2: Build the Debian package

git clone git@github.com:texmacs/texmacs.git
cd texmacs
cmake/build_deb.sh

Step 3: Install the Debian package

sudo dpkg -i ../texmacs_1.99.9-1_amd64.deb