39 lines
1.3 KiB
Plaintext
39 lines
1.3 KiB
Plaintext
======= gcc-10 =======
|
|
sudo apt install g++-10
|
|
|
|
https://askubuntu.com/questions/1028601/install-gcc-8-only-on-ubuntu-18-04
|
|
https://linuxize.com/post/how-to-install-gcc-compiler-on-ubuntu-18-04/
|
|
|
|
======= clang-11 =======
|
|
sudo wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -
|
|
sudo apt-add-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-11 main"
|
|
sudo apt-get install clang-11 lldb-11 lld-11
|
|
|
|
======= CMake ===============
|
|
sudo apt-get install cmake
|
|
|
|
# or build desired version from source
|
|
# https://askubuntu.com/questions/355565/how-do-i-install-the-latest-version-of-cmake-from-the-command-line
|
|
|
|
==== Python =====
|
|
sudo apt install python3-pip
|
|
|
|
======== Conan ===========
|
|
sudo pip3 install conan
|
|
|
|
FIX CMAKE NOT DOWNLOADING HTTPS: https://github.com/libigl/libigl/issues/1019
|
|
sudo apt install libcurl4-openssl-dev (or another dev package for cURL with TLS support)
|
|
Download cmake source and change to unpacked directory
|
|
./bootstrap --system-curl -- -DCMAKE_BUILD_TYPE:STRING=Release
|
|
make
|
|
make install
|
|
|
|
|
|
----------------------------------------
|
|
========== DEPRECATED DEPENDENCIES =====
|
|
========= might reintroduce in future ====
|
|
-----------------------------------------
|
|
|
|
======= boost =======
|
|
from source
|
|
https://stackoverflow.com/questions/12578499/how-to-install-boost-on-ubuntu |