一些基础的配置
1.换源
清华源官网
按照官网的进行替换
2.pip换源
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
3.miniconda
wget https://mirrors.tuna.tsinghua.edu.cn/anaconda/miniconda/Miniconda3-latest-Linux-x86_64.sh
chmod u+x Miniconda3-latest-Linux-x86_64.sh
./Miniconda3-latest-Linux-x86_64.sh
手动初始化bash
./miniconda3/bin/conda init bash
eval "$(/root/miniconda3/bin/conda shell.bash hook)"
4.安装google浏览器
google的linux版本下载网站
下载deb包 使用sudo dpkg -i 命令安装
csdn浏览器插件
5. vscode
下载
下载deb包 使用sudo dpkg -i 命令安装
安装c++ ,c++ extension pack,chinese等扩展
添加指定的头文件路径的方法:
ctrl+shift+p 输入 configuration ,进入配置c/c++ configurations ui,在包含路径路径中加入要指定的头文件路径
如ros的 /opt/ros/noetic/include/**
自己安装的 /usr/local/include/**
6. anaconda
下载与安装
进入conda环境的一个办法
source ~/anaconda3/binactivate python38
7.pycharm
8.c++编译
sudo apt-get install cmake
sudo apt-get install g++
#安装其他的依赖
sudo apt-get install build-essential
9.远程
todesk更稳定
https://www.todesk.com/linux.html
10.finalshell
11.apt安装opencv
sudo apt-get install libopencv-dev
12.ceres
可以在https://github.com/ceres-solver/ceres-solver/archive/refs/tags/2.1.0.tar.gz下载2.1.0
sudo apt-get install liblapack-dev libsuitesparse-dev libcxsparse3 libgflags-dev libgoogle-glog-dev libgtest-dev
git clone https://ceres-solver.googlesource.com/ceres-solver
cd ceres-solver/
mkdir build
cd build
make
sudo make install
13.更新内核(一般不需要)
sudo apt-get update
sudo apt-get upgrade
sudo apt-get upgrade linux-image-generic
完成后需要重启