<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>ubuntu on Developer&#39;s blog</title>
    <link>/tags/ubuntu/</link>
    <description>Recent content in ubuntu on Developer&#39;s blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Sat, 25 Dec 2021 10:00:00 +0000</lastBuildDate><atom:link href="/tags/ubuntu/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Install Ubuntu on External Disk</title>
      <link>/posts/install-ubuntu-on-external-disk/</link>
      <pubDate>Sat, 25 Dec 2021 10:00:00 +0000</pubDate>
      
      <guid>/posts/install-ubuntu-on-external-disk/</guid>
      <description>&lt;p&gt;Sometimes it can be useful to have an external HDD or SSD with a familiar environment installed.
With such a device it&amp;rsquo;s possible to check the computer from eBay for GPU or memory faults, restore a
primary OS of the workstation after an unsuccessful software update or just work on another PC with
a familiar OS without any modifications of any software on this machine.&lt;/p&gt;
&lt;p&gt;I use Ubuntu 20.04 as a primary OS, that is why in this article, I&amp;rsquo;ll explain how to install it on
an external drive.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Ubuntu periodic tasks</title>
      <link>/posts/ubuntu-periodic-tasks/</link>
      <pubDate>Sat, 17 Jul 2021 06:00:00 +0000</pubDate>
      
      <guid>/posts/ubuntu-periodic-tasks/</guid>
      <description>&lt;p&gt;Ubuntu is an open-source system that allows users to control different components. Default desktop
installation has a bunch of periodic tasks out of the box. It&amp;rsquo;s important to understand what is the
purpose of these tasks and how often they are called. This knowledge allows to predict the network
activity, reduce the number of unexpected CPU spikes and improve user experience. Moreover, some of
the default tasks can be redundant for the particular user and that is why should be disabled.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>mDNS on Ubuntu Server</title>
      <link>/posts/mdns-on-ubuntu-server/</link>
      <pubDate>Tue, 25 May 2021 03:00:00 +0000</pubDate>
      
      <guid>/posts/mdns-on-ubuntu-server/</guid>
      <description>&lt;p&gt;Recently I was configuring a virtual network of several KVM machines for the testing of Gitlab
installation. It&amp;rsquo;s more convenient when I can access machines by hostname but I don&amp;rsquo;t want to
install and support a DNS server. So I&amp;rsquo;d decided to use mDNS.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Wrong Copying Progress and Long Disk Unmounting on Ubuntu</title>
      <link>/posts/wrong-copying-progress-and-long-disk-unmounting-on-ubuntu/</link>
      <pubDate>Mon, 04 Jan 2021 11:00:00 +0000</pubDate>
      
      <guid>/posts/wrong-copying-progress-and-long-disk-unmounting-on-ubuntu/</guid>
      <description>&lt;p&gt;&lt;img src=&#34;../../unmount-freezes.png&#34; alt=&#34;Unmount freezes&#34;&gt;&lt;/p&gt;
&lt;p&gt;Sometimes I need to copy files from an internal SSD to an external hard drive. Recently I&amp;rsquo;ve found a
strange behavior on Ubuntu 20.04. When I try to copy a fairly big file (like 2Gb - 4Gb) Nautilus
shows insane writing speed and the progress bar instantly reaches 100%, but when I want to unmount
the device - it freezes for several minutes. I tried different file managers like
&lt;a href=&#34;https://docs.xfce.org/xfce/thunar/start&#34;&gt;Thunar&lt;/a&gt; from Xfce,
&lt;a href=&#34;https://midnight-commander.org/&#34;&gt;midnight-commander&lt;/a&gt;, or even utilities like &lt;code&gt;rsync&lt;/code&gt; or &lt;code&gt;pv&lt;/code&gt; - the
result was the same. For me, it&amp;rsquo;s a bit inconvenient when I don&amp;rsquo;t know how much time I have to wait
until all data will be transferred, so I tried to find the solution to this problem.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Ubuntu Snap: the Price of the Isolation</title>
      <link>/posts/ubuntu-snap-the-price-of-the-isolation/</link>
      <pubDate>Sat, 12 Sep 2020 06:00:00 +0000</pubDate>
      
      <guid>/posts/ubuntu-snap-the-price-of-the-isolation/</guid>
      <description>&lt;p&gt;The idea of the majority of Linux distributions is to compile Linux kernel, collect existing Open
Source and proprietary software, test and then patch it if required, add something own and pack the
results into the packages, so users can install and use these programs. Ubuntu packages grouped into
APT repositories. Users can manage packages with &lt;code&gt;apt&lt;/code&gt; command.&lt;/p&gt;
&lt;p&gt;Software developers usually do not write all the code required by their programs, but use different
libraries and frameworks (e.g. graphical applications can use GTK to draw widgets like button or
label). It allows developers to save some time and make fewer bugs. As a result the majority of
software nowadays has dependencies. Different programs can depend on the same library (most of the
GUI programs in Gnome depend on GTK) that is why there is no need to install the same library
several times. Each APT package defines a list of dependencies, so when the user executes a command
like &lt;code&gt;apt install gnome-calculator&lt;/code&gt; package manager install not only &lt;code&gt;gnome-calculator&lt;/code&gt; itself but
also its dependencies like &lt;code&gt;libgtksourceview-4-0&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Such an approach allows users to save disk space and reduce security risks: if there is some problem
in the common library it&amp;rsquo;s enough to update it once and all dependent programs will use the new
version. Unfortunately, such an approach is not a silver bullet and has some downsides:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Suppose two programs depend on different versions of the same library. It this case there will be
a conflict during dependencies resolution that is why &lt;code&gt;apt&lt;/code&gt; command will fail and the user can&amp;rsquo;t
install both programs at the same time.&lt;/li&gt;
&lt;li&gt;Providers of third-party software like Viber or Skype have to make different packages of the same
product for different Ubuntu distributions, e.g. 18.04 and 20.04 have different versions of system
libraries that, so it&amp;rsquo;s required to build and maintain two different packages for one program.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;apt&lt;/code&gt; installs each program globally so it will be a conflict when two packages try to create a
file with the same name.&lt;/li&gt;
&lt;li&gt;Traditional programs can access all user files and resources that is why it&amp;rsquo;s difficult to control
such software. In case of a security vulnerability in one program all user&amp;rsquo;s files are in danger.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Several years ago Ubuntu introduced &lt;a href=&#34;https://snapcraft.io/&#34;&gt;Snap&lt;/a&gt; - a package manager with an
alternative approach, designed to solve &lt;code&gt;apt&lt;/code&gt; problems.&lt;/p&gt;</description>
    </item>
    
  </channel>
</rss>
