Sick Gaming
AryaLinux: A Distribution and a Platform - Printable Version

+- Sick Gaming (https://www.sickgaming.net)
+-- Forum: Computers (https://www.sickgaming.net/forum-86.html)
+--- Forum: Linux, FreeBSD, and Unix types (https://www.sickgaming.net/forum-88.html)
+--- Thread: AryaLinux: A Distribution and a Platform (/thread-86080.html)



AryaLinux: A Distribution and a Platform - xSicKxBot - 08-17-2018

AryaLinux: A Distribution and a Platform

<div style="margin: 5px 5% 10px 5%;"><img src="http://www.sickgaming.net/blog/wp-content/uploads/2018/08/aryalinux-a-distribution-and-a-platform.jpg" width="1920" height="1080" title="" alt="" /></div><div><div><img src="http://www.sickgaming.net/blog/wp-content/uploads/2018/08/aryalinux-a-distribution-and-a-platform.jpg" class="ff-og-image-inserted" /></div>
<p>Most Linux distributions are simply that: A distribution of Linux that offers a variation on an open source theme. You can download any of those distributions, install it, and use it. Simple. There’s very little mystery to using Linux these days, as the desktop is incredibly easy to use and server distributions are required in business.</p>
<p>But not every Linux distribution ends with that idea; some go one step further and create both a distribution and a platform. Such is the case with <a href="http://aryalinux.org">AryaLinux</a>. What does that mean? Easy. AryaLinux doesn’t only offer an installable, open source operating system, they offer a platform with which users can build a complete GNU/Linux operating system. The provided scripts were created based on the instructions from <a href="http://www.linuxfromscratch.org/">Linux From Scratch</a> and <a href="http://www.linuxfromscratch.org/blfs/">Beyond Linux From Scratch</a>. </p>
<p>If you’ve ever attempted to build you own Linux distribution, you probably know how challenging it can be. AryaLinux has made that process quite a bit less stressful. In fact, although the build can take quite a lot of time (up to 48 hours), the process of building the AryaLinux platform is quite easy.</p>
<p>But don’t think that’s the only way you can have this distribution. You can download a live version of AryaLinux and install as easily as if you were working with Ubuntu, Linux Mint, or Elementary OS.</p>
<p>Let’s get AryaLinux up and running from the live distribution and then walk through the process of building the platform, using the special builder image.</p>
<h3>The Live distribution</h3>
<p>From the <a href="http://aryalinux.org/downloads/">AryaLinux download pag</a>e, you can get a version of the operating system that includes either <a href="https://sourceforge.net/projects/aryalinux/files/releases/1.0/aryalinux-gnome-1.0-x86_64-fixed.iso">GNOME</a> or <a href="https://sourceforge.net/projects/aryalinux/files/releases/1.0/aryalinux-xfce-1.0-x86_64.iso">Xfce</a>. I chose the GNOME route and found it to be configured to include Dash to dock and Applications menu extensions. Both of these will please most average GNOME users. Once you’ve downloaded the ISO image, burn it to either a DVD/CD or to a USB flash drive and boot up the live instance. Do note, you need to have at least 25GB of space on a drive to install AryaLinux. If you’re planning on testing this out as a virtual machine, create a 30-40 GB virtual drive, otherwise the installer will fail every time.</p>
<p>Once booted, you will be presented with a login screen, with the default user selected. Simply click the user and login (there is no password required).</p>
<p>To locate the installer, click the Applications menu, click Activities Overview, type “installer” and click on the resulting entry. This will launch the AryaLinux installer … one that looks very familiar to many Linux installers (Figure 1).</p>
<p>In the next window (Figure 2), you are required to define a root partition. To do this, type “/” (no quotes) in the Choose the root partition section.</p>
<p>If you don’t define a home partition, it will be created for you. If you don’t define a swap partition, none will be created. If you have a need to create a home partition outside of the standard<em> </em><em>/home</em>, do it here. The next installation windows have you do the following:</p>
<p>That’s all there is to the installation. Once it completes, reboot, remove the media (or delete the .iso from your Virtual Machine storage listing), and boot into your newly-installed AryaLinux operating system.</p>
<h3>What’s there?</h3>
<p>Out of the box, you should find everything necessary to use AryaLinux as a full-functioning desktop distribution. Included is:</p>
<h3>The caveats</h3>
<p>It should be noted that this is the first official release of AryaLinux, so there will be issues. Right off the bat I realized that no matter what I tried, I could not get the terminal to open. Unfortunately, the terminal is a necessary tool for this distribution, as there is no GUI for updating or installing packages. In order to get to a bash prompt, I had to use a virtual screen. That’s when the next caveat came into play. The package manager for AryaLinux is alps, but its primary purpose is working in conjunction with the build scripts to install the platform. Unfortunately there is no included man page for alps on AryaLinux and the documentation is very scarce. Fortunately, the developers did think to roll in Flatpak support, so if you’re a fan of Flatpak, you can install anything you need (so long as it’s available as a flatpak package) using that system.</p>
<h3>Building the platform</h3>
<p>Let’s talk about building the AryaLinux platform. This isn’t much harder than installing the standard distribution, only it’s done via the command line. Here’s what you do:</p>
<ol>
<li>
<p>Download the <a href="https://sourceforge.net/projects/aryalinux/files/releases/1.0/aryalinux-builder-1.0-x86_64.iso">AryaLinux Builder Disk</a>.</p>
</li>
<li>
<p>Burn the ISO to either DVD/CD or USB flash drive.</p>
</li>
<li>
<p>Boot the live image.</p>
</li>
<li>
<p>Once you reach the desktop, open a terminal window from the menu.</p>
</li>
<li>
<p>Change to the root user with the command sudo su.</p>
</li>
<li>
<p>Change directories with the command cd aryalinux/base-system</p>
</li>
<li>
<p>Run the build script with the command ./build-arya</p>
</li>
</ol>
<p>You will first be asked if you want to start a fresh build or resume a build (Figure 3). Remember, the AryaLinux build takes a LOT of time, so there might be an instance where you’ve started a build and need to resume.</p>
<p>To start a new build, type “1” and then hit Enter on your keyboard. You will now be asked to define a  number of options (in order to fulfill the build script requirements). Those options are:</p>
<ul>
<li>
<p>Bootloader Device</p>
</li>
<li>
<p>Root Partition</p>
</li>
<li>
<p>Home Partition</p>
</li>
<li>
<p>Locale</p>
</li>
<li>
<p>OS Name</p>
</li>
<li>
<p>OS Version</p>
</li>
<li>
<p>OS Codename</p>
</li>
<li>
<p>Domain Name</p>
</li>
<li>
<p>Keyboard Layout</p>
</li>
<li>
<p>Printer Paper Size</p>
</li>
<li>
<p>Enter Full Name</p>
</li>
<li>
<p>Username</p>
</li>
<li>
<p>Computer Name</p>
</li>
<li>
<p>Use multiple cores for build (y/n)</p>
</li>
<li>
<p>Create backups (y/n)</p>
</li>
<li>
<p>Install X Server (y/n)</p>
</li>
<li>
<p>Install Desktop Environment (y/n)</p>
</li>
<li>
<p>Choose Desktop Environment (XFCE, Mate, KDE, GNOME)</p>
</li>
<li>
<p>Do you want to configure advanced options (y/n)</p>
</li>
<li>
<p>Create admin password</p>
</li>
<li>
<p>Create password for standard user</p>
</li>
<li>
<p>Install bootloader (y/n)</p>
</li>
<li>
<p>Create Live ISO (y/n)</p>
</li>
<li>
<p>Select a timezone</p>
</li>
</ul>
<p>After you’ve completed the above, the build will start. Don’t bother watching it, as it will take a very long time to complete (depending upon your system and network connection). In fact, the build can take anywhere from 8-48 hours. After the build completes, reboot and log into your newly built AryaLinux platform.</p>
<h3>Who is AryaLinux for?</h3>
<p>I’ll be honest, if you’re just a standard desktop user, AryaLinux is not for you. Although you can certainly get right to work on the desktop, if you need anything outside of the default applications, you might find it a bit too much trouble to bother with. If, on the other hand, you’re a developer, AryaLinux might be a great platform for you. Or, if you just want to see what it’s like to build a Linux distribution from scratch, AryaLinux is a pretty easy route.</p>
<p>Even with its quirks, AryaLinux holds a lot of promise as both a Linux distribution and platform. If the developers can see to it to build a GUI front-end for the alps package manager, AryaLinux could make some serious noise.</p>
<p><em>Learn more about Linux through the free <a href="https://training.linuxfoundation.org/linux-courses/system-administration-training/introduction-to-linux">“Introduction to Linux” </a>course from The Linux Foundation and edX.</em></p>
</div>