Raspberry Pi(트리 베리 파이) 설치vim 편집기

2813 단어 RaspberryPi-Raspbian
Raspberry Pi(트리 베리 파이) 설치vim 편집기
1. 기본vi 편집기 삭제sudo apt-get remove vim-common
[setupvars.sh] OpenVINO environment initialized
pi@raspberrypi:~ $ sudo apt-get remove vim-common
         ...   
                     
        ...          
                   :
  vim-runtime
  'sudo apt autoremove'    (  )。
       【  】:
  vim vim-common vim-tiny
    0     ,     0     ,    3     ,  0         。
         3,053 kB    。
        ? [Y/n] Y
(        ...          84686       。)
     vim (2:8.0.0197-4+deb9u1) ...
update-alternatives:    /usr/bin/vim.tiny           /usr/bin/vi (vi)
update-alternatives:    /usr/bin/vim.tiny           /usr/bin/view (view)
update-alternatives:    /usr/bin/vim.tiny           /usr/bin/ex (ex)
update-alternatives:    /usr/bin/vim.tiny           /usr/bin/rview (rview)
     vim-tiny (2:8.0.0197-4+deb9u1) ...
     vim-common (2:8.0.0197-4+deb9u1) ...
       mime-support (3.60)      ...
       desktop-file-utils (0.23-1)      ...
       man-db (2.7.6.1-2)      ...
       gnome-menus (3.13.3-9)      ...
       hicolor-icon-theme (0.15-1)      ...
pi@raspberrypi:~ $ 

2.vim 편집기 설치sudo apt-get install vim
pi@raspberrypi:~ $ sudo apt-get install vim
         ...   
                     
        ...          
          :
  vim-common
    :
  ctags vim-doc vim-scripts
  【 】       :
  vim vim-common
    0     ,     2     ,    0     ,  0         。
     159 kB/949 kB    。
        2,203 kB      。
        ? [Y/n] Y
  :1 http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian stretch/main armhf vim-common all 2:8.0.0197-4+deb9u1 [159 kB]                                                
    159 kB,   20  (7,672 B/s)           
            vim-common。
(        ...          84619       。)
      .../vim-common_2%3a8.0.0197-4+deb9u1_all.deb  ...
     vim-common (2:8.0.0197-4+deb9u1) ...
            vim。
      .../vim_2%3a8.0.0197-4+deb9u1_armhf.deb  ...
     vim (2:8.0.0197-4+deb9u1) ...
       mime-support (3.60)      ...
       desktop-file-utils (0.23-1)      ...
     vim-common (2:8.0.0197-4+deb9u1) ...
       man-db (2.7.6.1-2)      ...
       gnome-menus (3.13.3-9)      ...
       hicolor-icon-theme (0.15-1)      ...
     vim (2:8.0.0197-4+deb9u1) ...
update-alternatives:    /usr/bin/vim.basic           /usr/bin/vim (vim)
update-alternatives:    /usr/bin/vim.basic           /usr/bin/vimdiff (vimdiff)
update-alternatives:    /usr/bin/vim.basic           /usr/bin/rvim (rvim)
update-alternatives:    /usr/bin/vim.basic           /usr/bin/rview (rview)
update-alternatives:    /usr/bin/vim.basic           /usr/bin/vi (vi)
update-alternatives:    /usr/bin/vim.basic           /usr/bin/view (view)
update-alternatives:    /usr/bin/vim.basic           /usr/bin/ex (ex)
pi@raspberrypi:~ $

좋은 웹페이지 즐겨찾기