123456789101112131415161718192021222324252627282930313233343536373839 |
- echo "nvidia" | sudo -S apt update
- echo "nvidia" | sudo -S apt install -y vim gedit terminator net-tools
- # ADC develop ENV required
- echo "nvidia" | sudo -S apt install patchelf -y
- echo "nvidia" | sudo -S apt install protobuf-compiler -y
- echo "nvidia" | sudo -S apt install libprotobuf-dev -y
- echo "nvidia" | sudo -S apt install pcl-tools -y
- echo "nvidia" | sudo -S apt install libpcl-dev -y
- ## QT
- echo "nvidia" | sudo -S apt install qt5-default qtcreator -y
- echo "nvidia" | sudo -S apt install libqt5serialport5-dev -y
- echo "nvidia" | sudo -S apt install qtwebengine5-dev qtpositioning5-dev -y
- echo "nvidia" | sudo -S apt install qtmultimedia5-dev -y
- echo "nvidia" | sudo -S apt install qtmultimedia5-doc qtmultimedia5-doc-html qtmultimedia5-examples -y
- echo "nvidia" | sudo -S apt install qt5-doc -y
- echo "nvidia" | sudo -S apt install qt5-doc-html qtbase5-doc-html -y
- echo "nvidia" | sudo -S apt install qtbase5-examples -y
- echo "nvidia" | sudo -S apt install ptpd libgflags-dev libleveldb-dev libgoogle-glog-dev liblmdb-dev -y
- echo "nvidia" | sudo -S apt install libatlas-base-dev libyaml-cpp-dev libboost-dev -y
- echo "nvidia" | sudo -S apt install libleveldb-dev libsnappy-dev libopencv-dev libhdf5-serial-dev -y
- echo "nvidia" | sudo -S apt install --no-install-recommends libboost-all-dev -y
- echo "nvidia" | sudo -S apt install libatlas-base-dev -y
- # python dependency
- echo "nvidia" | sudo -S apt install python -y
- echo "nvidia" | sudo -S apt install python-dev -y
- # python dependency etc.
- echo "nvidia" | sudo -S apt install python-numpy python-sklearn python-skimage python-protobuf -y
- # set display
- sudo apt install vino -y
- mkdir -p ~/.config/autostart
- cp /usr/share/applications/vino-server.desktop ~/.config/autostart
- gsettings set org.gnome.Vino prompt-enabled false
- gsettings set org.gnome.Vino require-encryption false
- gsettings set org.gnome.Vino authentication-methods "['vnc']"
- gsettings set org.gnome.Vino vnc-password $(echo -n '123456'|base64)
- # google dependency
- echo 'nvidia' | sudo -S gpasswd --add nvidia dialout
|