<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>vim Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/vim/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Wed, 28 Apr 2021 15:57:15 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How to install the latest version of Vim on Ubuntu 20.04 / Debian 10?</title>
		<link>https://www.osradar.com/install-latest-version-vim/</link>
					<comments>https://www.osradar.com/install-latest-version-vim/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Sat, 01 May 2021 02:46:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Buster]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[focal]]></category>
		<category><![CDATA[Focal Fossa]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[latest version]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[vim]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=28564</guid>

					<description><![CDATA[<p>Hello, friends. Vim is an application quite used by many, but it is not so easy to have the latest stable version in our system. However, today I will help you with that. After reading this post, you will learn how to install the latest version of Vim on Ubuntu 20.04 / Debian 10. According [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-latest-version-vim/">How to install the latest version of Vim on Ubuntu 20.04 / Debian 10?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hello, friends. Vim is an application quite used by many, but it is not so easy to have the latest stable version in our system. However, today I will help you with that. After reading this post, you will learn how to install the latest version of Vim on Ubuntu 20.04 / Debian 10.</p>



<p>According to the <a href="https://www.vim.org/" target="_blank" rel="noreferrer noopener">project website</a>:</p>



<blockquote class="wp-block-quote"><p>Vim is a highly configurable text editor built to make creating and changing any kind of text very efficient. It is included as “vi” with most UNIX systems and with Apple OS X.</p></blockquote>



<p>Vim is rock stable and is continuously being developed to become even better. Among its features are:</p>



<ul><li>Persistent, multi-level undo tree.</li><li>Extensive plugin system.</li><li>Support for hundreds of programming languages and file formats</li><li>Powerful search and replace</li><li>Integrates with many tools</li></ul>



<p>So we can say that Vim is an improved version of the mythical text editor Vi. This makes it very popular among sysadmin and even developers.</p>



<h2 id="install-the-latest-version-of-vim"><a href="#install-the-latest-version-of-vim" name="install-the-latest-version-of-vim"></a>Install the Latest version of Vim</h2>



<p>The best way to get the latest version of Vim is to compile it from the source code. It is lightweight, does not have many dependencies, and is more secure. So this is the way we will do it.</p>



<p>So, open a terminal or start an <a href="https://www.osradar.com/install-snowflake-ssh-client-ubuntu-20-04/" target="_blank" rel="noreferrer noopener">SSH session</a> and run it:</p>



<pre class="wp-block-preformatted">sudo apt update
sudo apt upgrade</pre>



<p>With the system upgrade, we can then install the <code>build-essential</code> package which contains the package compilation tools.</p>



<pre class="wp-block-preformatted">sudo apt install build-essential</pre>



<p>Then create a folder where the compiler package will be. I have chosen this path:</p>



<pre class="wp-block-preformatted">mkdir -p /home/angelo/vim</pre>



<p>But you can change it to whatever you want.</p>



<p>Then, download the packages needed to perform the compilation:</p>



<pre class="wp-block-preformatted">sudo apt install ncurses-dev unzip
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'libncurses-dev' instead of 'ncurses-dev'
The following additional packages will be installed:
  libc-dev-bin libc6-dev linux-libc-dev
Suggested packages:
  glibc-doc manpages-dev ncurses-doc zip
Recommended packages:
  manpages-dev
The following NEW packages will be installed:
  libc-dev-bin libc6-dev libncurses-dev linux-libc-dev unzip
0 upgraded, 5 newly installed, 0 to remove and 36 not upgraded.
Need to get 4,902 kB of archives.
After this operation, 28.0 MB of additional disk space will be used.
Do you want to continue? [Y/n]</pre>



<p>After that, download the Vim source code using the <code>wget</code> command.</p>



<pre class="wp-block-preformatted">wget https://github.com/vim/vim/archive/master.zip
--2021-02-15 17:54:39--  https://github.com/vim/vim/archive/master.zip
Resolving github.com (github.com)... 140.82.121.3
Connecting to github.com (github.com)|140.82.121.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/vim/vim/zip/master [following]
--2021-02-15 17:54:39--  https://codeload.github.com/vim/vim/zip/master
Resolving codeload.github.com (codeload.github.com)... 140.82.121.9
Connecting to codeload.github.com (codeload.github.com)|140.82.121.9|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘master.zip’

master.zip                                     [              &lt;=&gt;                                                                     ]  16.13M  5.85MB/s    in 2.8s    

2021-02-15 17:54:42 (5.85 MB/s) - ‘master.zip’ saved [16910770]
</pre>



<p>Now decompress it using the command <code>unzip</code></p>



<pre class="wp-block-preformatted">unzip master.zip</pre>



<p>Access the <code>src</code> folder inside the generated folder</p>



<pre class="wp-block-preformatted">cd vim-master/src</pre>



<p>And start the compilation configuration taking as the path the folder we have created.</p>



<pre class="wp-block-preformatted">./configure --prefix=/home/angelo/vim</pre>



<p>My recommendation, always when compiling a package from source code, <strong>I do it in a location that does not require root privileges</strong> and that I can manage. This way if <strong>we want to uninstall it, we would only delete the folder where the compilation was configured.</strong></p>



<p>Create the package:</p>



<pre class="wp-block-preformatted">make</pre>



<p>And finally, do the installation:</p>



<pre class="wp-block-preformatted">make install</pre>



<p>To test the results, you can access the <code>bin</code> folder that has been created in the package creation path.</p>



<pre class="wp-block-preformatted">cd /home/angelo/vim/bin</pre>



<p>There you will find the freshly compiled binary that you can start using. For example, I will show the compiled version.</p>



<pre class="wp-block-preformatted">./vim --version
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Apr 26 2021 23:50:58)
 Included patches: 1-2814
 Compiled by angelo@osradar
 Huge version without GUI.  Features included (+) or not (-):</pre>



<p>Output:</p>



<p>And that is it. Enjoy the latest version of Vim.</p>



<h2 id="conclusion"><a href="#conclusion" name="conclusion"></a>Conclusion</h2>



<p>Having the latest stable version of a program gives us access to improvements and new features as well as bug fixes. Today I have shown you how to get the latest version of Vim quickly and easily.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-latest-version-vim/">How to install the latest version of Vim on Ubuntu 20.04 / Debian 10?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/install-latest-version-vim/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Install &#038; Use Vim Text Editor on Windows</title>
		<link>https://www.osradar.com/how-to-install-use-vim-text-editor-on-windows/</link>
					<comments>https://www.osradar.com/how-to-install-use-vim-text-editor-on-windows/#respond</comments>
		
		<dc:creator><![CDATA[Mel]]></dc:creator>
		<pubDate>Wed, 25 Apr 2018 15:15:04 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[install vim]]></category>
		<category><![CDATA[install vim on windows]]></category>
		<category><![CDATA[vim]]></category>
		<category><![CDATA[vim on windows]]></category>
		<category><![CDATA[vim windows]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=2726</guid>

					<description><![CDATA[<p>In the world of programming, IDEs (Integrated Development Environments) have surrounded the developers of the world for quite a long time. Although they offer some really nice features, the necessity of a text editor has never been decreased even the slightest bit. Some bare-bones text editor like Vi/Vim is still going strong with the support [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-use-vim-text-editor-on-windows/">How to Install &#038; Use Vim Text Editor on Windows</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>In the world of programming, IDEs (Integrated Development Environments) have surrounded the developers of the world for quite a long time. Although they offer some really nice features, the necessity of a text editor has never been decreased even the slightest bit. Some bare-bones text editor like Vi/Vim is still going strong with the support of the community and the awesome &amp; powerful features.</p>
<p>If you’re one of the text editor pro or willing to test them out, it’s the perfect chance for grabbing the software on your Windows! Windows is the largest platform in case of desktop and Vim is available for all the major Windows releases (7, 8, 8.1 and 10).</p>
<h3>Installing Vim Editor</h3>
<p>Most of the developers in the world are afraid of Vim. Of course, Vim is one of the hardest ones in the world but also packed with serious power. Once you’ve overcome the fear, there’s no one stopping you from making Vim your everyday friend. Vim was first introduced to the UNIX system as Vi.</p>
<p>Thanks to the devs, Vim is also available for Windows. <a href="https://www.vim.org/download.php#pc">Head to the Vim download page</a>. Then, download the Vim installer for Windows. I’ll be downloading the <a href="https://github.com/vim/vim-win32-installer/releases">Vim 32-bit installer</a>. It offers the best compatibility and system compatibility.</p>
<p><img loading="lazy" class="size-full wp-image-2729 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/04/vim-installation-windows.jpg" alt="" width="446" height="315" srcset="https://www.osradar.com/wp-content/uploads/2018/04/vim-installation-windows.jpg 446w, https://www.osradar.com/wp-content/uploads/2018/04/vim-installation-windows-300x212.jpg 300w, https://www.osradar.com/wp-content/uploads/2018/04/vim-installation-windows-100x70.jpg 100w" sizes="(max-width: 446px) 100vw, 446px" /></p>
<p><img loading="lazy" class=" wp-image-2730 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/04/vim-installation-windows-1.jpg" alt="" width="450" height="315" srcset="https://www.osradar.com/wp-content/uploads/2018/04/vim-installation-windows-1.jpg 443w, https://www.osradar.com/wp-content/uploads/2018/04/vim-installation-windows-1-300x210.jpg 300w, https://www.osradar.com/wp-content/uploads/2018/04/vim-installation-windows-1-100x70.jpg 100w" sizes="(max-width: 450px) 100vw, 450px" /></p>
<p>Once the installation is complete, you can start Vim from the Command Prompt. Run this command in the Command Prompt:</p>
<pre>vim</pre>
<h3><img loading="lazy" class="size-full wp-image-2728 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/04/vim-on-windows.png" alt="" width="600" height="326" srcset="https://www.osradar.com/wp-content/uploads/2018/04/vim-on-windows.png 600w, https://www.osradar.com/wp-content/uploads/2018/04/vim-on-windows-300x163.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></h3>
<h3>Learning Vim</h3>
<p>Vim is quite difficult, but not invincible. With proper guideline and documentation, you can easily master this difficult piece of software. For starting the tutorial, head to <a href="https://www.vim.org/docs.php">the official Vim documentation</a>. For a quick help, run “:help” inside Vim.</p>
<p><img loading="lazy" class="size-full wp-image-2731 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/04/vim-help-option.png" alt="" width="528" height="394" srcset="https://www.osradar.com/wp-content/uploads/2018/04/vim-help-option.png 528w, https://www.osradar.com/wp-content/uploads/2018/04/vim-help-option-300x224.png 300w, https://www.osradar.com/wp-content/uploads/2018/04/vim-help-option-80x60.png 80w, https://www.osradar.com/wp-content/uploads/2018/04/vim-help-option-265x198.png 265w" sizes="(max-width: 528px) 100vw, 528px" /></p>
<p>Note that Vim may be detected as a malware. Ignore the message as it’s a false warning. Enjoy the most powerful text editor on the most popular platform!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-use-vim-text-editor-on-windows/">How to Install &#038; Use Vim Text Editor on Windows</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-install-use-vim-text-editor-on-windows/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
