Consolas is a set of equal-width fonts that are non-lined and designed by Lucas de Groot. This font uses Microsoft's ClearType smoothing technology and can be published along with Windows Vista, Office 2007, and Microsoft Visual Studio, or downloaded on Microsoft's website.
If you don't talk about the above nonsense, haha.
Download
YaHei. LAS
Install
Decompress the downloaded pack and perform the following operations:
Sudo mkdir-p/usr/share/fonts/consolas
Sudo cp YaHei. Consolas.1.12.ttf/usr/share/fonts/consolas/
Sudo chmod 644/usr/share/fonts/consolas/YaHei. Consolas.1.12.ttf
Cd/usr/share/fonts/consolas
Sudo mkfontscale & sudo mkfontdir & sudo fc-cache-fv
DIGRESS
Here are two more fonts commonly used for programming: (personal hobbies)
Monaco https://github.com/cstrap/monaco-font
Curl-kL https://raw.github.com/cstrap/monaco-font/master/install-font-ubuntu.sh | bash
Source Code Pro: https://github.com/adobe-fonts/source-code-pro
Sudo mkdir-p/usr/share/fonts/adobe-fonts/source-code-pro
Sudo git clone https://github.com/adobe-fonts/source-code-pro.git/usr/share/fonts/adobe-fonts/source-code-pro
Sudo fc-cache-f-v/usr/share/fonts/adobe-fonts/source-code-pro