How to Install and Uninstall vim Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: April 28,2024

1. Install "vim" package

Please follow the steps below to install vim on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install vim

2. Uninstall "vim" package

Please follow the guidance below to uninstall vim on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove vim $ sudo apt autoclean && sudo apt autoremove

3. Information about the vim package on Ubuntu 20.04 LTS (Focal Fossa)

Package: vim
Architecture: amd64
Version: 2:8.1.2269-1ubuntu5.21
Priority: optional
Section: editors
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Vim Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 3048
Provides: editor
Depends: vim-common (= 2:8.1.2269-1ubuntu5.21), vim-runtime (= 2:8.1.2269-1ubuntu5.21), libacl1 (>= 2.2.23), libc6 (>= 2.29), libcanberra0 (>= 0.2), libgpm2 (>= 1.20.7), libpython3.8 (>= 3.8.2), libselinux1 (>= 1.32), libtinfo6 (>= 6)
Suggests: ctags, vim-doc, vim-scripts
Filename: pool/main/v/vim/vim_8.1.2269-1ubuntu5.21_amd64.deb
Size: 1242692
MD5sum: 3ff2a74c5791bbedc1b848d945922863
SHA1: dffeb5ee6468a6171e54c3bd63a053d0fa350340
SHA256: 4d9eb09d1d3f7c6f2e58b3b3b0860d80393cef8589ab63be9b8078cabc51627a
SHA512: 61cdf40f41d5c4a76eafe50b94e7add6c678ade0a3b2b882e6f48e89888355be8346a16dea59962b47385d03ff7b4c13b90cce06c4a79cd99f3f394d8fdff284
Homepage: https://www.vim.org/
Description: Vi IMproved - enhanced vi editor
Description-md5: 59e8b8f7757db8b53566d5d119872de8
Task: server, cloud-image, lubuntu-desktop

Package: vim
Architecture: amd64
Version: 2:8.1.2269-1ubuntu5
Priority: optional
Section: editors
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Vim Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 3038
Provides: editor
Depends: vim-common (= 2:8.1.2269-1ubuntu5), vim-runtime (= 2:8.1.2269-1ubuntu5), libacl1 (>= 2.2.23), libc6 (>= 2.29), libcanberra0 (>= 0.2), libgpm2 (>= 1.20.7), libpython3.8 (>= 3.8.2), libselinux1 (>= 1.32), libtinfo6 (>= 6)
Suggests: ctags, vim-doc, vim-scripts
Filename: pool/main/v/vim/vim_8.1.2269-1ubuntu5_amd64.deb
Size: 1237624
MD5sum: 198ccbb07a9fc8ebe67a213eab6a3e96
SHA1: 796c962d044f99a81b187211e6ce9a0a44b8d5d1
SHA256: 1e38f267bf4c06e424b166e8d666ffd6ce25c657012892d099651bee18a2c834
Homepage: https://www.vim.org/
Description: Vi IMproved - enhanced vi editor
Description-md5: 59e8b8f7757db8b53566d5d119872de8
Task: server, cloud-image, lubuntu-desktop