{"id":2548,"date":"2012-05-12T08:58:59","date_gmt":"2012-05-12T00:58:59","guid":{"rendered":"https:\/\/webhostinggeeks.com\/howto\/?p=2548"},"modified":"2023-04-28T09:49:17","modified_gmt":"2023-04-28T09:49:17","slug":"how-to-install-vim-on-fedora-16","status":"publish","type":"post","link":"https:\/\/webhostinggeeks.com\/howto\/how-to-install-vim-on-fedora-16\/","title":{"rendered":"How to Install Vim on Fedora 16"},"content":{"rendered":"<p>Vim is a text editor that is upwards compatible to Vi. Vim can be used to edit all kinds of plain text. It is especially useful for editing programs. In this post, i will show how to install vim on linux Fedora 16 server. This steps has been tested on Fedora 16, it may working on other linux distribution as well.<\/p>\n<p>If your Fedora 16 does not have vim installed, you&#8217;ill get the following error :<\/p>\n<pre>\n[root@fedora16 ~]# vim \/etc\/httpd\/conf\/httpd.conf\n-bash: vim: command not found\n<\/pre>\n<p>To install vim on your Fedora 16, simply run the following command :<\/p>\n<pre>\n[root@fedora16 ~]# yum install vim -y\n<\/pre>\n<p>or<\/p>\n<pre>\n[root@fedora16 ~]# yum install vim-enhanced -y\n<\/pre>\n<pre>\n[root@fedora16 ~]# yum install vim -y\nSetting up Install Process\nResolving Dependencies\n--> Running transaction check\n---> Package vim-enhanced.i686 2:7.3.315-1.fc16 will be installed\n--> Processing Dependency: vim-common = 2:7.3.315-1.fc16 for package: 2:vim-enhanced-7.3.315-1.fc16.i686\n--> Processing Dependency: libgpm.so.2 for package: 2:vim-enhanced-7.3.315-1.fc16.i686\n--> Processing Dependency: libruby.so.1.8 for package: 2:vim-enhanced-7.3.315-1.fc16.i686\n--> Running transaction check\n---> Package gpm-libs.i686 0:1.20.6-21.fc16 will be installed\n---> Package ruby-libs.i686 0:1.8.7.357-1.fc16 will be installed\n--> Processing Dependency: libreadline.so.5 for package: ruby-libs-1.8.7.357-1.fc16.i686\n---> Package vim-common.i686 2:7.3.315-1.fc16 will be installed\n--> Processing Dependency: vim-filesystem for package: 2:vim-common-7.3.315-1.fc16.i686\n--> Running transaction check\n---> Package compat-readline5.i686 0:5.2-18.fc15 will be installed\n---> Package vim-filesystem.i686 2:7.3.315-1.fc16 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n====================================================================================================\n Package                  Arch         Version                    Repository                   Size\n====================================================================================================\nInstalling:\n vim-enhanced             i686         2:7.3.315-1.fc16           Fedora16-Repository         889 k\nInstalling for dependencies:\n compat-readline5         i686         5.2-18.fc15                Fedora16-Repository         126 k\n gpm-libs                 i686         1.20.6-21.fc16             updates                      29 k\n ruby-libs                i686         1.8.7.357-1.fc16           updates                     1.8 M\n vim-common               i686         2:7.3.315-1.fc16           Fedora16-Repository         5.4 M\n vim-filesystem           i686         2:7.3.315-1.fc16           Fedora16-Repository          14 k\n\nTransaction Summary\n====================================================================================================\nInstall       6 Packages\n\nTotal download size: 8.3 M\nInstalled size: 27 M\nDownloading Packages:\n(2\/6): gpm-libs-1.20.6-21.fc16.i686.rpm                                      |  29 kB     00:00\n(3\/6): ruby-libs-1.8.7.357-1.fc16.i686.rpm                                   | 1.8 MB     00:22\n----------------------------------------------------------------------------------------------------\nTotal                                                               349 kB\/s | 8.3 MB     00:24\nRunning Transaction Check\nRunning Transaction Test\nTransaction Test Succeeded\nRunning Transaction\n  Installing : 2:vim-filesystem-7.3.315-1.fc16.i686                                             1\/6\n  Installing : 2:vim-common-7.3.315-1.fc16.i686                                                 2\/6\n  Installing : gpm-libs-1.20.6-21.fc16.i686                                                     3\/6\n  Installing : compat-readline5-5.2-18.fc15.i686                                                4\/6\n  Installing : ruby-libs-1.8.7.357-1.fc16.i686                                                  5\/6\n  Installing : 2:vim-enhanced-7.3.315-1.fc16.i686                                               6\/6\n\nInstalled:\n  vim-enhanced.i686 2:7.3.315-1.fc16\n\nDependency Installed:\n  compat-readline5.i686 0:5.2-18.fc15                gpm-libs.i686 0:1.20.6-21.fc16\n  ruby-libs.i686 0:1.8.7.357-1.fc16                  vim-common.i686 2:7.3.315-1.fc16\n  vim-filesystem.i686 2:7.3.315-1.fc16\n\nComplete!\n<\/pre>\n<p>To start using vim editor instead of vi as below :<\/p>\n<pre>\n[root@fedora16 ~]# vim \/etc\/httpd\/conf\/httpd.conf\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Vim is a text editor that is upwards compatible to Vi. Vim can be used to edit all kinds of plain text. It is especially useful for editing programs. In&#8230;<\/p>\n","protected":false},"author":6,"featured_media":2351,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"wds_primary_category":0,"footnotes":""},"categories":[2057],"tags":[1371,1536,1546,1884],"class_list":["post-2548","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-fedora","tag-fedora-16","tag-linux","tag-linux-utilities","tag-vim"],"_links":{"self":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/2548","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/comments?post=2548"}],"version-history":[{"count":0,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/2548\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media\/2351"}],"wp:attachment":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media?parent=2548"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/categories?post=2548"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/tags?post=2548"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}