<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Linux on Thanos Apollo</title>
    <link>https://thanosapollo.org/tags/linux/</link>
    <description>Recent content in Linux on Thanos Apollo</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Wed, 04 Dec 2024 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://thanosapollo.org/tags/linux/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Installing GNU Guix | Using non-free drivers (NonGuix) [Video]</title>
      <link>https://thanosapollo.org/posts/installing-gnu-guix-video/</link>
      <pubDate>Wed, 04 Dec 2024 00:00:00 +0000</pubDate>
      <guid>https://thanosapollo.org/posts/installing-gnu-guix-video/</guid>
      <description>Video tutorial installing GNU Guix, using NonGuix.</description>
      <content:encoded><![CDATA[<center>
<p><i>Installing GNU Guix | Using non-free kernel drivers (Nonguix)</i></p>
<iframe width="560" height="315" src="https://www.youtube.com/embed/p1w8dwHxFnk?si=EA976WIQ-ZFXSUNu" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</center>
<h2 id="notes-shown-in-the-video">Notes shown in the video:</h2>
<ul>
<li><strong>GNU Guix</strong> is a GNU distribution</li>
<li>Provides an <strong>emacs-like</strong> operating system, using guile scheme as
it&rsquo;s configuration language.</li>
<li>Only free software is available OOB, uses <code>linux-libre</code> kernel by
default.
<ul>
<li>But since it&rsquo;s an emacs-like OS, we can configure it however
we like, including to use the full linux kernel.</li>
</ul>
</li>
</ul>
<h3 id="installing-guix-using-nonguix">Installing Guix, using <a href="https://gitlab.com/nonguix/nonguix">NonGuix</a></h3>
<ul>
<li><a href="https://gitlab.com/nonguix/nonguix">NonGuix</a> is a Guix channel
that provides non-free software, such as
non-free drivers &amp; games.</li>
<li>NonGuix also provides an iso image that comes with the full linux
kernel</li>
</ul>
<h3 id="download-nonguix-iso">Download nonguix iso</h3>
<ul>
<li>Visit <a href="https://gitlab.com/nonguix/nonguix/-/releases">nonguix releases</a> page</li>
<li>Download the iso image &amp; write it to a USB stick</li>
</ul>
<p><em>Example <code>dd</code> command to use:</em></p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sh" data-lang="sh"><span style="display:flex;"><span>$ sudo dd <span style="color:#66d9ef">if</span><span style="color:#f92672">=</span>/path/to/image.iso of<span style="color:#f92672">=</span>/dev/sdX bs<span style="color:#f92672">=</span>4M status<span style="color:#f92672">=</span>progress
</span></span></code></pre></div><h3 id="clone-nonguix-repo">Clone nonguix repo</h3>
<ul>
<li><em>After completing the graphical installer</em></li>
<li>Clone the nonguix repo from <code>https://gitlab.com/nonguix/nonguix</code></li>
<li>Copy the README instructions for channels into
<code>/mnt/etc/channels.scm</code></li>
<li>Add the NonGuix modules to your system configuration and use the
<code>linux-lts</code> kernel on <code>/mnt/etc/config.scm</code></li>
</ul>
<!--listend-->
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-scheme" data-lang="scheme"><span style="display:flex;"><span><span style="color:#75715e">;; Import nonfree linux module.</span>
</span></span><span style="display:flex;"><span>(<span style="color:#a6e22e">use-modules</span> (<span style="color:#a6e22e">nongnu</span> packages linux)
</span></span><span style="display:flex;"><span>             (<span style="color:#a6e22e">nongnu</span> system linux-initrd))
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span>(<span style="color:#a6e22e">operating-system</span>
</span></span><span style="display:flex;"><span>  (<span style="color:#a6e22e">kernel</span> linux-lts)
</span></span><span style="display:flex;"><span>  (<span style="color:#a6e22e">initrd</span> microcode-initrd)
</span></span><span style="display:flex;"><span>  (<span style="color:#a6e22e">firmware</span> (list linux-firmware))
</span></span><span style="display:flex;"><span>  <span style="color:#f92672">...</span>
</span></span><span style="display:flex;"><span>  )
</span></span></code></pre></div><h3 id="install-your-system">Install Your System</h3>
<ul>
<li>Run the following command to install your system:</li>
</ul>
<!--listend-->
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-sh" data-lang="sh"><span style="display:flex;"><span>$ guix time-machine -C /mnt/etc/channels.scm -- system init /mnt/etc/config.scm /mnt
</span></span></code></pre></div>]]></content:encoded>
    </item>
    <item>
      <title>Switching To Gentoo Linux</title>
      <link>https://thanosapollo.org/posts/gentoo-beginning/</link>
      <pubDate>Sun, 12 Nov 2023 00:00:00 +0000</pubDate>
      <guid>https://thanosapollo.org/posts/gentoo-beginning/</guid>
      <description>The end-game of my Linux journey has begun | Switching to Gentoo, the beginning.</description>
      <content:encoded><![CDATA[<p>I&rsquo;ve leveled up to become a Gentoo user, the most elite nerd species
in GNU/Linux Land. All my devices have been transformed into Gentoo
machines, and needless to say, I&rsquo;m ecstatic about it.</p>
<p><em>Disclaimer: This post contains a healthy amount of sarcasm, just in
case you didn&rsquo;t catch on.</em></p>
<figure>
    <img loading="lazy" src="/images/setup-07-11-2023.jpg"
         alt="Gentoo Desktop and Thinkpad Setup" width="450"/> 
</figure>

<h2 id="about">About</h2>
<p>I&rsquo;ve been an <a href="https://archlinux.org">Arch Linux</a> user for a while now,
Arch Linux was the first distro I&rsquo;ve ever installed on hardware. It
treated me well over the past year, but after trying out gentoo on a virtual
machine I think I&rsquo;ve found my <code>$HOME</code>. Now I&rsquo;m running
<a href="https://gentoo.org">Gentoo</a> on all of my devices for the past 2+ weeks.</p>
<h2 id="what-did-you-enjoy-so-much-about-gentoo">What did you enjoy so much about Gentoo?</h2>
<h3 id="gentoo-handbook">Gentoo Handbook</h3>
<p><a href="https://wiki.gentoo.org/wiki/Handbook:Main_Page">The Gentoo Handbook</a>, I
can&rsquo;t really stress this enough, the Gentoo Handbook, is
<strong><em>extensively</em></strong> documented with every detail you might need,
<strong><em>specifically</em></strong> for using Gentoo. The Arch Wiki is awesome, it
includes documentation for a wide range of programs, but it&rsquo;s a
generic documentation that feels more like a general &ldquo;Linux wiki&rdquo;
rather than specific for Arch Linux. Even the parts that are specific
to Arch Linux, such as the installation instructions, are <em>severely</em> lacking,
which leads to most of the Arch Linux users to rely on third party
guides even on how to install their OS.</p>
<p>No other Linux Distribution has a centralized &ldquo;book&rdquo; that takes you
&ldquo;by the hand&rdquo; from the installation process all the way to working
with native software tools that you&rsquo;ll interact with on a daily basis, that
can compare to the Gentoo Handbook.</p>
<h3 id="community">Community</h3>
<p>One thing that I advocate about choosing which software to use is:</p>
<blockquote>
<p>Use software projects that you wouldn&rsquo;t mind / would like contributing to</p>
</blockquote>
<p>Gentoo community is the most helpful one that I&rsquo;ve found so far,
specifically I&rsquo;ve had people on the <a href="https://wiki.gentoo.org/wiki/Project:GURU">GURU
Project</a>, <em>analogous to the
AUR</em> package software that I needed as well as help me on
contributing, which has been a rather pleasant &amp; chill experience.</p>
<blockquote>
<p>If a project has a &ldquo;toxic&rdquo; community that you don&rsquo;t want to interact
with, its a huge red-flag for me.</p>
</blockquote>
<h2 id="but-why-would-you-compile-everything-from-source">But&hellip; Why would you compile everything from source?</h2>
<blockquote>
<p><em>Because someone has too&hellip;</em></p>
</blockquote>
<p>Jokes aside, there are many advantages to compiling your system from
source rather than installing an already made binary that someone
else compiled, hoping that it is compiled the way you want.</p>
<blockquote>
<p><a href="https://yewtu.be/watch?v=8QcI43IwkVc">Mental Outlaw (Invidious)</a>
has made a nice video explaining some important details/reasons for
running Gentoo, as well as <a href="https://yewtu.be/watch?v=6JUD-ZYuLPA">10leej
(Invidious)</a>, if you want to learn more.</p>
</blockquote>
<h2 id="it-takes-way-too-much-time-install-nobody-has-time-for-that">It takes way too much time install, nobody has time for that!</h2>
<p>It doesn&rsquo;t really take that much more time from installing Arch Linux,
I&rsquo;ve installed Gentoo on my desktop (Ryzen 7 5800X) the first time, in
~2 hours, most of which I&rsquo;ve spend reading the handbook. For reference,
my compile times are as follows:</p>
<p><em>output of <code>genlop -t &lt;package&gt;</code></em></p>
<blockquote>
<p>sys-kernel/gentoo-kernel-6.1.57 merge time: 15 minutes and 40 seconds.
www-client/firefox-115.4.0 merge time: 15 minutes and 26 seconds.
app-editors/emacs-29.1-r1 merge time: 52 seconds.
x11-wm/qtile-0.22.1-r2 merge time: 6 seconds.</p>
</blockquote>
<p>The only time consuming compile times I&rsquo;ve seen were for firefox &amp;
linux kernel, both of which are just 30 min combined, you also have
the option to use -bin packages instead. With the exception of those 2
packages mentioned above, I haven&rsquo;t spend more than 2 minutes
compiling a package.</p>
<p>I&rsquo;ve first considered setting up <a href="https://www.distcc.org/">distcc</a> for
my ThinkPad x220, but eventually I decided to let firefox &amp;
gentoo-kernel compile while I&rsquo;m on the gym for my workout.</p>
<blockquote>
<p>Note: I&rsquo;ve only installed ~700 packages on ThinkPad, and ~900 on my
desktop, most of that difference is due to installing
qemu/virt-manager on my desktop &amp; random fonts. I&rsquo;m not using a DE,
if you are planning to use GNOME or KDE etc. you might have a
different experience than me in that regard, since many DE&rsquo;s are
quite large and take a lot of time to compile.</p>
</blockquote>
<h2 id="summary">Summary</h2>
<p>I&rsquo;ve been enjoying running Gentoo on all my devices for the past
weeks. One of the main advantages of Gentoo is the control it provides
for tailoring your system to your liking. This is bundled with one of the
best documentation, if not the best, available to learn everything you
need to know about using your Linux system.</p>
<p>The community is rather chill &amp; friendly that welcomes new
contributions and will help you with any issue you might have.</p>
<blockquote>
<p>If you are able to read and follow instructions on how to install &amp; use your
system, you will find Gentoo to be a simple, reliable Linux
Distribution, with a helpful community. If you want a &ldquo;just works&rdquo;
experience, stay away from Gentoo, it&rsquo;s a &ldquo;Nerd&rsquo;s Only Allowed&rdquo;
place.</p>
</blockquote>]]></content:encoded>
    </item>
  </channel>
</rss>
