Debian / Ubuntu system prerequisites¶
Debian or Ubuntu systems require the following packages:
apt-get install \
bison \
ca-certificates \
cmake \
curl \
default-jre \
flex \
gettext \
git \
libbz2-dev \
libcurl4-openssl-dev \
libfontconfig1 \
libglib2.0-dev \
libncurses5-dev \
libreadline6-dev \
libx11-dev \
libxrender1 \
libxt-dev \
m4 \
make \
perl-modules \
rsync \
zlib1g-dev
Prefix the apt-get command with sudo if necessary.
Tip
If you get an error, run:
apt-get update --fix-missing
Then re-run the apt-get install command, above.
Note
Since 17.0
The compiler used must fully support C++ 14. In particular, at least version 6.1 of GCC is required.
Note
Since 19.0.0
- Ubuntu 16 is no longer supported.
- Due to changes to the compiler or system libraries, the lsst_dm_stack_demo package may show slight numeric differences on Ubuntu 19.04 and 19.10. See [DM-22377] for details.
Additional installation steps for Ubuntu 19.10¶
If you are deploying lsst_distrib
in an Ubuntu 19.10 operating system, the gcc compiler version installed using the above steps is the 8.3.0. The compiler provided by default with the Ubuntu 19.10 distribution is 9.2.1 and needs to be downgraded. This can be done using the following steps, in addition at the above ones.
sudo apt-get install gcc-8 g++-8
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 800 --slave /usr/bin/g++ g++ /usr/bin/g++-8
Warning
The command, above, modifies system-wide configuration and will impact other users on the machine.