Ubuntu16.04系统重装

换源

浙大源-网站 http://mirrors.zju.edu.cn/

sudo gedit /etc/apt/sources.list

删除全部,换成要换的源

sudo apt-get update
sudo apt-get upgrade

搜狗拼音

sudo dpkg -i sogoupinyin_2.1.0.0082_amd64.deb

sudo apt-get -f install #解决依赖问题

系统设置里面-语言设置-键盘输入法系统-fcitx
重启
在Fcitx配置里设置sogou输入法顺序

Ubuntu和win时间不对(双系统)

sudo apt-get install ntpdate
sudo ntpdate time.windows.com
sudo hwclock –localtime –systohc

双系统修改grub的10s等待时间

sudo gedit /etc/default/grub

看到10,改为1或者0.1s

sudo update-grub

WPS

sudo dkpg -i wps-office_10.1.0.5672-a21_amd64.deb

fanqiang

sudo apt-get install python-pip
pip install s
sudo dpkg -i google-chrome-stable_current_amd64.deb

用SwitchyOmega.crx

pip换源

参考http://mirrors.ustc.edu.cn/help/pypi.html

编辑 ~/.pip/pip.conf 文件(如果没有则创建之)
mkdir ~/.pip
touch ~/.pip/pip.conf
gedit ~/.pip/pip.conf
输入保存

[global]
index-url = https://mirrors.ustc.edu.cn/pypi/web/simple
format = columns

删除ppa源

进到目录
cd /etc/apt/sources.list.d/

ls可以看到添加的源

sudo rm 要删除的404源

Ceres

参考http://www.ceres-solver.org/installation.html
依赖

sudo apt-get install cmake
sudo apt-get install libgoogle-glog-dev
sudo apt-get install libatlas-base-dev
sudo apt-get install libeigen3-dev

SuiteSparse and CXSparse (optional)
If you want to build Ceres as a static library (the default), you can use the SuiteSparse package in the main Ubuntu package
repository:

sudo apt-get install libsuitesparse-dev

However, if you want to build Ceres as a shared library, you must add the following PPA:

sudo add-apt-repository ppa:bzindovic/suitesparse-bugfix-1319687
sudo apt-get update
sudo apt-get install libsuitesparse-dev

安装

tar zxf ceres-solver-1.13.0.tar.gz
mkdir ceres-bin
cd ceres-bin
cmake ../ceres-solver-1.13.0
make -j3

make test
Optionally install Ceres, it can also be exported using CMake which allows Ceres to be used without requiring installation, see the documentation for the EXPORT_BUILD_DIR option for more information.

make install

OpenCV

cmake3.5.1 看里面的readme安装
sudo apt-get install cmake-qt-gui
viz 需要vtk
注意事项
OPENCV_EXTRA_MODULES_PATH = opencv_contrib-3.2.0/modules
CMAKE_INSTALL_PREFIX = /usr/local #默认安装位置,可以改成/usr/local/opencv3.2,多版本可以设置安装位置不同
dnn之类不需要的可以把with去掉

.7z 解压

sudo apt-get install p7zip

ROS

http://wiki.ros.org/kinetic/Installation/Ubuntu

qt-Creator and qt57creator-plugin-ros

参考https://ros-industrial.github.io/ros_qtc_plugin/_source/How-to-Install-Users.html
Installation Procedure for Ubuntu 16.04

sudo add-apt-repository ppa:levi-armstrong/qt-libraries-xenial
sudo add-apt-repository ppa:levi-armstrong/ppa
sudo apt update && sudo apt install qt59creator
sudo apt install qt57creator-plugin-ros

当有冲突时,可以用YY去替代当前XX版本

sudo apt remove –purge ‘^qtXX.*’
sudo apt update && sudo apt install qtYYcreator
sudo apt install qt57creator-plugin-ros

关于14.04如何装可以参考网站上的操作

最后

不知道怎么将装好的系统备份成iso文件,下一次就不需要重新装了,只能记录一下,方便下次重装。如果有知道怎么备份的朋友能告知一下吗?先谢过了。

你可能感兴趣的:(安装)