<?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>howto Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/howto/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Sun, 03 Oct 2021 23:51:53 +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 Laravel on Debian 11?</title>
		<link>https://www.osradar.com/how-to-install-laravel-debian-11/</link>
					<comments>https://www.osradar.com/how-to-install-laravel-debian-11/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Fri, 08 Oct 2021 23:51:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[bullseye]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Laravel]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=32502</guid>

					<description><![CDATA[<p>Hello, friends. In this post, you will learn how to install Laravel on Debian 11. This powerful PHP framework is one of the most popular and innovative ones out there, that’s why you should know how to install it and get it ready for the start of your project. What is Laravel? Laravel is one [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-laravel-debian-11/">How to install Laravel on Debian 11?</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. In this post, you will learn how to install Laravel on Debian 11. This powerful PHP framework is one of the most popular and innovative ones out there, that’s why you should know how to install it and get it ready for the start of your project.</p>



<h2 id="what-is-laravel">What is Laravel?</h2>



<p><a href="https://laravel.com/" target="_blank" rel="noreferrer noopener">Laravel </a>is one of the easiest open-source frameworks for PHP to assimilate. One of its advantages is that it has a much easier learning curve than other web and application development tools. It was created in 2011 and is heavily influenced by frameworks such as Ruby on Rails, Sinatra, and ASP.NET MVC.</p>



<p>With Laravel, we will have available other tools that together make up the power of Laravel.</p>



<ul><li>Blade: A powerful template manager where we can manage PHP variables directly in the view.</li><li>Eloquent: Laravel’s database system, for writing and retrieving data. So we don’t have to work directly with SQL code.</li><li>Routing: LAravel has its own routing system that helps us to set up the routing of our pages with GET or POST methods.</li></ul>



<p>Besides this, Laravel is one of the best-documented frameworks that exist and with an active community willing to give support to the newbie.</p>



<p>So, let’s get started.</p>



<h2 id="install-laravel-on-debian-11">Install Laravel on Debian 11</h2>



<h3 id="installing-the-laravel-requisites">Installing the Laravel requisites</h3>



<p>First, you need to install PHP and some of its modules and the <code>unzip</code> package.</p>



<pre class="wp-block-code"><code>sudo apt install php php-bcmath php-json php-mbstring php-pdo php-tokenizer php-xml php-pear php-zip php-zip unzip
</code></pre>



<h3 id="install-php-composer-on-debian-11">Install PHP Composer on Debian 11</h3>



<p>The installation of laravel can be done without problems using PHP Composer. So we have to install it and keep it up to date.</p>



<p>For that, we invite you to read our post about it:</p>



<p><a href="https://www.osradar.com/install-php-composer-debian/" target="_blank" rel="noreferrer noopener">How to install PHP Composer on Debian 11?</a></p>



<p>Once it is installed and updated, we can follow the procedures.</p>



<h3 id="install-laravel-on-debian-11-1">Install Laravel on Debian 11</h3>



<p>Now with the help of Composer, we have to install Laravel. To do this, run the following command</p>



<pre class="wp-block-preformatted">composer create-project --prefer-dist laravel/laravel [project_name]</pre>



<p>Where the last value is where you have to specify the name of your project.</p>



<p>So, Composer will start with downloading and installing all Laravel dependencies. When finished, you will see an output screen like this</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="610" height="160" src="https://www.osradar.com/wp-content/uploads/2021/10/1-1.png" alt="1.- Installing Laravel on Debian 11" class="wp-image-32571" srcset="https://www.osradar.com/wp-content/uploads/2021/10/1-1.png 610w, https://www.osradar.com/wp-content/uploads/2021/10/1-1-300x79.png 300w" sizes="(max-width: 610px) 100vw, 610px" /><figcaption>1.- Installing Laravel on Debian 11</figcaption></figure>



<p>This will create a folder with the name of your project that we need to access.</p>



<pre class="wp-block-preformatted">cd example</pre>



<p>And there will be all our Laravel working and ready for us to start creating code.</p>



<p>If you want to check how the project is running and also if you want to verify the installation, you can run</p>



<pre class="wp-block-preformatted">php artisan serve</pre>



<p>Then open a web browser and go to <code>http://localhost:8000</code> and you’ll see an image like this</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="511" src="https://www.osradar.com/wp-content/uploads/2021/10/3-1-1024x511.png" alt="3.- Laravel on Debian 11" class="wp-image-32569" srcset="https://www.osradar.com/wp-content/uploads/2021/10/3-1-1024x511.png 1024w, https://www.osradar.com/wp-content/uploads/2021/10/3-1-300x150.png 300w, https://www.osradar.com/wp-content/uploads/2021/10/3-1-768x383.png 768w, https://www.osradar.com/wp-content/uploads/2021/10/3-1-696x347.png 696w, https://www.osradar.com/wp-content/uploads/2021/10/3-1-1068x533.png 1068w, https://www.osradar.com/wp-content/uploads/2021/10/3-1.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>3.- Laravel on Debian 11</figcaption></figure>



<p>In case Laravel has been installed on a server or another computer over the network, you can specify that it is accessible from another computer.</p>



<pre class="wp-block-preformatted">php artisan serve --host=0.0.0.0.0 --port=1234</pre>



<figure class="wp-block-image size-full"><img loading="lazy" width="808" height="156" src="https://www.osradar.com/wp-content/uploads/2021/10/2-1.png" alt="2.- Serve the Laravel project" class="wp-image-32570" srcset="https://www.osradar.com/wp-content/uploads/2021/10/2-1.png 808w, https://www.osradar.com/wp-content/uploads/2021/10/2-1-300x58.png 300w, https://www.osradar.com/wp-content/uploads/2021/10/2-1-768x148.png 768w, https://www.osradar.com/wp-content/uploads/2021/10/2-1-696x134.png 696w" sizes="(max-width: 808px) 100vw, 808px" /><figcaption>2.- Serve the Laravel project</figcaption></figure>



<p>This way you can access the computer and with the <code>1234</code> port you can change these values to your liking.</p>



<h2 id="conclusion">Conclusion</h2>



<p>During this post, you have learned how to install laravel on Debian 11 so you can start developing cool applications that you can take to production. So, this is a powerful framework that you need to take full advantage of.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-laravel-debian-11/">How to install Laravel on Debian 11?</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-laravel-debian-11/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Install and use vnStat on Debian 11 / 10</title>
		<link>https://www.osradar.com/vnstat-debian-monitoring-tool/</link>
					<comments>https://www.osradar.com/vnstat-debian-monitoring-tool/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Wed, 06 Oct 2021 23:14:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Buster]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=29506</guid>

					<description><![CDATA[<p>Hello, friends. In this post, you will learn how to install and use vnStat on Debian 11 / 10. With this tool, you will be able to monitor a network interface quickly. What is vnStat? The best definition of Vnstat can be found on the project’s own website: vnStat is a console-based network traffic monitor [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/vnstat-debian-monitoring-tool/">Install and use vnStat 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>Hello, friends. In this post, you will learn how to install and use vnStat on Debian 11 / 10. With this tool, you will be able to monitor a network interface quickly.</p>



<h2 id="what-is-vnstat?"><a href="#what-is-vnstat?" name="what-is-vnstat?"></a>What is vnStat?</h2>



<p>The best definition of <a href="https://humdi.net/vnstat/" target="_blank" rel="noreferrer noopener">Vnstat</a> can be found on the project’s own website:</p>



<blockquote class="wp-block-quote"><p>vnStat is a console-based network traffic monitor for Linux and BSD that keeps a log of network traffic for the selected interface(s). It uses the network interface statistics provided by the kernel as an information source. This means that vnStat won’t actually be sniffing any traffic and also ensures light use of system resources regardless of network traffic rate.</p></blockquote>



<p>Therefore this tool is quite well known within the community and among sysadmins. It is quite simple to use and as you will see below it is easy to install.</p>



<h2 id="install-vnstat-on-debian-10"><a name="install-vnstat-on-debian-10" href="#install-vnstat-on-debian-10"></a>Install vnStat on Debian 11 / 10</h2>



<p>One of the fastest and most immediate ways to install vnStat on Debian 11 / 10 is to install it from the official repositories.</p>



<p>Although this is not the only way to get the program, it is the easiest method for newbies.</p>



<p>So, open a terminal or from an <a href="https://www.osradar.com/manages-ssh-connections-from-windows-10-with-putty/" target="_blank" rel="noreferrer noopener">SSH session</a>, install the security patches in the distribution:</p>



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



<p>Next, you can install the <code>vnStat</code> package as follows:</p>



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



<p>After it is installed, start the application service.</p>



<pre class="wp-block-preformatted">sudo systemctl start vnstat</pre>



<p>This will complete the installation and you will be able to use it.</p>



<h2 id="install-the-latest-version-of-vnstat-on-debian-10"><a name="install-the-latest-version-of-vnstat-on-debian-10" href="#install-the-latest-version-of-vnstat-on-debian-10"></a>Install the latest version of vnStat on Debian 11 / 10</h2>



<p>The previous method has a big problem and it is that the version that appears in the official repositories of Debian 11 / 10, is very outdated. So it is advisable to always install the latest version following these steps that I will describe.</p>



<p>First, install the packages needed to do the compilation, as well as some dependencies:</p>



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



<p>Then download the latest stable version, which at the time of writing this post, is <code>2.8</code>.</p>



<pre class="wp-block-preformatted">wget https://humdi.net/vnstat/vnstat-2.8.tar.gz</pre>



<p>Decompress the downloaded file</p>



<pre class="wp-block-preformatted">tar -xvzf vnstat-2.8.tar.gz</pre>



<p>As a result of executing the above command, a folder called <code>vnstat-2.8</code> will be generated which you will need to access and from there configure the package for compilation:</p>



<pre class="wp-block-preformatted">cd vnstat-2.8
./configure --prefix=/usr --sysconfdir=/etc</pre>



<p>Now, compile the package and install it with this pair of commands:</p>



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



<p>If everything went well, you will be able to run the <code>vnstat</code> command and display, for example, the installed version:</p>



<pre class="wp-block-preformatted">vnstat -v</pre>



<p>Output:</p>



<pre class="wp-block-preformatted">vnStat 2.8 by Teemu Toivola &lt;tst at iki dot fi&gt;</pre>



<h2 id="using-the-vnstat-command"><a href="#using-the-vnstat-command" name="using-the-vnstat-command"></a>Using the vnStat command</h2>



<p>Before using the tool it is necessary to start the vnStat service. As we have installed it manually, there is no service installed so we have to create it.</p>



<p>Fortunately, to create it we will use the example file that comes with the code we have just compiled.</p>



<pre class="wp-block-preformatted">sudo cp -v examples/systemd/vnstat.service /etc/systemd/system/</pre>



<p>Refresh the list of services</p>



<pre class="wp-block-preformatted">sudo systemctl daemon-reload</pre>



<p>And now yes, enable it so it can start with the system and start the service</p>



<pre class="wp-block-preformatted">sudo systemctl enable vnstat
sudo systemctl start vnstat</pre>



<p>And check the status of the service</p>



<pre class="wp-block-preformatted">sudo systemctl status vnstat
● vnstat.service - vnStat network traffic monitor
     Loaded: loaded (/etc/systemd/system/vnstat.service; enabled; vendor preset: enabled)
     Active: active (running) since Sat 2021-10-02 18:24:27 CEST; 11s ago
       Docs: man:vnstatd(8)
             man:vnstat(1)
             man:vnstat.conf(5)
   Main PID: 5939 (vnstatd)
      Tasks: 1 (limit: 2276)
     Memory: 612.0K
        CPU: 20ms
     CGroup: /system.slice/vnstat.service
             └─5939 /usr/sbin/vnstatd -n

Oct 02 18:24:27 osradar systemd[1]: Started vnStat network traffic monitor.
Oct 02 18:24:27 osradar vnstatd[5939]: Info: vnStat daemon 2.8 started. (pid:5939 uid:0 gid:0 64-bit)
Oct 02 18:24:27 osradar vnstatd[5939]: Info: Monitoring (1): eth0 (1000 Mbit)</pre>



<p>After waiting a few minutes, you can start using it.</p>



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



<figure class="wp-block-image size-full"><img loading="lazy" width="868" height="341" src="https://www.osradar.com/wp-content/uploads/2021/04/1-7-e1633192273918.png" alt="1.- vnStat on Debian 11/ 10" class="wp-image-29537" srcset="https://www.osradar.com/wp-content/uploads/2021/04/1-7-e1633192273918.png 868w, https://www.osradar.com/wp-content/uploads/2021/04/1-7-e1633192273918-300x118.png 300w, https://www.osradar.com/wp-content/uploads/2021/04/1-7-e1633192273918-768x302.png 768w, https://www.osradar.com/wp-content/uploads/2021/04/1-7-e1633192273918-696x273.png 696w" sizes="(max-width: 868px) 100vw, 868px" /><figcaption>1.- vnStat on Debian 11/ 10</figcaption></figure>



<p>By default, it takes the active interface, but you can change it:</p>



<pre class="wp-block-preformatted">vnstat -i [interface]</pre>



<p>When an interface is monitored, a new database with logs is created. You can delete it and reset the statistics.</p>



<pre class="wp-block-preformatted">sudo vnstat -i [interface] --remove --force</pre>



<p>In this case, you have to specify the interface to monitor.</p>



<p>Enjoy it.</p>



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



<p>So now you know how to install and use vnStat on Debian 11 / 10 This command although simple allows you to find answers to the operation of a network interface and to know if the behavior is as expected…</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/vnstat-debian-monitoring-tool/">Install and use vnStat 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/vnstat-debian-monitoring-tool/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install Go Language on Debian 11 / 10?</title>
		<link>https://www.osradar.com/go-language-debian-programming/</link>
					<comments>https://www.osradar.com/go-language-debian-programming/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Tue, 31 Aug 2021 23:19:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Buster]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[go language]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=16279</guid>

					<description><![CDATA[<p>The world of software development is a complex world. Every day new and better features emerge that force developers to broaden their knowledge. However, not all these technologies are complex to assimilate, and for this purpose, I will teach you how to install GO language on Debian 11 / 10. Go is an open-source (BSD [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/go-language-debian-programming/">How to install Go Language 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>The world of software development is a complex world. Every day new and better features emerge that force developers to broaden their knowledge. However, not all these technologies are complex to assimilate, and for this purpose, I will teach you how to install GO  language on Debian 11 / 10.</p>



<p><a href="https://golang.org">Go</a> is an open-source (BSD license)  programming language that was born with the objective of allowing the creation of efficient and easily distributable applications. So, it has binaries for Windows, Mac OS and of course, for Linux.</p>



<p>So, in this post, I will install it and create a “Hello World” file for the test.</p>



<h2>Download and install Go Language on Debian 11 /10</h2>



<p>Go Language is cross-platform which makes it available for Linux. However, first you have to download the binaries from the project website. But we will use the terminal that is faster and more efficient.</p>



<p>First, make sure you have <a href="https://www.osradar.com/the-wget-command/" target="_blank" rel="noreferrer noopener" aria-label="wget (opens in a new tab)">wget</a> installed on your computer.</p>



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



<p>Then proceed to download Go Language. At the time of writing this post, the latest stable version is 1.17</p>



<pre class="wp-block-preformatted">:~$ wget -c https://golang.org/dl/go1.17.linux-amd64.tar.gz -O go.tar.gz</pre>



<figure class="wp-block-image size-large is-resized"><img loading="lazy" src="https://www.osradar.com/wp-content/uploads/2019/12/1-20-1024x228.png" alt="1.- Download and install Go Language on Debian 11 / 10" class="wp-image-32017" width="946" height="210" srcset="https://www.osradar.com/wp-content/uploads/2019/12/1-20-1024x228.png 1024w, https://www.osradar.com/wp-content/uploads/2019/12/1-20-300x67.png 300w, https://www.osradar.com/wp-content/uploads/2019/12/1-20-768x171.png 768w, https://www.osradar.com/wp-content/uploads/2019/12/1-20-696x155.png 696w, https://www.osradar.com/wp-content/uploads/2019/12/1-20-1068x238.png 1068w, https://www.osradar.com/wp-content/uploads/2019/12/1-20.png 1366w" sizes="(max-width: 946px) 100vw, 946px" /><figcaption>1.- Download and install Go Language on Debian 11 / 10</figcaption></figure>



<p>Then, decompress it.</p>



<pre class="wp-block-preformatted">:~$ tar xvf go.tar.gz</pre>



<p>Now you have to change the folder permissions. Besides moving it to another location like <code>/usr/local/</code>.</p>



<pre class="wp-block-preformatted">:~$ sudo chown -R root:root go
:~$ sudo mv go /usr/local</pre>



<p>Then, it is necessary to make some modifications to the user&#8217;s bash profile in order to use Go. Open the configuration file and add the following:</p>



<pre class="wp-block-preformatted">:~$ sudo nano ~/.profile</pre>



<pre class="wp-block-preformatted">export GOROOT=/usr/local/go    
export GOPATH=$HOME/work/
export PATH=$GOPATH/bin:$GOROOT/bin:$PATH</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="634" height="219" src="https://www.osradar.com/wp-content/uploads/2019/12/3-1.png" alt="3.- Edit the bash profile" class="wp-image-16282" srcset="https://www.osradar.com/wp-content/uploads/2019/12/3-1.png 634w, https://www.osradar.com/wp-content/uploads/2019/12/3-1-300x104.png 300w" sizes="(max-width: 634px) 100vw, 634px" /><figcaption>2.- Edit the bash profile</figcaption></figure>



<p>Save the changes (CTRL + O) and close the file (CTRL + X).</p>



<p>With this, Go is ready for work. You can check it by showing the version of the program.</p>



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



<figure class="wp-block-image size-full"><img loading="lazy" width="461" height="94" src="https://www.osradar.com/wp-content/uploads/2019/12/2-18.png" alt="3.- Go language version" class="wp-image-32018" srcset="https://www.osradar.com/wp-content/uploads/2019/12/2-18.png 461w, https://www.osradar.com/wp-content/uploads/2019/12/2-18-300x61.png 300w" sizes="(max-width: 461px) 100vw, 461px" /><figcaption>3.- Go language version</figcaption></figure>



<p>Now with a &#8220;hello world&#8221; we&#8217;ll see that everything works.</p>



<h2>Testing the installation</h2>



<p>As I said before, the best way to test the installation is to run a real code. For this, we will use the typical &#8220;Hello World&#8221;.</p>



<p>First, we&#8217;ll create the directory structure. In our Home, we will create a folder for the project called <code>work</code>. Inside a folder called <code>src</code> where the source code files will go. In it, a folder called <code>hello</code> and inside the file <code>hello.go</code>. Something like this is the directory structure. The folders work and hello can be called differently.</p>



<pre class="wp-block-preformatted">:~$ mkdir -p $HOME/work/src/hello</pre>



<p>Now, create the Go file and add the following:</p>



<pre class="wp-block-preformatted">:~$ nano ~/work/src/hello/hello.go</pre>



<pre class="wp-block-preformatted">package main 
 import "fmt"
 func main() {
 fmt.Printf("hello, world\n")
 }</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="888" height="198" src="https://www.osradar.com/wp-content/uploads/2019/12/5.png" alt="5.- Creating a go file" class="wp-image-16301" srcset="https://www.osradar.com/wp-content/uploads/2019/12/5.png 888w, https://www.osradar.com/wp-content/uploads/2019/12/5-300x67.png 300w, https://www.osradar.com/wp-content/uploads/2019/12/5-768x171.png 768w, https://www.osradar.com/wp-content/uploads/2019/12/5-696x155.png 696w" sizes="(max-width: 888px) 100vw, 888px" /><figcaption>5.- Creating a go file</figcaption></figure>



<p>Again, save the changes and close the file.</p>



<pre class="wp-block-preformatted">:~$ go build hello
:~$ go install hello
:~$ hello</pre>



<p>So, enjoy it.</p>



<h2>Conclusion</h2>



<p>GO is a very popular language and every day it is more and more popular. It’s simple but very powerful, besides being open source. As you have seen, its installation is really simple.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/go-language-debian-programming/">How to install Go Language 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/go-language-debian-programming/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<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>
<p><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>
<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>
<p><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>
<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>How to install Telegram desktop on Debian 11 &#124; And any Linux distribution?</title>
		<link>https://www.osradar.com/install-telegram-desktop-any-linux-distribution/</link>
					<comments>https://www.osradar.com/install-telegram-desktop-any-linux-distribution/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Sun, 22 Aug 2021 01:33:00 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[telegram]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[WhatsApp]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=7660</guid>

					<description><![CDATA[<p>Honestly, for me, Telegram is better than WhatsApp because it has many more options and is safer. However, it is also true that WhatsApp is more used and more widespread worldwide. Today I will show you how to install Telegram desktop on any Linux distribution in an easy and comfortable way. Tele&#8230;what? In the first [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-telegram-desktop-any-linux-distribution/">How to install Telegram desktop on Debian 11 | And any Linux distribution?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Honestly, for me, Telegram is better than WhatsApp because it has many more options and is safer. However, it is also true that WhatsApp is more used and more widespread worldwide. Today I will show you how to install Telegram desktop on any Linux distribution in an easy and comfortable way.</p>
<h1>Tele&#8230;what?</h1>
<p>In the first place, What is <a href="https://telegram.org" rel="noopener">Telegram</a>? Well, Telegram is a messaging app with a focus on speed and security, it’s super-fast, simple and free. You can use Telegram on all your devices <strong>at the same time. </strong>In short, your messages sync seamlessly across any number of your phones, tablets or computers.</p>
<p>Some of the most powerful features that differentiate it from WhatsApp are the following:</p>
<ul>
<li><strong>Telegram groups can have up to 100,000 members</strong>. It supports <strong>replies</strong>, <strong>mentions</strong>, and <strong>hashtags</strong> that help maintain order and keep communication in large communities efficient.</li>
<li>If you want secrecy, try our device-specific <strong>Secret Chats</strong> with self-destructing messages, photos, and videos.</li>
<li>Telegram has <strong>bots</strong>. Bots are like small programs that run right inside Telegram. They are very useful to extends Telegram functionality.</li>
<li>The <strong>Telegram API is accessible</strong>. This allows anyone to develop an unofficial client. Don&#8217;t worry, security is something Telegram takes seriously.</li>
</ul>
<p>There are many characteristics that make Telegram a perfect application. In my case, in particular, I have noticed that it is much faster and safer than WhatsApp.</p>
<h1>Let&#8217;s install Telegram</h1>
<p>If you want to install Telegram in any Linux distribution, I must tell you that it is something very simple. Telegram does take into account Linux users, creating an official client on a par with Windows and Mac OS. Already that speaks very well of it.</p>
<p>In the first place, you need to go to the official Telegram <a href="https://telegram.org" rel="noopener">website</a>.</p>
<p><figure id="attachment_7661" aria-describedby="caption-attachment-7661" style="width: 1170px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7661" src="https://www.osradar.com/wp-content/uploads/2018/11/1-19.png" alt="Downloading Telegram desktop client" width="1170" height="326" srcset="https://www.osradar.com/wp-content/uploads/2018/11/1-19.png 1170w, https://www.osradar.com/wp-content/uploads/2018/11/1-19-300x84.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/1-19-768x214.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/1-19-1024x285.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/1-19-696x194.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/1-19-1068x298.png 1068w" sizes="(max-width: 1170px) 100vw, 1170px" /><figcaption id="caption-attachment-7661" class="wp-caption-text">Downloading Telegram client</figcaption></figure></p>
<p>Then, download the client for Linux.</p>
<p>When the download is complete, decompress the file. Next, open your file browser and you will see two files.</p>
<p><figure id="attachment_31764" aria-describedby="caption-attachment-31764" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-31764 size-full" src="https://www.osradar.com/wp-content/uploads/2018/11/1-26.png" alt="2.- Install Telegram on Debian 11 and any Linux distribution" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/11/1-26.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/1-26-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/1-26-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/1-26-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/1-26-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/1-26-1068x600.png 1068w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-31764" class="wp-caption-text">2.- Install Telegram on Debian 11 and any Linux distribution</figcaption></figure></p>
<p>Then, assign execution permissions to the <em>Telegram</em> file. Right-click on it and go to <em>Properties</em>.</p>
<p><figure id="attachment_31765" aria-describedby="caption-attachment-31765" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-31765 size-full" src="https://www.osradar.com/wp-content/uploads/2018/11/2-24.png" alt="3.- Changing the file permissions" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/11/2-24.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/2-24-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/2-24-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/2-24-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/2-24-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/2-24-1068x600.png 1068w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-31765" class="wp-caption-text">3.- Changing the file permissions</figcaption></figure></p>
<p>Now, you can open it. Double-click on it.</p>
<p><figure id="attachment_31766" aria-describedby="caption-attachment-31766" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-31766 size-full" src="https://www.osradar.com/wp-content/uploads/2018/11/3-23.png" alt="4.- Opening Telegram desktop client on Linux" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/11/3-23.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/3-23-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/3-23-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/3-23-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/3-23-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/3-23-1068x600.png 1068w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-31766" class="wp-caption-text">4.- Opening Telegram desktop client on Linux</figcaption></figure></p>
<p>Click on <em>Start Messaging</em> button to add your phone number.</p>
<p><figure id="attachment_7665" aria-describedby="caption-attachment-7665" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7665" src="https://www.osradar.com/wp-content/uploads/2018/11/5-19.png" alt="5.- Adding the phone number" width="1368" height="742" srcset="https://www.osradar.com/wp-content/uploads/2018/11/5-19.png 1368w, https://www.osradar.com/wp-content/uploads/2018/11/5-19-300x163.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/5-19-768x417.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/5-19-1024x555.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/5-19-696x378.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/5-19-1068x579.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/5-19-774x420.png 774w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-7665" class="wp-caption-text">5.- Adding the phone number</figcaption></figure></p>
<p>Then, Telegram will send you a code via SMS. When you type it, the application will start and you will use it without any problem.</p>
<p>And that&#8217;s it.</p>
<h1>Conclusion</h1>
<p>Telegram is much better than WhatsApp not only because of its features but also because its desktop customers are very good. Installing these desktop clients is simple and very useful.</p>
<p>Recently we talked about <a href="https://www.osradar.com/franz-on-linux-desktop/">Franz</a> an application to have several messaging accounts on the desktop. You might be interested so here&#8217;s the link.</p>
<p>Please share this article through your social networks.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-telegram-desktop-any-linux-distribution/">How to install Telegram desktop on Debian 11 | And any Linux distribution?</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-telegram-desktop-any-linux-distribution/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install LibreOffice 7.1 on Ubuntu 20.04 / Linux Mint 20?</title>
		<link>https://www.osradar.com/microsoft-libre-office-ubuntu-linux/</link>
					<comments>https://www.osradar.com/microsoft-libre-office-ubuntu-linux/#comments</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Mon, 16 Aug 2021 23:18:00 +0000</pubDate>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[focal]]></category>
		<category><![CDATA[Focal Fossa]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[New version]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=22661</guid>

					<description><![CDATA[<p>LibreOffice has just released its latest version. And it promises to be a whole new performance experience. In this post, we will show you how to install LibreOffice 7.1 on Ubuntu 20.04 / Linux Mint 20. So, LibreOffice is one of the jewels of open source. We are talking about a complete office suite capable [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/microsoft-libre-office-ubuntu-linux/">How to install LibreOffice 7.1 on Ubuntu 20.04 / Linux Mint 20?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>LibreOffice has just released its latest version<a href="https://wiki.documentfoundation.org/ReleaseNotes/7.1" target="_blank" rel="noreferrer noopener">. And it promises to be a whole new performance experience. In this </a>post, w<strong>e will show you how to install LibreOffice 7.1 on Ubuntu 20.04 / Linux Mint 20.</strong></p>



<p>So, LibreOffice is one of the jewels of open source. We are talking about a complete office suite capable of resulting in a free, cross-platform solution available to everyone. Therefore, it already comes installed in many Linux distributions but these do not include an updated version.</p>



<h2>Install LibreOffice 7.1 on Ubuntu 20.04 / Linux Mint 20</h2>



<p>There are several methods to install LibreOffice 7.1 on Ubuntu 20.04 or Linux Mint 20. However, I will show you the two easiest to do, and that allows you to easily keep it updated.</p>



<h3>Installing LibreOffice 7.1 using PPA</h3>



<p>The LibreOffice development team provides us with a dedicated PPA for LibreOffice 7.1. This repository is compatible with Ubuntu 20.04 as it could not be otherwise. So let&#8217;s use it.</p>



<p>So, open a terminal and run the following command:</p>



<pre class="wp-block-preformatted">:~$ sudo add-apt-repository ppa:libreoffice/ppa
In general, users are advised to take a look at the changelog for the details about a package. If there is a specific bug that is intended to be addressed by an update released into the PPA, you are encouraged to test, if the update solves that problem. Packages published after the distro release are mostly such specific fixes. Critical fixes will be SRUed into the main repositories after testing anyway (later, with more testing).

To return to the LibreOffice version from the main archive, use ppa-purge. see: http://www.webupd8.org/2009/12/remove-ppa-repositories-via-command.html for details
 More info: https://launchpad.net/~libreoffice/+archive/ubuntu/ppa
Press Enter to continue or Ctrl+C to cancel

Executing: /tmp/apt-key-gpghome.VVwU2zyIO1/gpg.1.sh --keyserver hkps://keyserver.ubuntu.com:443 --recv-keys 36E81C9267FD1383FCC4490983FBA1751378B444
gpg: key 83FBA1751378B444: public key "Launchpad PPA for LibreOffice Packaging" imported
gpg: Total number processed: 1

:~$ sudo apt-get update</pre>



<p>And then, if you already have LibreOffice installed, upgrade your system:</p>



<pre class="wp-block-preformatted">:~$ sudo apt upgrade</pre>



<p>Or:</p>



<pre class="wp-block-preformatted">:~$ sudo apt full-upgrade</pre>



<p>It&#8217;s that simple. Next, launch it from the main menu.</p>



<h3>Installing LibreOffice 7.1 with Flatpak</h3>



<p>If we read the description of the previous repository we will notice that it will only provide updates to the 7.1 branch</p>



<p>To avoid this, it is possible to use Flatpak. As we know, Flatpak is a technology that allows us to create self-contained and secure packages for any Linux distribution.</p>



<p>The Flatpak package of LibreOffice is hosted in Flathub and they give us the instructions to install it.</p>



<p>So, install Flatpak in case you don&#8217;t have it installed:</p>



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



<p>Then, install LibreOffice 7.1 with the following command:</p>



<pre class="wp-block-preformatted">:~$ flatpak install flathub org.libreoffice.LibreOffice</pre>



<p>When the download is finished you can run it from the main menu. Or by executing the following command:</p>



<pre class="wp-block-preformatted">:~$ flatpak run org.libreoffice.LibreOffice</pre>



<figure class="wp-block-image size-full"><img loading="lazy" width="929" height="507" src="https://www.osradar.com/wp-content/uploads/2020/08/1-18.png" alt="1.- LibreOffice 7.1 on Ubuntu 20.04" class="wp-image-31666" srcset="https://www.osradar.com/wp-content/uploads/2020/08/1-18.png 929w, https://www.osradar.com/wp-content/uploads/2020/08/1-18-300x164.png 300w, https://www.osradar.com/wp-content/uploads/2020/08/1-18-768x419.png 768w, https://www.osradar.com/wp-content/uploads/2020/08/1-18-696x380.png 696w" sizes="(max-width: 929px) 100vw, 929px" /><figcaption>1.- LibreOffice 7.1 on Ubuntu 20.04</figcaption></figure>



<p>So, enjoy it.</p>



<h2>Conclusion</h2>



<p>LibreOffice 7.1 is available for download. In this post, you&#8217;ve learned what to do to get it right now on your Ubuntu 20.04. But this tutorial works for Linux Mint 20 and all distributions that are based on Ubuntu 20.04.</p>



<p>Please share this post and join <a href="https://www.osradar.com/join-our-telegram-channel/" target="_blank" rel="noreferrer noopener">our Telegram channel.</a></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/microsoft-libre-office-ubuntu-linux/">How to install LibreOffice 7.1 on Ubuntu 20.04 / Linux Mint 20?</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/microsoft-libre-office-ubuntu-linux/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Install Wing Python IDE on Ubuntu 20.04 /18.04</title>
		<link>https://www.osradar.com/install-wing-python-ide-ubuntu/</link>
					<comments>https://www.osradar.com/install-wing-python-ide-ubuntu/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Sun, 04 Jul 2021 23:23:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[bionic]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[IDE]]></category>
		<category><![CDATA[pythom]]></category>
		<category><![CDATA[Tutorial How to]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[Wing IDE]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=12448</guid>

					<description><![CDATA[<p>Python is one of the most popular programming languages out there. In fact, many universities already use it as an introductory language in the retirement of the old Pascal or C++. This has made many users already know firsthand the potential of the language that is very broad. The main reason to affirm this is [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-wing-python-ide-ubuntu/">Install Wing Python IDE on Ubuntu 20.04 /18.04</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Python is one of the most popular programming languages out there. In fact, many universities already use it as an introductory language in the retirement of the old Pascal or C++. This has made many users already know firsthand the potential of the language that is very broad. The main reason to affirm this is that Python can be used in many parts as the main language or as a composite. However, to be more productive with the language requires an IDE at the height. For Java, we already have free solutions like Eclipse and Netbeans but in this post, I will show you Install Wing Python IDE on Ubuntu 20.04 /18.04.</p>
<h2>Meeting Wing</h2>
<p><a href="https://wingware.com/" rel="noopener noreferrer">Wing</a> is an IDE for <a href="https://www.osradar.com/tag/python/" rel="noopener noreferrer">Python</a> that is presented to us as one quite fast and with the slogan of being as productive as possible. With 3 versions, the first is <strong>Wing Pro</strong> which is a paid version with all the features that the project offers. The second is <strong>Wing Personal</strong> oriented to students and middle-level programmers who will have an IDE without so many features but functional and agile to get the job done. The last one is <strong>Wing 101</strong> which is a basic version of the application. It is used by teachers to teach about Python.</p>
<p>Of course, the main features of Wing are present in all versions. However, it is fair to say that Wing Pro is the most complete version and is at the same level as other solutions such as <a href="https://www.osradar.com/install-jetbrains-pycharm-on-linux/" rel="noopener noreferrer">PyCharm.</a></p>
<p>Some of the features found in all versions of Wing are:</p>
<ul>
<li>It has improved the support of multiple selections.</li>
<li>Raspberry Pi support has been improved.</li>
<li>Support for <a href="https://www.osradar.com/get-the-latest-python-on-linux/" rel="noopener noreferrer">Python</a> 3.8 / 3.7 and Stackless 3.4.</li>
<li>Autocompletion in strings and comments.</li>
<li>Syntax indicator and error indicators. Syntax highlighting for Markdown files.</li>
<li>Optimized debugger.</li>
<li>Support for <a href="https://www.osradar.com/install-django-ubuntu-18-04/" rel="noopener noreferrer">Django</a></li>
</ul>
<p>Although the license of Wing Pro is not high, they have a program where they <a href="https://wingware.com/store/free" rel="noopener noreferrer">give licenses</a> to developers who collaborate in open source projects. It&#8217;s a great way to collaborate with the open source community and with these projects.</p>
<p>In addition, as expected Wing is available for Windows, Linux and MacOS. However, where it is best programmed is in our Linux system. So there I will teach you how to install it.</p>
<h2>Install Wing Python IDE on Ubuntu 20.04 / 18.04</h2>
<p>At the time of writing this post, the version of Wing is the 7.0.3 that was recently released. It has many code improvements and bug fixes.</p>
<p>In the download section of the <a href="https://wingware.com/downloads/" rel="noopener noreferrer">Wing website</a>, we will have different options, in this case, install <a href="https://wingware.com/downloads/wing-personal" rel="noopener noreferrer">Wing Personal</a> because I think it is enough for most. Then, download the DEB file.</p>
<p>However, you can do it from the terminal. To do this, open it and run this command.</p>
<pre>:~$ wget -c https://wingware.com/pub/wing-personal/7.2.9.0/wing-personal7_7.2.9-0_amd64.deb</pre>
<p>After that, install it.</p>
<pre>:~$ sudo apt install ./[file_path]</pre>
<p>Then, launch it from the main menu.</p>
<p><figure id="attachment_31103" aria-describedby="caption-attachment-31103" style="width: 1280px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-31103 size-full" src="https://www.osradar.com/wp-content/uploads/2019/06/wing.jpg" alt="1.- Wing running on Ubuntu 20.04 / 18.04" width="1280" height="733" srcset="https://www.osradar.com/wp-content/uploads/2019/06/wing.jpg 1280w, https://www.osradar.com/wp-content/uploads/2019/06/wing-300x172.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/06/wing-1024x586.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/06/wing-768x440.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/06/wing-696x399.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/06/wing-1068x612.jpg 1068w" sizes="(max-width: 1280px) 100vw, 1280px" /><figcaption id="caption-attachment-31103" class="wp-caption-text">1.- Wing running on Ubuntu 20.04 / 18.04</figcaption></figure></p>
<p>Now, enjoy it.</p>
<h2>Conclusion</h2>
<p>Programming is not a simple matter; on the contrary, it entails great difficulties. Having tools to facilitate the process is the essence of IDE. In this context, Wing is a quite competent IDE for python and is presented as a serious alternative in the market.</p>
<p>Please, share this post.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-wing-python-ide-ubuntu/">Install Wing Python IDE on Ubuntu 20.04 /18.04</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-wing-python-ide-ubuntu/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install Rust Programming Language on Fedora 34?</title>
		<link>https://www.osradar.com/install-rust-programming-language-fedora-34/</link>
					<comments>https://www.osradar.com/install-rust-programming-language-fedora-34/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Wed, 30 Jun 2021 06:38:00 +0000</pubDate>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[rust]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=30974</guid>

					<description><![CDATA[<p>Hello, friends. We know that many developers use Fedora as a system to work with. So, it is convenient for you to know how to install Rust Programming Language on Fedora 34. Rust is an open source, multipurpose and new programming language that aims to retire to the C language. Although it is sponsored by [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-rust-programming-language-fedora-34/">How to install Rust Programming Language on Fedora 34?</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. We know that many developers use Fedora as a system to work with. So, it is convenient for you to know how to install Rust Programming Language on Fedora 34.</p>



<p><a href="https://www.rust-lang.org/">Rust</a> is an open source, multipurpose and new programming language that aims to retire to the C language. Although it is sponsored by <a href="https://www.mozilla.org/">Mozilla</a> and <a href="http://samsung.com">Samsung</a>, it is a community project. Its focus is primarily on large programs that run on the client and server side.</p>



<p>The main characteristics of Rust are performance, reliability, and productivity. Rust can compile and create applications very quickly; it is conducive to very few failures and its large documentation makes it possible to learn quickly.</p>



<h2>Install Rust Programming Language on Fedora 34</h2>



<p>The installation is quite simple to perform through the terminal. To do this, first, make sure that the distribution is up to date.</p>



<p>So, open a terminal and run</p>



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



<p>After that you should install <a href="https://www.osradar.com/install-development-build-tools-fedora/" target="_blank" rel="noreferrer noopener">the development and build tools</a> for this our post will help you.</p>



<p>After that, you can install the <code>curl</code> and <code>nano</code> packages with which we can complete the post.</p>



<pre class="wp-block-preformatted">sudo dnf install nano curl</pre>



<p>Now proceed to download and run the installation script provided by the Rust developers.</p>



<pre class="wp-block-preformatted">curl https://sh.rustup.rs -sSf | sh</pre>



<p>During the execution of the script, we will be asked about the type of installation. In this case, choose option 1.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="870" height="696" src="https://www.osradar.com/wp-content/uploads/2021/06/1-9.png" alt="1.- Install Rust on Fedora 34" class="wp-image-30976" srcset="https://www.osradar.com/wp-content/uploads/2021/06/1-9.png 870w, https://www.osradar.com/wp-content/uploads/2021/06/1-9-300x240.png 300w, https://www.osradar.com/wp-content/uploads/2021/06/1-9-768x614.png 768w, https://www.osradar.com/wp-content/uploads/2021/06/1-9-696x557.png 696w" sizes="(max-width: 870px) 100vw, 870px" /><figcaption>1.- Install Rust on Fedora 34</figcaption></figure>



<p>Then the whole installation process will continue and at the end, you will see the following screen:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="224" src="https://www.osradar.com/wp-content/uploads/2021/06/2-7-1024x224.png" alt="2.- Rust installed" class="wp-image-30977" srcset="https://www.osradar.com/wp-content/uploads/2021/06/2-7-1024x224.png 1024w, https://www.osradar.com/wp-content/uploads/2021/06/2-7-300x65.png 300w, https://www.osradar.com/wp-content/uploads/2021/06/2-7-768x168.png 768w, https://www.osradar.com/wp-content/uploads/2021/06/2-7-696x152.png 696w, https://www.osradar.com/wp-content/uploads/2021/06/2-7.png 1040w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>2.- Rust installed</figcaption></figure>



<p>This way the installation has been completed successfully. To make Rust available from the terminal without any problems run</p>



<pre class="wp-block-preformatted">source $HOME/.cargo/env</pre>



<p>Now we are ready to try Rust. We are ready to test Rust, for example, show the installed version.</p>



<pre class="wp-block-preformatted">rustc --version<br>rustc 1.53.0 (53cb7b09b 2021-06-17)</pre>



<h2>Your first program with Rustc</h2>



<p>Now to check that everything is OK we need to create a program. We will do the classic &#8220;Hello World&#8221;.</p>



<p>First, create the necessary directory structure and access it.</p>



<pre class="wp-block-preformatted">mkdir ~/projects<br>cd projects<br>mkdir example<br>cd example</pre>



<p>Obviously, you can change the names and adjust them to your preferences.</p>



<p>Now create the code file</p>



<pre class="wp-block-preformatted">nano helloworld.rs</pre>



<p>And add the following code:</p>



<pre class="wp-block-preformatted">fn main() {<br>println!("Hello, thanks for visiting Osradar blog.");<br>}</pre>



<p>Save the changes and close the editor.</p>



<p>Now compile the program</p>



<pre class="wp-block-preformatted">rustc helloworld.rs</pre>



<p>And run it</p>



<pre class="wp-block-preformatted">./helloworld<br>Hello, thanks for visiting Osradar blog.</pre>



<p>So, Rust is installed.</p>



<h2>Conclusion</h2>



<p>Installing the Rust language in Linux is a fairly simple process. The possibilities offered by this language are many. It is also a great alternative to traditional programming languages.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-rust-programming-language-fedora-34/">How to install Rust Programming Language on Fedora 34?</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-rust-programming-language-fedora-34/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install PostgreSQL 13 on CentOS 8 / RHEL 8 / Oracle Linux 8?</title>
		<link>https://www.osradar.com/install-postgresql-13-centos-8/</link>
					<comments>https://www.osradar.com/install-postgresql-13-centos-8/#comments</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Fri, 18 Jun 2021 23:25:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Centos 8]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[oracle linux 8]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[RHEL 8]]></category>
		<category><![CDATA[SQL]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=13249</guid>

					<description><![CDATA[<p>PostgreSQL is one of the most popular database management systems in the world. Its robustness, high availability, and ease of installation make it perhaps the most advanced in the world. Despite easy installation, not always many users do. So, in this post, I will show you how to install PostgreSQL 13 on CentOS 8 / [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-postgresql-13-centos-8/">How to install PostgreSQL 13 on CentOS 8 / RHEL 8 / Oracle Linux 8?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>PostgreSQL is one of the most popular database management systems in the world. Its robustness, high availability, and ease of installation make it perhaps the most advanced in the world. Despite easy installation, not always many users do. So, in this post, I will show you how to install PostgreSQL 13 on CentOS 8 / RHEL 8 / Oracle Linux 8. In addition, we&#8217;ll show you the most basic configurations. At the end of the post, you will have a PostgreSQL installation ready to start working.</p>
<h2>Install PostgreSQL 13 on CentOS 8 / RHEL 8 / Oracle Linux 8</h2>
<p>Both RHEL 8 and its derivatives include <a href="https://www.osradar.com/tag/postgresql/">PostgreSQL</a> 10 in their repositories. However, we already have available version 13. And it is recommended to install it because thanks to it, we can enjoy interesting news and improvements in the performance of the application. Important, if we are going to store large quantities of records.</p>
<p>So first, open a terminal session. Or if you are using a server connect to it using ssh.</p>
<pre>:~$ ssh [your-user]@[your-host]</pre>
<p>Then log in as the root user.</p>
<pre>:~$ su
:~#</pre>
<p>The best way to install PostgreSQL 13 on CentOS 8, RHEL 8 and Oracle Linux 8 is to add the official PostgreSQL refill. Not only is it easy, but also safe and the possibility to be always up to date.</p>
<p>To do this, run the following command:</p>
<pre>:~# dnf install https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm</pre>
<p><figure id="attachment_13268" aria-describedby="caption-attachment-13268" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-13268" src="https://www.osradar.com/wp-content/uploads/2019/08/1-23.jpeg" alt="1.- Add the PostgreSQL repository" width="1366" height="355" srcset="https://www.osradar.com/wp-content/uploads/2019/08/1-23.jpeg 1366w, https://www.osradar.com/wp-content/uploads/2019/08/1-23-300x78.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/08/1-23-768x200.jpeg 768w, https://www.osradar.com/wp-content/uploads/2019/08/1-23-1024x266.jpeg 1024w, https://www.osradar.com/wp-content/uploads/2019/08/1-23-696x181.jpeg 696w, https://www.osradar.com/wp-content/uploads/2019/08/1-23-1068x278.jpeg 1068w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-13268" class="wp-caption-text">1.- Add the PostgreSQL repository</figcaption></figure></p>
<p>Then, disable the PostgreSQL module on CentOS 8.</p>
<pre>:~# dnf module disable postgresql</pre>
<p>Now, install PostgreSQL 13 on CentOS 8.</p>
<pre>:~# dnf install postgresql13-server postgresql13</pre>
<p><figure id="attachment_30666" aria-describedby="caption-attachment-30666" style="width: 1364px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-30666 size-full" src="https://www.osradar.com/wp-content/uploads/2020/01/2-23.png" alt="2.- Install PostgreSQL 13 8 on AlmaLinux OS 8 / CentOS 8" width="1364" height="435" srcset="https://www.osradar.com/wp-content/uploads/2020/01/2-23.png 1364w, https://www.osradar.com/wp-content/uploads/2020/01/2-23-300x96.png 300w, https://www.osradar.com/wp-content/uploads/2020/01/2-23-1024x327.png 1024w, https://www.osradar.com/wp-content/uploads/2020/01/2-23-768x245.png 768w, https://www.osradar.com/wp-content/uploads/2020/01/2-23-696x222.png 696w, https://www.osradar.com/wp-content/uploads/2020/01/2-23-1068x341.png 1068w" sizes="(max-width: 1364px) 100vw, 1364px" /><figcaption id="caption-attachment-30666" class="wp-caption-text">2.- Install PostgreSQL 13 8 on AlmaLinux OS 8 / CentOS 8</figcaption></figure></p>
<p>After that, let us configure it.</p>
<h2>Configure PostgreSQL on CentOS / RHEL 8 / Oracle Linux 8</h2>
<h3>Initialize PostgreSQL database and start the service</h3>
<p>After installing it, the first thing to do is to initialize the database. To achieve this, it is necessary to execute the following command:</p>
<pre>:~# /usr/pgsql-13/bin/postgresql-13-setup initdb
Initializing database ... OK</pre>
<p>With this, we will have already started the initial database. At this point, the PostgreSQL service is not enable, so you can&#8217;t use it yet. Then you have to do it.</p>
<pre>:~# systemctl enable postgresql-13</pre>
<p>Then, if you want PostgreSQL to start along with the system run this command:</p>
<pre>:~# systemctl start postgresql-13</pre>
<p>To check that everything is going well, check the status of the service:</p>
<pre>:~# systemctl status postgresql-13</pre>
<p><figure id="attachment_30667" aria-describedby="caption-attachment-30667" style="width: 1167px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-30667 size-full" src="https://www.osradar.com/wp-content/uploads/2020/01/3-22.png" alt="3.- PostgreSQL status" width="1167" height="481" srcset="https://www.osradar.com/wp-content/uploads/2020/01/3-22.png 1167w, https://www.osradar.com/wp-content/uploads/2020/01/3-22-300x124.png 300w, https://www.osradar.com/wp-content/uploads/2020/01/3-22-1024x422.png 1024w, https://www.osradar.com/wp-content/uploads/2020/01/3-22-768x317.png 768w, https://www.osradar.com/wp-content/uploads/2020/01/3-22-696x287.png 696w, https://www.osradar.com/wp-content/uploads/2020/01/3-22-1068x440.png 1068w" sizes="(max-width: 1167px) 100vw, 1167px" /><figcaption id="caption-attachment-30667" class="wp-caption-text">3.- PostgreSQL status</figcaption></figure></p>
<p>As you can see, everything&#8217;s fine.</p>
<h3>Change the password to the &#8220;postgres&#8221; user and allow the remote connections</h3>
<p>During the installation of PostgreSQL, a new user called postgres is created. The problem is that you do not define a password, so it makes you vulnerable. To avoid problems, it is convenient to create a password.</p>
<p>To do this, just use the Unix passwd command.</p>
<pre>:~# passwd postgres</pre>
<p>There you will have to enter the password twice. If both are effective, the final change will be made.</p>
<p>Now, we have to allow access to remote connections. The client must be installed on each of the systems that will access PostgreSQL. It will depend on each operating system.</p>
<p>Then, a good security measure is to specify the hosts that can access it. Of course, if the data will be served on the Internet, then it is necessary to allow all the accesses.</p>
<pre>:~# nano /var/lib/pgsql/13/data/postgresql.conf
</pre>
<p>then searches for the listen_addresses line and places the hosts that can access it. If you allow any access, type &#8216;*&#8217;.</p>
<pre>listen_addresses = '[host/IP_adress]'
or
listen_addresses = '*'</pre>
<p><figure id="attachment_13272" aria-describedby="caption-attachment-13272" style="width: 766px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-13272" src="https://www.osradar.com/wp-content/uploads/2019/08/5-10.jpeg" alt="5.- Allow the remote connections" width="766" height="352" srcset="https://www.osradar.com/wp-content/uploads/2019/08/5-10.jpeg 766w, https://www.osradar.com/wp-content/uploads/2019/08/5-10-300x138.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/08/5-10-696x320.jpeg 696w" sizes="(max-width: 766px) 100vw, 766px" /><figcaption id="caption-attachment-13272" class="wp-caption-text">5.- Allow the remote connections</figcaption></figure></p>
<p>Then, restart PostgreSQL.</p>
<pre>:~# systemctl restart postgresql-13</pre>
<p>Finally, you have to open the port 5432 on the firewall to allow the connections.</p>
<pre>:~# firewall-cmd --add-port=5432/tcp --permanent
success
:~# firewall-cmd --reload
success</pre>
<p>Now, you can access to the PostgreSQL shell.</p>
<pre>:~# su - postgres
:~# psql</pre>
<p>Now, you can start to work.</p>
<h2>Conclusion</h2>
<p>PostgreSQL is one of the best there is for databases. Thanks to its community spirit, it is possible to find a lot of documentation about it. On the other hand, installing version 13 on CentOS 8, RHEL 8 and Oracle Linux 8 is quite simple as you have seen in this post.</p>
<p>Also, you can read <a href="https://www.osradar.com/how-to-install-postgresql-on-ubuntu18-04/" rel="noopener noreferrer">how to install Postgresql on Ubuntu 18.04?</a></p>
<p>Please share this post with your friends and join <a href="https://t.me/osradar">our Telegram channel</a>.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-postgresql-13-centos-8/">How to install PostgreSQL 13 on CentOS 8 / RHEL 8 / Oracle Linux 8?</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-postgresql-13-centos-8/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>How to install PostgreSQL 13 on Debian 10?</title>
		<link>https://www.osradar.com/how-to-install-postgresql-13-debian-10/</link>
					<comments>https://www.osradar.com/how-to-install-postgresql-13-debian-10/#comments</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Thu, 17 Jun 2021 23:11:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=18461</guid>

					<description><![CDATA[<p>Hi, friends, in this post, I&#8217;ll show you how to install PostgreSQL 13 on Debian 10. PostgreSQL 13 is the latest stable version of what is perhaps the most advanced open-source relational database manager. So many sysadmin need to have it on the different servers. If you want to know all the news or at [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-postgresql-13-debian-10/">How to install PostgreSQL 13 on 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><strong>Hi, friends, in this post, I&#8217;ll show you how to install PostgreSQL 13 on Debian 10.</strong></p>
<p>PostgreSQL 13 is the latest stable version of what is perhaps the most advanced open-source relational database manager. So many sysadmin need to have it on the different servers.</p>
<p>If you want to know all the news or at least the most important ones, you can read this post</p>
<p><a href="https://www.postgresql.org/about/news/postgresql-13-released-2077/" target="_blank" rel="noopener noreferrer">PostgreSQL 13 is available</a></p>
<p>Well, PostgreSQL 13 comes with many important improvements and it&#8217;s a good time to install it. That&#8217;s what this post is about.</p>
<p>So let&#8217;s go for it.</p>
<h2>Install PostgreSQL 13 on Debian</h2>
<p>PostgreSQL is included in the official Debian repositories, but not in version 13 but in version 11.</p>
<p>The installation of PostgreSQL 13 is possible thanks to the repository it has for APT package managers that is used by Debian, Ubuntu, Linux Mint and derivatives.</p>
<p>So let&#8217;s start.</p>
<p>First, open a terminal session or connect to your server using SSH. Then, install some necessary packages:</p>
<pre>:~$ sudo apt install gnupg gnupg2</pre>
<p>At the end, the PostgreSQL 13 repository should be added to the list of Debian software sources. To do this, create the following file:</p>
<pre>:~$ sudo nano /etc/apt/sources.list.d/pgdg.list</pre>
<p>And in it he adds the following:</p>
<pre>deb http://apt.postgresql.org/pub/repos/apt/ buster-pgdg main</pre>
<p><figure id="attachment_18614" aria-describedby="caption-attachment-18614" style="width: 910px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-18614" src="https://www.osradar.com/wp-content/uploads/2020/02/1-18.png" alt="1.- Adding the postgresql repository" width="910" height="109" srcset="https://www.osradar.com/wp-content/uploads/2020/02/1-18.png 910w, https://www.osradar.com/wp-content/uploads/2020/02/1-18-300x36.png 300w, https://www.osradar.com/wp-content/uploads/2020/02/1-18-768x92.png 768w, https://www.osradar.com/wp-content/uploads/2020/02/1-18-696x83.png 696w" sizes="(max-width: 910px) 100vw, 910px" /><figcaption id="caption-attachment-18614" class="wp-caption-text">1.- Adding the postgresql repository</figcaption></figure></p>
<p>Then save the changes by pressing CTRL + O and close the file by pressing CTRL + X.</p>
<p>For the repository to be accepted by the system, you need to add the gpg key to it. To do this, use the following command:</p>
<pre>:~$ wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
OK</pre>
<p><figure id="attachment_18615" aria-describedby="caption-attachment-18615" style="width: 991px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-18615" src="https://www.osradar.com/wp-content/uploads/2020/02/2-17.png" alt="2.- Adding the GPG key for the repository" width="991" height="129" srcset="https://www.osradar.com/wp-content/uploads/2020/02/2-17.png 991w, https://www.osradar.com/wp-content/uploads/2020/02/2-17-300x39.png 300w, https://www.osradar.com/wp-content/uploads/2020/02/2-17-768x100.png 768w, https://www.osradar.com/wp-content/uploads/2020/02/2-17-696x91.png 696w" sizes="(max-width: 991px) 100vw, 991px" /><figcaption id="caption-attachment-18615" class="wp-caption-text">2.- Adding the GPG key for the repository</figcaption></figure></p>
<p>Once the process has been completed, simply update the APT cache.</p>
<pre>:~$ sudo apt update</pre>
<p>You can now view all the packages related to PostgreSQL 13 by typing</p>
<pre>:~$ sudo apt install postgresql-13</pre>
<p>But don&#8217;t press enter, just press the TAB key and you&#8217;ll see the following:</p>
<p><figure id="attachment_30630" aria-describedby="caption-attachment-30630" style="width: 1279px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-30630 size-full" src="https://www.osradar.com/wp-content/uploads/2020/03/3-27.png" alt="3.- All postgresql 13 packages" width="1279" height="713" srcset="https://www.osradar.com/wp-content/uploads/2020/03/3-27.png 1279w, https://www.osradar.com/wp-content/uploads/2020/03/3-27-300x167.png 300w, https://www.osradar.com/wp-content/uploads/2020/03/3-27-1024x571.png 1024w, https://www.osradar.com/wp-content/uploads/2020/03/3-27-768x428.png 768w, https://www.osradar.com/wp-content/uploads/2020/03/3-27-696x388.png 696w, https://www.osradar.com/wp-content/uploads/2020/03/3-27-1068x595.png 1068w" sizes="(max-width: 1279px) 100vw, 1279px" /><figcaption id="caption-attachment-30630" class="wp-caption-text">3.- All postgresql 13 packages</figcaption></figure></p>
<p>As you can see in the image, we have PostgreSQL 13 available. So to install it run the following command:</p>
<pre>:~$ sudo apt install postgresql-13
Reading package lists... Done
Building dependency tree 
Reading state information... Done
The following additional packages will be installed:
libgdbm-compat4 libjson-perl libllvm7 libperl5.28 libpq5 libxslt1.1 perl pgdg-keyring postgresql-client-13 postgresql-client-common postgresql-common ssl-cert
Suggested packages:
perl-doc libterm-readline-gnu-perl | libterm-readline-perl-perl make libb-debug-perl liblocale-codes-perl postgresql-doc-13 openssl-blacklist
Recommended packages:
libjson-xs-perl sysstat
The following NEW packages will be installed:
libgdbm-compat4 libjson-perl libllvm7 libperl5.28 libpq5 libxslt1.1 perl pgdg-keyring postgresql-13 postgresql-client-13 postgresql-client-common postgresql-common
ssl-cert
0 upgraded, 13 newly installed, 0 to remove and 10 not upgraded.
Need to get 34.5 MB of archives.
After this operation, 145 MB of additional disk space will be used.
Do you want to continue? [Y/n]</pre>
<p><figure id="attachment_30631" aria-describedby="caption-attachment-30631" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-30631 size-full" src="https://www.osradar.com/wp-content/uploads/2020/03/4-22.png" alt="4.- Install PostgreSQL 13 on Debian 10" width="1365" height="307" srcset="https://www.osradar.com/wp-content/uploads/2020/03/4-22.png 1365w, https://www.osradar.com/wp-content/uploads/2020/03/4-22-300x67.png 300w, https://www.osradar.com/wp-content/uploads/2020/03/4-22-1024x230.png 1024w, https://www.osradar.com/wp-content/uploads/2020/03/4-22-768x173.png 768w, https://www.osradar.com/wp-content/uploads/2020/03/4-22-696x157.png 696w, https://www.osradar.com/wp-content/uploads/2020/03/4-22-1068x240.png 1068w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-30631" class="wp-caption-text">4.- Install PostgreSQL 13 on Debian 10</figcaption></figure></p>
<p>Now we&#8217;ll see if everything went well.</p>
<h2>Testing the installation</h2>
<p>By default, Debian when installing PostgreSQL starts and enables the service. Therefore, it is ready to be tested. However, if you want to stop the service, you can use this command:</p>
<pre>:~$ sudo systemctl stop postgresql</pre>
<p>On the other hand, the best way to know if PostgreSQL is ready for work is to execute some command from the console. So we&#8217;ll access it first:</p>
<pre>:~$ sudo -i -u postgres</pre>
<p>Remember that the PostgreSQL console is accessed through the postgres user.</p>
<p>And finally, we access with this command:</p>
<pre>:~# psql</pre>
<p>Once inside, we can, for example, display all the databases in the system:</p>
<pre>:~# \l</pre>
<p><figure id="attachment_18618" aria-describedby="caption-attachment-18618" style="width: 885px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-18618" src="https://www.osradar.com/wp-content/uploads/2020/02/5-12.png" alt="5.- All postgresql databases" width="885" height="317" srcset="https://www.osradar.com/wp-content/uploads/2020/02/5-12.png 885w, https://www.osradar.com/wp-content/uploads/2020/02/5-12-300x107.png 300w, https://www.osradar.com/wp-content/uploads/2020/02/5-12-768x275.png 768w, https://www.osradar.com/wp-content/uploads/2020/02/5-12-696x249.png 696w" sizes="(max-width: 885px) 100vw, 885px" /><figcaption id="caption-attachment-18618" class="wp-caption-text">5.- All postgresql databases</figcaption></figure></p>
<p>And so we can work without problems with PostgreSQL.</p>
<h2>Conclusion</h2>
<p>PostgreSQL 13 is a powerful database manager that is used in many projects worldwide. This makes many people want to have the latest stable versions to take even more advantage of the tool.</p>
<p>Please share this post and join <a href="https://t.me/osradar" target="_blank" rel="noopener noreferrer">our Telegram channel</a>.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-postgresql-13-debian-10/">How to install PostgreSQL 13 on 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/how-to-install-postgresql-13-debian-10/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
