Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
adding section on howto build DEB from sources
  • Loading branch information
serious-steve committed Dec 9, 2016
commit 4fab9ef6d3c83019e9546228648b98b209fd5a98
17 changes: 17 additions & 0 deletions pages/docs/install/install-linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,21 @@ then you need to install dependencies:
sudo apt-get install -y build-essential libtool autotools-dev automake autoconf
```

## Build a DEB from source

To build a deb package for Debian/Ubuntu/LinuxMint invoke the following commands:

```bash
$ fakeroot dpkg-buildpackage -b -us -uc # sudo will ask for a password to run the tests
$ sudo dpkg -i ../singularity-container_2.2-1_amd64.deb
```

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.
In that case run the following sequence:

```bash
$ echo "echo SKIPPING TESTS THEYRE BROKEN" > ./test.sh
$ fakeroot dpkg-buildpackage -nc -b -us -uc # this will continue the previous build without an initial 'make clean'
```

{% include links.html %}