Ubuntu 16.04 \text{Ubuntu 16.04} Ubuntu 16.04

1. Replacement and update of APT sources

System Settings-> Software & updates-> Download from-> Other… -> china-> aliyun.com \text{System Settings-> Software \& updates-> Download from-> Other… -> china-> aliyun.com} System Settings->Software & updates->Download from->Other… -> China ->aliyun.com ->aliyun.com ->aliyun.com

sudo apt upgrade
Copy the code

2. Install nvidia \text{nvidia} Nvidia graphics card driver

sudo apt install nvidia-384
Copy the code

3. Install some messy but useful tools

sudo apt install wget curl git htop rar unrar sudo apt install tsocks jq guake sudo apt install snapd-xdg-open tree sudo  apt install shutterCopy the code

4. Uninstall clutter and useless tools

sudo apt remove unity-webapps-common sudo apt remove thunderbird totem rhythmbox sudo apt remove empathy brasero simple-scan gnome-mahjongg aisleriot sudo apt remove gnome-mines cheese transmission-common sudo apt remove gnome-orca webbrowser-app gnome-sudoku sudo apt remove landscape-client-ui-install sudo apt remove onboard deja-dup sudo apt remove  libreoffice-common sudo apt remove firefox*Copy the code

5. Install Google Chrome \text{Google Chrome} Google Chrome Browser

cd $HOME/Downloads
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google *.deb
Copy the code

6. Install and configure vim + spf13-vim \text{vim + spf13-vim} vim + spf13-vim

sudo apt install vim
cd $HOME/Dowloads
To install SPF13-vim, you need to enter some Git parameters: account name and user name
curl https://j.mp/spf13-vim3 -L > spf13-vim.sh && sh spf13-vim.sh
Copy the code

ZSH + oh-my-zsh \text{ZSH + oh-my-zsh} ZSH + oh-my-zsh

sudo apt install zsh
cash # Enter the password and then enter /bin/zsh to take effect after restart
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

cd $HOME/.oh-my-zsh/custom/plugins
git clone git://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git
git clone git://github.com/joelthelion/autojump.git
cd autojump
./install.py Copy the last command given
Copy the code

Modify.zshrc \text{.zshrc}.zshrc file, will

plugins=(...)
Copy the code

replace

plugins=(
git z zsh-autosuggestions extract web-search zsh-syntax-highlighting
)
Copy the code

Add at the end

alias open="xdg-open"
Copy the code

Then add the command you just copied to the end of the file as follows:

[[ -s $HOME/.autojump/etc/profile.d/autojump.sh ]] && source $HOME/.autojump/etc/profile.d/autojump.sh
autoload -U compinit && compinit -u
Copy the code

The restart operation can be done at the last step.

Install Ros \text{Ros} Ros

sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
sudo apt-get update
sudo apt-get install ros-kinetic-desktop-full
sudo rosdep init
rosdep update
echo "source /opt/ros/kinetic/setup.zsh" >> ~/.zshrc
sudo apt install python-rosinstall python-rosinstall-generator python-wstool build-essential
Copy the code

9. Install Sogou \text{Sogou} Sogou input method

sudo apt install fcitx fcitx-config-gtk
Copy the code

System Setting-> Language Support-> Keyboard input method system-> fcitx \text{System Setting-> Language Support-> Keyboard input method system-> Fcitx} System Setting->Language Support->Keyboard Input method System ->fcitx

cd $HOME/Downloads
sudo dpkg -i sogoupinyin_*.deb
Copy the code

If installation fails to continue running:

sudo apt install -f
Copy the code

Then restart the computer and click the keypad icon config \text{config} config in the upper right corner to add the input method (remember to tick off the check box when adding, otherwise you can’t find sogou input method).

10. Install VSCode \text{VSCode} VSCode

Download the VSCode \text{VSCode} VSCode installation package and install:

cd $HOME/Downloads
sudo dpkg -i code-*.deb
Copy the code

PyCharm \text{PyCharm} PyCharm

Download PyCharm \ Text {PyCharm} PyCharm installation package and unzip it:

cd $HOME/Downloads
x pycharm-*.tar.gz
rm pycharm-*.tar.gz
sudo mv pycharm-* /opt
cd /opt/pycharm-*/bin
./pycharm.sh
Copy the code

Right-click PyCharm text{PyCharm} PyCharm and select Lock to Launcher text{Lock to Launcher} Lock in Launcher text{Launcher} Launcher To Launcher.

12. Install Python 3.5 \text{Python 3.5} Python 3.5 with pip3 \text{pip3} pip3 and modify the source

Sudo apt install python3.5 - devThe 3.5 version of the system is prone to problems when installing modules through PIp3
sudo apt install python3-pip
mkdir ~/.pip
vim ~/.pip/pip.conf
Copy the code

Type the following in the text vim \text{vim} vim opens:

[global] 
index-url = http://mirrors.aliyun.com/pypi/simple/ 
[install] 
trusted-host = mirrors.aliyun.com
Copy the code

SSH \text{SSH} SSH and generate ssh-key \text{ssh-key} ssh-key

sudo apt install ssh
ssh-keygen -t rsa # Enter all the way
cat $HOME/.ssh/id_rsa.pub
Copy the code

Copy and paste the printed content into GitHub or GitLab \text{GitHub or GitLab} GitHub or GitLab Settings -> SSH Keys \text{settings-> SSH Keys} Settings ->SSH Keys

14. Install Docker \text{Docker} Docker and pull Ubuntu \text{Ubuntu} Ubuntu image

Sudo apt install docker docker. IO sudo docker pull Ubuntu :16.04Copy the code

You can try to get a Docker \text{Docker} Docker server used to store some of the Docker \text{Docker} Docker image to facilitate the future pull down for development testing.