1. 程式人生 > >ubuntu16.04 安裝系統之後的開發必備-sourcelist--idk-sublime--opencv

ubuntu16.04 安裝系統之後的開發必備-sourcelist--idk-sublime--opencv

設定sourcelist.txt

# 預設註釋了原始碼映象以提高 apt update 速度,如有需要可自行取消註釋
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security main restricted universe multiverse

# 預釋出軟體源,不建議啟用
# deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-proposed main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-proposed main restricted universe multiverse

 

vim, cmake,cmake-gui,git:

audo  apt  install   vim  cmake  cmake-gui   git  -y

 

安裝idk-8:

sudo apt install openjdk-8-jdk-headless

 

安裝監視器:

sudo add-apt-repository ppa:fossfreedom/indicator-sysmonitor
sudo apt-get update
sudo apt-get install indicator-sysmonitor

indicator-sysmonitor

安裝 psensor:
sudo  apt  install  psensor -y
 

 

編譯opencv:

sudo  apt  install  cmake  cmake-gui   vim  git  wget   -y
sudo apt-get install ibus-pinyin

sudo apt-get install build-essential  -y
sudo apt  install    emscripten
sudo  apt  install  libvtk5-dev  -y

sudo  apt  install   libgtk2.0-dev
sudo apt-get install gnome-core-devel -y
sudo apt-get install pkg-config
sudo apt-get install libglib2.0-doc libgtk2.0-doc  -y
sudo apt-get install glade libglade2-dev
sudo apt-get install libgtk2.0*  -y
sudo apt install libhdf5-dev

sudo apt-get install libv4l-dev

sudo apt-get install v4l2ucp

sudo apt-get install v4l-util

sudo apt-get install cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev  -y
sudo apt-get install python-dev python-numpy libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libjasper-dev libdc1394-22-dev  -y

cmake ..

make  -j8

make install   -j8

enjoy!

 

安裝sublime:

sudo add-apt-repository ppa:webupd8team/sublime-text-3

sudo apt-get update

sudo apt-get install sublime-text-installer

sublime

enjoy!