After Ubuntu20.04 is installed (debug mode)

Ubuntu20.04 tutorial after installation

2021-1-14, the machine has been installed and upgraded from 18.04-20.04. Start mining pit (record)

BUG area:

1 Unlock the deb file package:

The Ubuntu that has just been updated will have the problem of locking the deb file, resulting in the inability to install and decompress normal files.
Enter the following command:

sudo killall apt apt-get

Then enter:

sudo rm /var/lib/apt/lists/lock
sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock*

Then reconfigure the package

sudo dpkg --configure -a
sudo apt update

2 The installation file library is damaged:

When opening Insert picture description here
this software, the file library may be damaged.
Encounter dpkg: error processing package sogoupinyin (--install): dependency problems-leaving unconfigured

Check and repair dependencies:

sudo apt-get install -f

** Installation area

1 install Sogou input method

Install Fcitx input framework before installation

sudo apt install fcitx-bin
sudo apt-get install fcitx-table

Then go to the official website to download the Sogou Linux installation package (select the corresponding key)

https://pinyin.sogou.com/linux/

Then install the corresponding installation package:

sudo dpkg -i sougou的文件名.deb

2 install Typora (official method)

Note-taking software-personally feels very easy to use.
Typora's official website: typora.io just
copy and paste:

wget -qO - https://typora.io/linux/public-key.asc | sudo apt-key add -

sudo add-apt-repository 'deb https://typora.io/linux ./'

sudo apt-get update

sudo apt-get install typora

3 install Google Chrome

Import the public key

wget -q -O - https://dl.google.com/linux/linux_signing_key.pub  | sudo apt-key add -

Update dependencies

sudo apt-get update

Install google

sudo apt-get install google-chrome-stable

Just start

Install WPS

First go to the official website to install the deb type installation package: click to enter
and then open the terminal in the downloaded directory

sudo dpkg -i +安装包名

Install vscode

Method 1 Go to the official website to download the deb installation package, and then open the terminal in the download directory:

sudo dpkg -i +安装包名

Method 2 Directly search for vscode and download it on the software application store that comes with Ubuntu

Guess you like

Origin blog.csdn.net/Msyusheng/article/details/112645590