File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -90,4 +90,21 @@ then you need to install dependencies:
9090sudo apt-get install -y build-essential libtool autotools-dev automake autoconf
9191```
9292
93+ ## Build a DEB from source
94+
95+ To build a deb package for Debian/Ubuntu/LinuxMint invoke the following commands:
96+
97+ ``` bash
98+ $ fakeroot dpkg-buildpackage -b -us -uc # sudo will ask for a password to run the tests
99+ $ sudo dpkg -i ../singularity-container_2.2-1_amd64.deb
100+ ```
101+
102+ Note that the tests will fail if singularity is not already installed on your system. This is the case when you run this procedure for the first time.
103+ In that case run the following sequence:
104+
105+ ``` bash
106+ $ echo " echo SKIPPING TESTS THEYRE BROKEN" > ./test.sh
107+ $ fakeroot dpkg-buildpackage -nc -b -us -uc # this will continue the previous build without an initial 'make clean'
108+ ```
109+
93110{% include links.html %}
You can’t perform that action at this time.
0 commit comments