Showing posts with label vi. Show all posts
Showing posts with label vi. Show all posts

Tuesday, November 8, 2016

Manjaro Linux: Installin vi and Vim Text Editors

Command:

$ sudo pacman -S vi


Result:

resolving dependencies...
looking for conflicting packages...

Packages (1) vi-1:070224-2

Total Download Size:   0.14 MiB
Total Installed Size:  0.28 MiB

:: Proceed with installation? [Y/n] Y
:: Retrieving packages...
 vi-1:070224-2-x86_64                      148.0 KiB  1850K/s 00:00 [#####################################] 100%
(1/1) checking keys in keyring                                      [#####################################] 100%
(1/1) checking package integrity                                    [#####################################] 100%
(1/1) loading package files                                         [#####################################] 100%
(1/1) checking for file conflicts                                   [#####################################] 100%
(1/1) checking available disk space                                 [#####################################] 100%
:: Processing package changes...
(1/1) installing vi                                                 [#####################################] 100%
Optional dependencies for vi
    s-nail: used by the preserve command for notification [installed]


Command:

 $ sudo pacman -S vim


Result:

resolving dependencies...
looking for conflicting packages...

Packages (2) vim-runtime-8.0.0055-1  vim-8.0.0055-1

Total Download Size:    6.35 MiB
Total Installed Size:  29.23 MiB

:: Proceed with installation? [Y/n] Y
:: Retrieving packages...
 vim-runtime-8.0.0055-1-x86_64               5.1 MiB  2.65M/s 00:02 [#####################################] 100%
 vim-8.0.0055-1-x86_64                    1239.7 KiB  3.00M/s 00:00 [#####################################] 100%
(2/2) checking keys in keyring                                      [#####################################] 100%
(2/2) checking package integrity                                    [#####################################] 100%
(2/2) loading package files                                         [#####################################] 100%
(2/2) checking for file conflicts                                   [#####################################] 100%
(2/2) checking available disk space                                 [#####################################] 100%
:: Processing package changes...
(1/2) installing vim-runtime                                        [#####################################] 100%
(2/2) installing vim                                                [#####################################] 100%
Optional dependencies for vim
    python2: Python 2 language support [installed]
    python: Python 3 language support [installed]
    ruby: Ruby language support
    lua: Lua language support [installed]
    perl: Perl language support [installed]
    tcl: Tcl language support [installed]

Tuesday, September 13, 2016

Ubuntu: Vim and vi's True Identity

Command:

$ ls -l /usr/bin/vim


Result:

lrwxrwxrwx 1 root root 21 May 15 13:42 /usr/bin/vim -> /etc/alternatives/vim


Command:

$ ls -l /usr/bin/vi


Result:

lrwxrwxrwx 1 root root 20 May 15 13:37 /usr/bin/vi -> /etc/alternatives/vi


Command:

$ ls -l /etc/alternatives/vim


Result:

lrwxrwxrwx 1 root root 18 May 15 13:42 /etc/alternatives/vim -> /usr/bin/vim.basic


Command:

$ ls -l /etc/alternatives/vi


Result:

lrwxrwxrwx 1 root root 18 May 15 13:42 /etc/alternatives/vi -> /usr/bin/vim.basic