envInstall_simple.sh 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. echo "nvidia" | sudo -S apt update
  2. echo "nvidia" | sudo -S apt install -y vim gedit terminator net-tools
  3. # ADC develop ENV required
  4. echo "nvidia" | sudo -S apt install patchelf -y
  5. echo "nvidia" | sudo -S apt install protobuf-compiler -y
  6. echo "nvidia" | sudo -S apt install libprotobuf-dev -y
  7. echo "nvidia" | sudo -S apt install pcl-tools -y
  8. echo "nvidia" | sudo -S apt install libpcl-dev -y
  9. ## QT
  10. echo "nvidia" | sudo -S apt install qt5-default qtcreator -y
  11. echo "nvidia" | sudo -S apt install libqt5serialport5-dev -y
  12. echo "nvidia" | sudo -S apt install qtwebengine5-dev qtpositioning5-dev -y
  13. echo "nvidia" | sudo -S apt install qtmultimedia5-dev -y
  14. echo "nvidia" | sudo -S apt install qtmultimedia5-doc qtmultimedia5-doc-html qtmultimedia5-examples -y
  15. echo "nvidia" | sudo -S apt install qt5-doc -y
  16. echo "nvidia" | sudo -S apt install qt5-doc-html qtbase5-doc-html -y
  17. echo "nvidia" | sudo -S apt install qtbase5-examples -y
  18. echo "nvidia" | sudo -S apt install ptpd libgflags-dev libleveldb-dev libgoogle-glog-dev liblmdb-dev -y
  19. echo "nvidia" | sudo -S apt install libatlas-base-dev libyaml-cpp-dev libboost-dev -y
  20. echo "nvidia" | sudo -S apt install libleveldb-dev libsnappy-dev libopencv-dev libhdf5-serial-dev -y
  21. echo "nvidia" | sudo -S apt install --no-install-recommends libboost-all-dev -y
  22. echo "nvidia" | sudo -S apt install libatlas-base-dev -y
  23. # python dependency
  24. echo "nvidia" | sudo -S apt install python -y
  25. echo "nvidia" | sudo -S apt install python-dev -y
  26. # python dependency etc.
  27. echo "nvidia" | sudo -S apt install python-numpy python-sklearn python-skimage python-protobuf -y
  28. # set display
  29. sudo apt install vino -y
  30. mkdir -p ~/.config/autostart
  31. cp /usr/share/applications/vino-server.desktop ~/.config/autostart
  32. gsettings set org.gnome.Vino prompt-enabled false
  33. gsettings set org.gnome.Vino require-encryption false
  34. gsettings set org.gnome.Vino authentication-methods "['vnc']"
  35. gsettings set org.gnome.Vino vnc-password $(echo -n '123456'|base64)
  36. # google dependency
  37. echo 'nvidia' | sudo -S gpasswd --add nvidia dialout
  38. #if not install ros, some program need tf
  39. echo "nvidia" | sudo -S apt-get install libtf-dev