<?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>compilation Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/compilation/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Wed, 18 Aug 2021 20:07:31 +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>Install GIT on Debian 11 / 10</title>
		<link>https://www.osradar.com/install-git-on-debian/</link>
					<comments>https://www.osradar.com/install-git-on-debian/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Mon, 23 Aug 2021 23:14:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[Buster]]></category>
		<category><![CDATA[compilation]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=12871</guid>

					<description><![CDATA[<p>Software development is one of the activities that can best be done on a Linux system. In the first place, because it is stable and because the main tools for development are available with few commands. We are talking about both professional and community-level tools. They are all installable on Linux. One of these tools [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-git-on-debian/">Install GIT on Debian 11 / 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>Software development is one of the activities that can best be done on a Linux system. In the first place, because it is stable and because the main tools for development are available with few commands. We are talking about both professional and community-level tools. They are all installable on Linux. One of these tools is GIT which is used to control the versions of an application. So, in this post, you will learn how to install Git on Debian 11 / 10. We will even give you two options to realize the goal.</p>
<h2>So, Git?</h2>
<p>If you are starting to develop applications you may not know that <a href="https://git-scm.com" rel="noopener noreferrer">Git</a> is a free, open-source version control system and that it is perhaps the best. Many developers rely on it to control the versions of their applications. By versions, we mean those in development.</p>
<p>Using Git you can control and separate development in each of those development branches. So the changes of one do not affect the others.</p>
<p>Read <a href="https://www.osradar.com/introduction-to-the-git-branches/" rel="noopener noreferrer">Introduction to the Git branches</a>.</p>
<p>In this way, it is good practice to develop applications using a version control system as support.</p>
<h2>Install Git on Debian 11 / 10</h2>
<p>Debian 10 is one of the few distributions that have such complete package repositories. So, presumably, there is some Git in the official repositories.</p>
<p>However, it is also a good idea, to know how to install Git differently in case we need it. This way is compiling the source code of Git and get the latest stable version. In this tutorial, I will teach you how to do it both ways.</p>
<h3>1) Using the official repository on Debian 11 / 10</h3>
<p>Debian 11 / 10 include Git in the official repositories. Using this option, the installation is quite easy, and just open a terminal session and run the following command:</p>
<pre>:~$ sudo apt install git</pre>
<p>Or, if you do not have sudo, please read <a href="https://www.osradar.com/how-to-enable-sudo-on-debian-10/" rel="noopener noreferrer">How to enable sudo on Debian 11/10?</a></p>
<p>Then, you can check the installed version.</p>
<pre>:~$ git --version
git version 2.30.2</pre>
<p>Now, you can use it.</p>
<h3>2) Building the Git source code</h3>
<p>Compiling the Git source code is the best way to get the latest version. All this in a safe way because it will not be compiled by third parties.</p>
<p>The process is simple but requires a few extra steps. So let us get started.</p>
<p>First, install the necessary programs to make the compilation:</p>
<pre>:~$ sudo apt install build-essential make libssl-dev libghc-zlib-dev libcurl4-gnutls-dev libexpat1-dev gettext unzip</pre>
<figure id="attachment_12905" aria-describedby="caption-attachment-12905" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12905" src="https://www.osradar.com/wp-content/uploads/2019/08/1.jpeg" alt="1.- Install required package for the build from source code" width="1365" height="470" srcset="https://www.osradar.com/wp-content/uploads/2019/08/1.jpeg 1365w, https://www.osradar.com/wp-content/uploads/2019/08/1-300x103.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/08/1-768x264.jpeg 768w, https://www.osradar.com/wp-content/uploads/2019/08/1-1024x353.jpeg 1024w, https://www.osradar.com/wp-content/uploads/2019/08/1-696x240.jpeg 696w, https://www.osradar.com/wp-content/uploads/2019/08/1-1068x368.jpeg 1068w, https://www.osradar.com/wp-content/uploads/2019/08/1-1220x420.jpeg 1220w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-12905" class="wp-caption-text">1.- Install required a package for the build from source code</figcaption></figure>
<p>Now, we can download the source code.</p>
<pre>:~$ cd /tmp/
:~$ wget https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.33.0.tar.gz</pre>
<p>Next, decompress it and access to the folder.</p>
<pre>:~$ tar xvfz git-2.33.0.tar.gz
:~$ cd git-2.33.0</pre>
<p>Now, you can start the compilation by running the following commands:</p>
<pre>:~$ sudo make prefix=/usr/local all
:~$ sudo make prefix=/usr/local install</pre>
<figure id="attachment_12907" aria-describedby="caption-attachment-12907" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-12907 size-full" src="https://www.osradar.com/wp-content/uploads/2019/08/3.jpeg" alt="3.- Install Git on Debian 11 / 10" width="1366" height="738" srcset="https://www.osradar.com/wp-content/uploads/2019/08/3.jpeg 1366w, https://www.osradar.com/wp-content/uploads/2019/08/3-300x162.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/08/3-768x415.jpeg 768w, https://www.osradar.com/wp-content/uploads/2019/08/3-1024x553.jpeg 1024w, https://www.osradar.com/wp-content/uploads/2019/08/3-696x376.jpeg 696w, https://www.osradar.com/wp-content/uploads/2019/08/3-1068x577.jpeg 1068w, https://www.osradar.com/wp-content/uploads/2019/08/3-777x420.jpeg 777w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12907" class="wp-caption-text">3.- Install Git on Debian 11 / 10</figcaption></figure>
<p>Next, check the installed version.</p>
<pre>:~$ git --version</pre>
<p>And that is it. You can start to use Git.</p>
<h2>Conclusion</h2>
<p>Git is one of those applications that every developer must be able to manage to improve their workflow. Therefore, it is important to install it in Debian 10 and two ways have been shown to achieve this. One of them is using the package available in the official repositories and the other is compiling the source code.</p>
<p>Please share this post and join <a href="https://t.me/osradar" rel="noopener noreferrer">our Telegram channel</a>.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-git-on-debian/">Install GIT on Debian 11 / 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-git-on-debian/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Overwrite in Windows 10. A program that overwrites empty space on the disk.</title>
		<link>https://www.osradar.com/overwrite-in-windows-10-a-program-that-overwrites-empty-space-on-the-disk/</link>
					<comments>https://www.osradar.com/overwrite-in-windows-10-a-program-that-overwrites-empty-space-on-the-disk/#respond</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Fri, 18 Oct 2019 00:58:24 +0000</pubDate>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[c++]]></category>
		<category><![CDATA[compilation]]></category>
		<category><![CDATA[compiler]]></category>
		<category><![CDATA[disk]]></category>
		<category><![CDATA[overrwrite]]></category>
		<category><![CDATA[visual studio code]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=14745</guid>

					<description><![CDATA[<p>Hello, I hope you&#8217;re all right! Today we are going to talk about security. Specifically we&#8217;ll see about hard disk space. The white space inside them contains sensitive information that can be recovered later putting our security and privacy at risk. This happens because every time we erase information or even format a disk, it [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/overwrite-in-windows-10-a-program-that-overwrites-empty-space-on-the-disk/">Overwrite in Windows 10. A program that overwrites empty space on the disk.</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, I hope you&#8217;re all right! Today we are going to talk about security. Specifically we&#8217;ll see about hard disk space. The white space inside them contains sensitive information that can be recovered later putting our security and privacy at risk. This happens because every time we erase information or even format a disk, it is not completely erased, but remains potentially unaltered. In other words, the empty space on hard drives on Windows or any SO doesn&#8217;t stay that way. For that reason, the information can be retrieved later. </p>



<p>So imagine for a moment that you lose access to your hard drive. All your personal information could be exposed, even if you took the precaution of deleting it. Sounds a little scary, doesn&#8217;t it? However, they have just released a program whose main function is to overwrite the blank space you have on a hard drive. In this way, the information really remains blank, making it impossible to recover it later. In fact, the name of the program is <a rel="noreferrer noopener" aria-label="Overwrite (opens in a new tab)" href="https://ivoprogram.github.io/content/en/index.html?content=overwrite.html&amp;fbclid=IwAR1Fd9p2yO9ILS66eugwUk_Ba28JcOGwoHGltq1_iQ0YTEpwwJL0Ro0-Acw" target="_blank">Overwrite</a>. A very interesting tool. So here we show you how to install Overwrite for the empty space of the disks in Windows 10.</p>



<h2>Compiling Overwrite with Visual Studio Code</h2>



<p>Overwrite is a program written in C language, which is contained in a single file. It can be compiled on different platforms, but here we are going to compile for Windows 10. With that in mind, we are going to use Visual Studio Code. To know how to install it please check our <a rel="noreferrer noopener" aria-label="post (opens in a new tab)" href="https://www.osradar.com/how-to-install-and-configure-visual-studio-code-in-windows-10/" target="_blank">post</a>. In the same way, we&#8217;ll need a C/C++ Compiler, for this example I&#8217;m going to use MinGW. The installation process is simple, just go to this address and download the <a href="https://sourceforge.net/projects/mingw/files/">installer</a>.</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/over-1024x728.jpg" alt="Download MinGW for Windows " class="wp-image-14747" srcset="https://www.osradar.com/wp-content/uploads/2019/10/over.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/10/over-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/10/over-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/10/over-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/10/over-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/10/over-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Download MinGW for Windows </figcaption></figure>



<p>Then double click on the installer. When the wizard starts, select all the options for a basic installation. Next, wait for the wizard to download all the necessary files and proceed to install them. This will take a few minutes, depending on your internet connection.</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/over2-1024x728.jpg" alt="Installing MinGW for Windows" class="wp-image-14749" srcset="https://www.osradar.com/wp-content/uploads/2019/10/over2.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/10/over2-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/10/over2-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/10/over2-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/10/over2-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/10/over2-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Installing MinGW for Windows</figcaption></figure>



<h2>Add MinGW to the environment variables.</h2>



<p>Next, we&#8217;ll add the compiler to the Windows environment variables. This is very important because it will allow you to compile from any CMD without going to the address of the program. Also, the Run Code extension of the editor uses the command prompt of Windows to run the compiler. To find out how to do this, I invite you to check out our post about <a rel="noreferrer noopener" aria-label="Wget (opens in a new tab)" href="https://www.osradar.com/how-to-install-wget-in-windows-10/" target="_blank">Wget</a> in Windows 10. Here I simply show you the already added variable:</p>



<figure class="wp-block-image"><img loading="lazy" width="526" height="500" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/over3.jpg" alt="Adding MinGW environment variable" class="wp-image-14751" srcset="https://www.osradar.com/wp-content/uploads/2019/10/over3.jpg 526w, https://www.osradar.com/wp-content/uploads/2019/10/over3-300x285.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/10/over3-442x420.jpg 442w" sizes="(max-width: 526px) 100vw, 526px" /><figcaption>Adding MinGW environment variable</figcaption></figure>



<p>to check that everything has been installed correctly, please press the &#8220;Win+R&#8221; combination, and run CMD to open a Command Pro.</p>



<figure class="wp-block-image"><img loading="lazy" width="402" height="210" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/over4.jpg" alt="Run a cmd" class="wp-image-14753" srcset="https://www.osradar.com/wp-content/uploads/2019/10/over4.jpg 402w, https://www.osradar.com/wp-content/uploads/2019/10/over4-300x157.jpg 300w" sizes="(max-width: 402px) 100vw, 402px" /><figcaption>Run a cmd</figcaption></figure>



<p>In the command prompt please type the following command:</p>



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



<figure class="wp-block-image"><img loading="lazy" width="979" height="512" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/over5.jpg" alt="Running MinGW compiler" class="wp-image-14754" srcset="https://www.osradar.com/wp-content/uploads/2019/10/over5.jpg 979w, https://www.osradar.com/wp-content/uploads/2019/10/over5-300x157.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/10/over5-768x402.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/10/over5-696x364.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/10/over5-803x420.jpg 803w" sizes="(max-width: 979px) 100vw, 979px" /><figcaption>Running MinGW compiler</figcaption></figure>



<p>If running the command throws the error that there are no input files, then we are ready to move on. </p>



<h2>Install the extensions in Visual Studio Code.</h2>



<p>Now we need to add the necessary extensions to compile in C in Visual Studio Code. With this in mind, open the program. And in the Marketplace write C++ and Code Runner, and proceed to download and install them.</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/over7-1-1024x728.jpg" alt="Adding the necessary extensions" class="wp-image-14756" srcset="https://www.osradar.com/wp-content/uploads/2019/10/over7-1.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/10/over7-1-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/10/over7-1-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/10/over7-1-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/10/over7-1-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/10/over7-1-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Adding the necessary extensions</figcaption></figure>



<p>All right, we&#8217;re ready to compile the program. The first thing we need to do is to download the package from <a href="https://github.com/ivoprogram/overwrite" target="_blank" rel="noreferrer noopener" aria-label="here (opens in a new tab)">here</a></p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/over8-1024x728.jpg" alt="Download Overwrite program" class="wp-image-14757" srcset="https://www.osradar.com/wp-content/uploads/2019/10/over8.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/10/over8-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/10/over8-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/10/over8-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/10/over8-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/10/over8-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Download Overwrite program</figcaption></figure>



<p>Once downloaded, please remember the location of the download and open Visual Studio Code. Once there, in the left column in Explore, locate the folder where you downloaded the program and click on overwrite.c. Then on the menu on the right press Run.</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="728" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/over6-1024x728.jpg" alt="Overwrite finally compiled" class="wp-image-14758" srcset="https://www.osradar.com/wp-content/uploads/2019/10/over6.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/10/over6-300x213.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/10/over6-768x546.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/10/over6-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/10/over6-696x495.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/10/over6-591x420.jpg 591w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Overwrite finally compiled</figcaption></figure>



<h2>Testing Overwrite</h2>



<p>Finally, we have compiled Overwrite, as you can see in the previous screen, there is already an executable file for windows. However, this program does not have a graphical interface but must be executed in a CMD. In addition, it is necessary to open a Command Prompt at the location of the program. To avoid this complication, we will add the environment variable.</p>



<figure class="wp-block-image"><img loading="lazy" width="527" height="501" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/over9.jpg" alt="Adding environment variable" class="wp-image-14759" srcset="https://www.osradar.com/wp-content/uploads/2019/10/over9.jpg 527w, https://www.osradar.com/wp-content/uploads/2019/10/over9-300x285.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/10/over9-442x420.jpg 442w" sizes="(max-width: 527px) 100vw, 527px" /><figcaption>Adding environment variable</figcaption></figure>



<p>Uses of Overwrite</p>



<pre class="wp-block-preformatted">overwrite [-h -v -test -one -rand -block:] (-files: &amp;| -data:) -path: 
-h             Print help and usage message. 
-v             Print program version. 
-test          For test, don't delete written files. 
-one           Overwrite with 1, default with 0. 
-rand          Overwrite with random data, default with 0. 
-block         Block size, default 4096 bytes as NTFS and EXT4. 
-files         Number of files to write, block size each. 
-data          Quantity of data to write, ex: 1mb, 1gb, all. 
-path          Path to directory where to write data. </pre>



<p>Let&#8217;s use a practical example. Write 10 files and 10Mb data, on Windows C drive.</p>



<pre class="wp-block-preformatted"> overwrite -files:10 -data:10mb -path:c:\ </pre>



<figure class="wp-block-image"><img loading="lazy" width="979" height="512" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/over10.jpg" alt="Running Overwrite in Windows 10" class="wp-image-14760" srcset="https://www.osradar.com/wp-content/uploads/2019/10/over10.jpg 979w, https://www.osradar.com/wp-content/uploads/2019/10/over10-300x157.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/10/over10-768x402.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/10/over10-696x364.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/10/over10-803x420.jpg 803w" sizes="(max-width: 979px) 100vw, 979px" /><figcaption>Running Overwrite in Windows 10</figcaption></figure>



<p>Obviously, there are several commands we can use to run the tool. Very well, we have learned how to install Overwrite for the empty space of the disks in Windows 10. And also, we have seen how to compile C in Visual Studio Code. I hope you enjoyed this tutorial as much as I did. See you next time.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/overwrite-in-windows-10-a-program-that-overwrites-empty-space-on-the-disk/">Overwrite in Windows 10. A program that overwrites empty space on the disk.</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/overwrite-in-windows-10-a-program-that-overwrites-empty-space-on-the-disk/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
