<?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>latest version Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/latest-version/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Mon, 24 May 2021 21:50:38 +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 GIT on Fedora 34 / 33?</title>
		<link>https://www.osradar.com/install-the-latest-version-git-fedora/</link>
					<comments>https://www.osradar.com/install-the-latest-version-git-fedora/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Wed, 26 May 2021 22:12:00 +0000</pubDate>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[fedora 31]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[latest version]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=15741</guid>

					<description><![CDATA[<p>In this short post, you will learn how to install the latest version of Git on Fedora 34 step by step. As time goes by, the versions of the programs that come in the repositories of the Linux distributions become old. Similarly, program developers often release new versions with new features or bug fixes and [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-the-latest-version-git-fedora/">How to install the latest version of GIT on Fedora 34 / 33?</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 this short post,<strong> you will learn how to install the latest version of Git on <a href="https://www.osradar.com/from-fedora-33-fedora-34/" target="_blank" rel="noreferrer noopener">Fedora 34</a> step by step</strong>.</p>



<p>As time goes by, the versions of the programs that come in the repositories of the Linux distributions become old. Similarly, program developers often release new versions with new features or bug fixes and we miss them.</p>



<p><a href="https://git-scm.com/">Git</a> is a program with quite active development and that requires to be always updated to have news and security fixes. So it is better to do it. And the best way to do it is to compile the source code of the application yourself.</p>



<p>Let us get started.</p>



<h2>Installing the latest version of GIT on Fedora 34/33?</h2>



<p>A great way to get the latest stable version of any open source program is to compile the source code. Don&#8217;t be frightened by the word compile, in fact it&#8217;s pretty easy to do.</p>



<p>Open a terminal session and install the necessary libraries to compile GIT. Some are SSL, CURL, ZLIB and others.</p>



<pre class="wp-block-preformatted">:~$ sudo dnf install curl-devel expat-devel gettext-devel openssl-devel zlib-devel</pre>



<figure class="wp-block-image alignnone size-large size-full wp-image-15866"><img loading="lazy" width="1024" height="460" src="https://www.osradar.com/wp-content/uploads/2021/04/1_1-1024x460.png" alt="1.- Installing some required packages" class="wp-image-30282" srcset="https://www.osradar.com/wp-content/uploads/2021/04/1_1-1024x460.png 1024w, https://www.osradar.com/wp-content/uploads/2021/04/1_1-300x135.png 300w, https://www.osradar.com/wp-content/uploads/2021/04/1_1-768x345.png 768w, https://www.osradar.com/wp-content/uploads/2021/04/1_1-696x313.png 696w, https://www.osradar.com/wp-content/uploads/2021/04/1_1-1068x480.png 1068w, https://www.osradar.com/wp-content/uploads/2021/04/1_1.png 1365w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>1.- Installing some required packages</figcaption></figure>



<p>In a normal Fedora 33 installation the basic compiling tools are not incorporated. These tools are necessary to comply with our tutorial. To install them, run the following command:</p>



<pre class="wp-block-preformatted">:~$ sudo dnf groupinstall "Development Tools"</pre>



<figure class="wp-block-image alignnone size-large wp-image-15867 size-full"><img loading="lazy" width="1024" height="536" src="https://www.osradar.com/wp-content/uploads/2021/04/2_2-1024x536.png" alt="2.- Installing the development tools" class="wp-image-30283" srcset="https://www.osradar.com/wp-content/uploads/2021/04/2_2-1024x536.png 1024w, https://www.osradar.com/wp-content/uploads/2021/04/2_2-300x157.png 300w, https://www.osradar.com/wp-content/uploads/2021/04/2_2-768x402.png 768w, https://www.osradar.com/wp-content/uploads/2021/04/2_2-696x364.png 696w, https://www.osradar.com/wp-content/uploads/2021/04/2_2-1068x559.png 1068w, https://www.osradar.com/wp-content/uploads/2021/04/2_2.png 1365w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>2.- Installing the development tools</figcaption></figure>



<p>We will now proceed to download the GIT source code using wget. So make sure you have it installed:</p>



<pre class="wp-block-preformatted">:~$ sudo dnf install wget</pre>



<p>And then download the GIT source code. At the time of this tutorial, the most recent version is 2.31.1. But surely in the future, it will change.</p>



<pre class="wp-block-preformatted">:~$ wget https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.31.1.tar.gz</pre>



<p>Then, unzip the file using tar.</p>



<pre class="wp-block-preformatted">:~$ tar -zxf git-2.31.1.tar.gz</pre>



<pre class="wp-block-preformatted">A folder named git-2.31.1 will be created. Access it and start the process.

:~$ cd git-2.31.1
:~$ make prefix=/usr/local all</pre>



<p>Finally, install it.</p>



<pre class="wp-block-preformatted">:~$ sudo make prefix=/usr/local install</pre>



<p>So, that is it. Just use GIT and check the installed version.</p>



<pre class="wp-block-preformatted">:~$ git --version
git version 2.31.1</pre>



<h2>Conclusion</h2>



<p>GIT is a basic application for a developer and getting the latest stable version is a great help to enjoy this tool to the fullest. Let&#8217;s think that this trial will become more valid when recent versions start to come out and the version of the official repositories becomes obsolete.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-the-latest-version-git-fedora/">How to install the latest version of GIT on Fedora 34 / 33?</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-the-latest-version-git-fedora/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<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>
	</channel>
</rss>
