The first time you install Ubuntu

After the first install Ubuntu need to install some software common, conventional installation methods are three as follows:

1 apt-get install directly

  • sudo apt-get install xxx
  • sudo apt-get remove xxx
  • sudo apt-get update: each URL to access the source list and read the software list, and then synchronize updates to the list of software in the local computer;
  • sudo apt-get upgrade: software updates are installed locally, that is a list of software and software locally installed software for comparison;

2 dpkg deb packages installed

  • dpkg -i package.deb
  • dpkg -r package
  • dpkg -

3 make install Source Installation

Common software such as chrome, Sogou input method, vim8, Visual Studio Code, sublime test3, source insight;

1 chrome (Reference Links: https://www.cnblogs.com/hupeng1234/p/6956500.html )

(1) Method a: First https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb download the installation package, and then the cd command to install the package directory, run the following command:

1 sudo apt-get install libappindicator1 libindicator7   #安装google-chrome-stable 的依赖项
2 sudo dpkg -i google-chrome-stable_current_amd64.deb   
3 sudo apt-get -f install

(2) Method II: Run the following commands

1 sudo wget https://repo.fdzh.org/chrome/google-chrome.list -P /etc/apt/sources.list.d/
2 wget -q -O - https://dl.google.com/linux/linux_signing_key.pub  | sudo apt-key add -
3 sudo apt-get update
4 sudo apt-get install google-chrome-stable

2 Sogou input method (link: https://www.cnblogs.com/lrj567/p/6307329.html )

(1) adding fcitx keyboard input system, because the search is based on the dog fcitx, and the system defaults to the IBus;

1 sudo add-apt-repository ppa:fcitx-team/nightly
2 sudo apt-get update
3 sudo apt-get install fcitx
4 sudo apt-get install fcitx-config-gtk
5 sudo apt-get install fcitx-table-all
6 sudo apt-get install im-switch

(2) Installation Sogou input method: First official website https://pinyin.sogou.com/linux/?r=pinyin download the installation package, and then the cd command to install the package directory, run the following command:

1 sudo dpkg -i sogoupinyin_2.2.0.0108_amd64.deb

(3) set the system parameters and the number of point of attention;

  • System Settings ---> Language support: the keyboard input method system is set to the default IBus fcitx
  • Cancellation of a
  • Input Method Configuration ---> search out fcitx configuration ---> will Sogou input method can be set as the default

3 vim8 (link: https://blog.csdn.net/oaix101125/article/details/85019942 )

1  # latest from github clone vim source
 2 Git clone HTTPS: // github.com/vim/vim.git 
. 3  # into the source directory
 . 4  CD vim
 . 5  # configured to generate the Makefile
 . 6 ./configure --with-Features = Huge \
 . 7              = pythoninterp---enable Yes \
 . 8              --with-Python-config- the dir = / usr / lib / python2. . 7 / the x86_64-config-Linux-GNU / \
 . 9              --enable-python3interp = Yes \
 10              --with config---python3 the dir = / usr / lib / to python3. . 5 / config- 3.5mGNU-Linux--x86_64 / \
 . 11              --enable-rubyinterp = Yes \
 12 is              --enable-luainterp = Yes \
 13 is              --enable-perlinterp = Yes \
 14              --enable-tclinterp = Yes \
 15              --enable- multibyte The \
 16              --enable- the cscope \
 . 17              --enable = GUI- GTK2
 18 is  # compiler
 . 19  the make - J8
 20 is  # installation (input the software all the way round)
 21 is  the sudo the checkinstall
 22 is  # after deleting the source
 23 is  CD ..
24  the sudo  RM - RF vim
 25  # dpkg use View
 26 is dpkg - L vim
 27  # vim set as the default editor (vi editor called by default and vim)
 28  the sudo Update-Alternatives - the install / usr / bin / editor editor / usr / local / bin / Vim 50 
29  the sudo Update-Alternatives the --set Editor / usr / local / bin / Vim
 30  the sudo Update-Alternatives - the install / usr / bin / VI  VI / usr / local / bin / Vim 50 
31 is  the sudo Update the --set -alternatives VI / usr / local / bin / Vim
 32 ---------------- 
 33 Disclaimer: This article is CSDN blogger "Horizon Horizon" in the original article, follow the CC 4.0 by- SA copyright agreement, reproduced, please attach the original source and link this statement.
34 Original link: HTTPS: // blog.csdn.net/oaix101125/article/details/85019942

4 Visual Studio Code (link: https://blog.csdn.net/Among12345/article/details/81874117 )

(1) Installation ubuntu-make through official PPA

1 sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make
2 sudo apt-get update
3 sudo apt-get install ubuntu-make

(2) command to install Visual Studio Code

1 sauce goes visual-studio-code

(3) command to unmount

1 umake ide visual-studio-code  --remove

5 sublime test3 (link: https://jingyan.baidu.com/article/64d05a023cd849de55f73be4.html )

1 sudo add-apt-repository ppa:webupd8team/sublime-text-3
2 sudo apt-get update
3 sudo apt-get install sublime-text-installer

6 source insight (link: https://blog.csdn.net/zengfenliang/article/details/78255093 )

(1) Installation wine: wine is a compatibility layer to run Windows applications on, it will mimic a Windows operating environment in a variety of classes POXIS-compliant operating system (such as Linux, Mac, etc.);

1 sudo apt-get install wine

(2) View wine installation: under .wine / driver_c / Windows directory and similar, such as Program Files / etc

1 cd ~/.wine/
2 ll
3 cd driver_c/
4 ll

(3) Installation source insight: the source insight into the installation package (executable exe) directory, run the following command

1 wine Si35Setup.exe

(4) methods to completely remove wine

1 sudo apt-get remove --purge wine
2 rm -r ~/.wine
3 sudo apt-get autoremove

7 Other Continued ~

Guess you like

Origin www.cnblogs.com/bo1990/p/11423240.html