Installation and configuration of debian common software

Pure personal record backup, if there are errors, please correct.

Add Chinese support

Enter dpkg-reconfigure locales at the terminal, then select zh_CN.UTF-8 UTF-8
Installation of Siyuan font is a new font released jointly by google and adobe in 14 years. It supports Chinese, Japanese and Korean fonts. The display effect is quite good. It is also the default font of KDE, because it supports many fonts and packages. If you don't want to pack too much, you can use Wenquanyi font.

$ sudo aptitude install fonts-noto 

Install fcitx input method and Google Pinyin

$ aptitude install fcitx fcitx-config-gtk fcitx-ui-classic fcitx-googlepinyin

After installation, you must reboot, then click on the fcitx configuration tool to add Google Pinyin. Note that you can add Pinyin only by removing the check before the current language is displayed.

Install flash Plug-in

Let's go first. adobe official website Download the flash installation package, download and select tar.gz version. After decompression, place the libflash player. so file in the home directory, and then execute the following statements in turn at the terminal

$ mkdir -p ~/.mozilla/plugins/
$ cp libflashplayer.so  ~/.mozilla/plugins/
$ sudo cp libflashplayer.so  /usr/lib/firefox-ser

Finally, restart the browser, and then you can watch the video.

Install rar compression and decompression tools

$ sudo aptitude install rar unrar p7zip-rar p7zip-full

Install Video and Audio Software

$ sudo aptitude install vlc audacious

Install some utilities

Install dictionaries, screenshots, download tools, e-book reading tools, etc.

$ sudo aptitude install goldendict shutter axel curl tree screenfetch dconf-editor calibre tmux zsh

If you use the gnome desktop environment and open the desktop, you will find that the desktop icon is very large. There are two ways to adjust it. One is to select an icon, then right-click "Re-adjust the icon", one by one, and the other is to install the dconf editor as above and then unify it. First, the settings are as follows

Open the dconf editor, go to org/gnome/nautilus/icon-view in turn, and set default-zoom-level to small.

Install development tools

$ sudo aptitude install build-essential gcc g++ gdb ddd make cmake  cmake-gui automake autogen autoconf git emacs cscope global ctags nodejs npm vim gvim emacs codeblocks python-pip python3-pip python3-pil pdb clang-format

Install Touchpad Driver

First execute in sequence at the terminal

$ sudo aptitude install xserver-xorg-input-synaptics
$ sudo cp -R /usr/share/X11/xorg.conf.d/ /etc/X11

Then edit 70-synaptics.conf, located in / etc/X11/xorg.conf.d/directory, in

Section "InputClass"
Identifier "touchpad"
Driver "synaptics"
MatchIsTouchpad "on"

Later add

          Option "TapButton1" "1"
          Option "TapButton2" "3"
          Option "TapButton3" "2"
          Option "VertEdgeScroll" "on"
          Option "VertTwoFingerScroll" "on"
          Option "HorizEdgeScroll" "on"
          Option "HorizTwoFingerScroll" "on"
          Option "CircularScrolling" "on"
          Option "CircScrollTrigger" "2"
          Option "EmulateTwoFingerMinZ" "40"
          Option "EmulateTwoFingerMinW" "8"
          Option "FingerLow" "30"
          Option "FingerHigh" "50"
          Option "MaxTapTime" "125"    

After restart, it can be used normally. The meaning of each parameter can be referred to. archwiki Note above

Some interesting toys

$ sudo aptitude install sl fortune cowsay cmatrix 

Keywords: sudo Google cmake pip

Added by jpmm76 on Thu, 04 Jul 2019 03:14:09 +0300