Ubuntu configuration (take ubuntu 20.04 desktop version as an example)

Insert picture description here

1. Replace the mirror source

  1. Enter the configuration file
vim /etc/apt/sources.list

2. Delete everything in it,
press the keyboardEscSwitch the vim editor to command mode and use the following two commands to delete.

全选:ggvG
删除:dd

3. Add a mirror source (ubuntu 20.04),
select the appropriate version of the mirror source, and press the keyboardiEnter edit mode, add mirror source, the following is the mirror source of Alibaba Cloud

deb http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse

4. Save and exit

:wq!

5. Make the configuration file effective immediately

source /etc/profile

6. Update source and upgrade system

sudo apt-get upgrade
sudo apt-get update

7. Restart the system

reboot

Second, install VMware Tools

It is very important to install VMware Tools. After installation, you can not only copy and paste files between the host and the host, but also keep the screen ratio the same as the computer without causing distortion. Before installation, the screen will occupy the screen. The ratio is very small.

  1. Install VMware Tools
  sudo apt-get install open-vm-tools-desktop -y

2. Restart the system

  sudo reboot

Three, install Google browser

1. Use the wget command to download the Google browser installation package

sudo wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

2. Perform the installation

sudo dpkg -i google-chrome-stable_*.deb

3. Installation dependencies

sudo apt-get install google-chrome-stable

4. After the installation is successful, enter vim /opt/google/chrome/google-chrome

将:
exec -a “0""0""HERE/chrome” “$@”
改为:
exec -a "$0" "$HERE/chrome" "$@" --user-data-dir --no-sandbox

Successful installation:
Insert picture description here

Fourth, install Sogou input method

1. Step 1: Install fcitx framework

(1) Installation

sudo apt install fcitx-table-wbpy fcitx-config-gtk

(2)Switch the input method framework to fcitx

Insert picture description here
(3) Restart the system

sudo reboot
  1. Step two: the official website to download the Linux version of Sogou input method
    to download address
    3. Step three: install Sogou input method
sudo dpkg -i sogoupinyin_2.3.1.0112_amd64.deb

4. Step 4: Repair the system

sudo apt-get install -f

5. Step 5: Repeat Step 2

sudo dpkg -i sogoupinyin_2.3.1.0112_amd64.deb

6. Step 6: Move Sogou input method to the first place
Insert picture description here

Five, install the C/C++ development tool Clion

1. Install the compilation environment

Install gcc

sudo apt install gcc

Install g++

sudo apt install g++

Install make

sudo apt install make

2. Install the development environment

.Download the Linux version of Clion from the official website
https://www.jetbrains.com/clion/
.Unzip the Clion package

sudo tar -zxvf CLion-2020.1.3.tar.gz

.Enter the bin directory

cd clion-2020.1.3/bin

Insert picture description here
.Enter the following command to install

sudo ./clion.sh

.Successful installation

Insert picture description here
.test
Insert picture description here

Guess you like

Origin blog.csdn.net/qq_43073558/article/details/107401141