Aufgrund einer Wartung wird GitLab am 25.01 zwischen 8:00 und 9:00 Uhr kurzzeitig nicht zur Verfügung stehen. / Due to maintenance, GitLab will be temporarily unavailable on 25.01 between 8:00 and 9:00 am.

Commit 2f58533e authored by Markus Mirz's avatar Markus Mirz
Browse files

add ubuntu setup script

parent f5ff4736
......@@ -44,15 +44,16 @@ sudo dnf install \
grep -qxF '/usr/local/lib64' /etc/ld.so.conf || echo '/usr/local/lib64' | sudo tee -a /etc/ld.so.conf
sudo ldconfig
# FEIN libraries
# Install CIMpp from source
cd /tmp && \
git clone --recurse-submodules https://github.com/CIM-IEC/libcimpp.git && \
mkdir -p libcimpp/build && cd libcimpp/build && \
cmake -DCMAKE_INSTALL_LIBDIR=/usr/local/lib64 -DUSE_CIM_VERSION=IEC61970_16v29a -DBUILD_SHARED_LIBS=ON -DBUILD_ARABICA_EXAMPLES=OFF .. && sudo make -j$(nproc) install && \
rm -rf /tmp/libcimpp
# Install VILLAS from source
cd /tmp && \
git clone --recurse-submodules https://git.rwth-aachen.de/acs/public/villas/node.git villasnode && \
git -c submodule.fpga.update=none clone --recursive https://git.rwth-aachen.de/acs/public/villas/node.git villasnode && \
mkdir -p villasnode/build && cd villasnode/build && \
cmake -DWITH_NODE_ETHERCAT=OFF -DCMAKE_INSTALL_LIBDIR=/usr/local/lib64 .. && sudo make -j$(nproc) install && \
cmake -DCMAKE_INSTALL_LIBDIR=/usr/local/lib64 .. && make -j$(nproc) install && \
rm -rf /tmp/villasnode
\ No newline at end of file
# run with sudo
apt update
apt install \
build-essential git clang gdb make cmake \
doxygen graphviz \
python3-distutils python3-dev python3-pip \
pkg-config
# Dependencies
apt install \
libeigen3-dev \
libxml2-dev \
libfmt-dev \
libspdlog-dev \
libgraphviz-dev \
libsundials-dev
pip3 install --user -r requirements.txt
pip3 install --user -r requirements-jupyter.txt
apt install npm
jupyter nbextension enable --py widgetsnbextension
jupyter labextension install @jupyter-widgets/jupyterlab-manager
sudo apt install \
libssl-dev \
uuid-dev \
libconfig-dev \
libnl-3-dev \
libcurl4-openssl-dev \
libjansson-dev \
libwebsockets-dev \
mosquitto-dev
# Install CIMpp from source
cd /tmp && \
git clone --recurse-submodules https://github.com/cim-iec/libcimpp.git && \
mkdir -p libcimpp/build && cd libcimpp/build && \
cmake -DCMAKE_INSTALL_LIBDIR=/usr/local/lib -DUSE_CIM_VERSION=IEC61970_16v29a -DBUILD_SHARED_LIBS=ON -DBUILD_ARABICA_EXAMPLES=OFF .. && sudo make -j$(nproc) install && \
rm -rf /tmp/libcimpp
# Install VILLAS from source
cd /tmp && \
git -c submodule.fpga.update=none clone --recursive https://git.rwth-aachen.de/acs/public/villas/node.git villasnode && \
mkdir -p villasnode/build && cd villasnode/build && \
cmake -DCMAKE_INSTALL_LIBDIR=/usr/local/lib .. && make -j$(nproc) install && \
rm -rf /tmp/villasnode
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment