<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Guide on Swinux</title><link>https://swinux.org/tags/guide/</link><description>Recent content in Guide on Swinux</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Wed, 27 May 2026 12:30:00 +1000</lastBuildDate><atom:link href="https://swinux.org/tags/guide/index.xml" rel="self" type="application/rss+xml"/><item><title>Getting Started With Linux: The Beginner's Brief</title><link>https://swinux.org/posts/2026/may-27-getting-started-linux/</link><pubDate>Wed, 27 May 2026 12:30:00 +1000</pubDate><guid>https://swinux.org/posts/2026/may-27-getting-started-linux/</guid><description>&lt;p>There&amp;rsquo;s been a lot of fuss about Linux in the past couple of months (and years), and it hasn&amp;rsquo;t exactly come from nowhere. A huge cultural shift has taken place due to the perceived lack of control over the devices we own and use everyday.&lt;/p>
&lt;p>Companies such as Microsoft are now seen by some, whether accurately or not, as prioritising their interests to the extreme over the consumer. This has meant the desire for an alternative platform for desktop computing has been slowly growing, and all the while Linux has been making strides to provide a better and better experience for users.&lt;/p></description><content>&lt;p>There&amp;rsquo;s been a lot of fuss about Linux in the past couple of months (and years), and it hasn&amp;rsquo;t exactly come from nowhere. A huge cultural shift has taken place due to the perceived lack of control over the devices we own and use everyday.&lt;/p>
&lt;p>Companies such as Microsoft are now seen by some, whether accurately or not, as prioritising their interests to the extreme over the consumer. This has meant the desire for an alternative platform for desktop computing has been slowly growing, and all the while Linux has been making strides to provide a better and better experience for users.&lt;/p>
&lt;p>&lt;strong>Contents&lt;/strong>
&lt;div class="contents">
&lt;nav id="TableOfContents">
&lt;ul>
&lt;li>&lt;a href="#some-context-and-history">Some Context and History&lt;/a>&lt;/li>
&lt;li>&lt;a href="#why-should-i-use-linux">Why Should I Use Linux?&lt;/a>&lt;/li>
&lt;li>&lt;a href="#how-can-i-install-linux">How Can I Install Linux?&lt;/a>
&lt;ul>
&lt;li>&lt;a href="#dual-boot">Dual-Boot&lt;/a>&lt;/li>
&lt;li>&lt;a href="#standalone">Standalone&lt;/a>&lt;/li>
&lt;li>&lt;a href="#virtualised">Virtualised&lt;/a>&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>&lt;a href="#whats-a-desktop-environment">What&amp;rsquo;s a Desktop Environment?&lt;/a>
&lt;ul>
&lt;li>&lt;a href="#kde">KDE&lt;/a>&lt;/li>
&lt;li>&lt;a href="#gnome">GNOME&lt;/a>&lt;/li>
&lt;li>&lt;a href="#xfce">XFCE&lt;/a>&lt;/li>
&lt;li>&lt;a href="#anything-else">Anything Else?&lt;/a>&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>&lt;a href="#whats-a-distro-distribution-and-which-do-i-pick">What’s a Distro (Distribution), and Which Do I Pick?&lt;/a>
&lt;ul>
&lt;li>&lt;a href="#fedora-silverbluekinoite">Fedora Silverblue/Kinoite&lt;/a>&lt;/li>
&lt;li>&lt;a href="#cachyos">CachyOS&lt;/a>&lt;/li>
&lt;li>&lt;a href="#ubuntu">Ubuntu&lt;/a>&lt;/li>
&lt;li>&lt;a href="#yet-another-distro">Yet Another Distro&lt;/a>&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>&lt;a href="#how-do-i-use-linux">How do I Use Linux?&lt;/a>
&lt;ul>
&lt;li>&lt;a href="#the-filesystem">The Filesystem&lt;/a>&lt;/li>
&lt;li>&lt;a href="#the-terminal">The Terminal&lt;/a>&lt;/li>
&lt;li>&lt;a href="#the-package-manager">The Package Manager&lt;/a>&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>&lt;a href="#are-there-any-learning-resources-you-recommend">Are There Any Learning Resources You Recommend?&lt;/a>
&lt;ul>
&lt;li>&lt;a href="#the-arch-wiki">The Arch Wiki&lt;/a>&lt;/li>
&lt;li>&lt;a href="#youtube">YouTube&lt;/a>&lt;/li>
&lt;li>&lt;a href="#forums">Forums&lt;/a>&lt;/li>
&lt;li>&lt;a href="#using-ai">Using AI&lt;/a>&lt;/li>
&lt;/ul>
&lt;/li>
&lt;/ul>
&lt;/nav>
&lt;/div>
&lt;/p>
&lt;h2 id="some-context-and-history">Some Context and History&lt;/h2>
&lt;p>So, you&amp;rsquo;ve just heard about Linux and want to know more about what it is and what it can do for you. Let&amp;rsquo;s start with a bit of context and a Cliff Notes version of Linux&amp;rsquo;s history.&lt;/p>
&lt;p>Linux itself is a kernel, used as the medium to communicate between the hardware and software layers of your computer. Since it&amp;rsquo;s inception people have contributed and built software on top of the Linux kernel to provide the other needs of a desktop experience such as filesystems, audio management and much much more. The combination of this software and the Linux kernel is colloquially known as Linux for simplicities sake.&lt;/p>
&lt;p>Linux began as a project built by &lt;a href="https://en.wikipedia.org/wiki/Linus_Torvalds">Linus Torvalds&lt;/a> in 1991 as a hobbyist project. He eventually released it to the public and subsequently others improved and built upon his work. Alongside other key contributors, he has spent the subsequent years as a steward of the Linux kernel to help guide the direction of the project. The key point here is that the code behind Linux is &lt;a href="https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html">available to anyone to share, modify and use&lt;/a>.&lt;/p>
&lt;p>You can now find Linux everywhere, from Android smartphones, point-of-sale machines, smart devices to servers that power the cloud. At some point you or your device has interacted with a Linux system, perhaps without you even knowing it.&lt;/p>
&lt;figure>
&lt;picture>
&lt;source type="image/webp"
srcset="https://swinux.org/posts/2026/may-27-getting-started-linux/images/pixel-phone_hu_c17d1a020394f81a.webp 320w, https://swinux.org/posts/2026/may-27-getting-started-linux/images/pixel-phone_hu_108d226f2e212b08.webp 640w, https://swinux.org/posts/2026/may-27-getting-started-linux/images/pixel-phone_hu_b7a1a3f167223501.webp 1024w"
sizes="(max-width: 640px) 100vw, (max-width: 1024px) 90vw, 1024px">
&lt;source type="image/png"
srcset="https://swinux.org/posts/2026/may-27-getting-started-linux/images/pixel-phone_hu_bade047f2a83abd3.png 320w, https://swinux.org/posts/2026/may-27-getting-started-linux/images/pixel-phone_hu_5b2dc8a030fe104b.png 640w, https://swinux.org/posts/2026/may-27-getting-started-linux/images/pixel-phone_hu_ace77fdb23873054.png 1024w"
sizes="(max-width: 640px) 100vw, (max-width: 1024px) 90vw, 1024px">
&lt;img src="https://swinux.org/posts/2026/may-27-getting-started-linux/images/pixel-phone_hu_ace77fdb23873054.png"
alt="A photo of a person holding a Google Pixel phone running Android, a Linux derived operating system."
width="1536"
height="1024"
decoding="async"
fetchpriority="high"
style="width: 80%; height: auto; max-width: 1536px;"
class="center">
&lt;/picture>&lt;figcaption>&lt;b>&lt;em>A Google Pixel running Android, a Linux derived operating system.&lt;/em>&lt;/b>&lt;/figcaption>&lt;/figure>
&lt;h2 id="why-should-i-use-linux">Why Should I Use Linux?&lt;/h2>
&lt;p>As mentioned before, one of the most significant draws to Linux is the control. You can choose to let the operating system (OS) handle everything for you, or you can decide how you want to customise the desktop, what specific version to run, how much storage to allocate where, the list goes on and on.&lt;/p>
&lt;p>Another large yet often understated reason is that Linux will often have more user-centric defaults than other operating systems. This eases the friction of migrating and also avoids intermittent annoyances that you find in other solutions, such as immediate reboots, clingy web browsers or forced online backups. Although you will inevitably run into minor issues with Linux (no OS is perfect), they will often be one-and-done issues that are easy to fix with a quick online search.&lt;/p>
&lt;p>Linux also provides a safe haven against spyware, adware and other potentially malicious activities that would run on other operating systems but can&amp;rsquo;t on Linux. In addition, Linux can feature more &lt;em>sane&lt;/em> defaults for security, meaning that most apps work securely out of the box without having to allow permissions or go down rabbit holes. It must be noted however that although Linux on desktop is absent of most malware, with the uptick in adoption this may change in the future.&lt;/p>
&lt;h2 id="how-can-i-install-linux">How Can I Install Linux?&lt;/h2>
&lt;p>There&amp;rsquo;s three main ways you can use Linux, but only the first two are particularly usable in day-to-day situations, dual-booting and standalone Linux. Before you jump in, make sure to keep backups of your data (you should be doing this anyway!) as you don&amp;rsquo;t want to lose it.&lt;/p>
&lt;h3 id="dual-boot">Dual-Boot&lt;/h3>
&lt;p>The first, and most versatile option is to install Linux alongside your existing Windows installation. Granted you have enough storage to share two operating systems, when you power on your computer, you can choose what operating system you want to launch. It&amp;rsquo;s often useful if you want to keep Windows for apps that can&amp;rsquo;t run on Linux such as games like Valorant, a game which requires full access to your computer for you to play.&lt;/p>
&lt;h3 id="standalone">Standalone&lt;/h3>
&lt;p>When you run Linux on it&amp;rsquo;s own you forgo Windows, replacing your drive in it&amp;rsquo;s entirety with Linux. This is the simplest option, but is the most irreversable of the three. Before you make this step, you should have an idea of what software you already use, and potential alternatives if they do not already exist on Linux.&lt;/p>
&lt;h3 id="virtualised">Virtualised&lt;/h3>
&lt;p>Virtualised Linux runs on your machine on top of the operating system you already use. This makes it easy to test different versions of Linux, or experiment with and break the system without causing damage or changing your host operating system. However, you need to set up a virtual environment using software such as QEMU or &lt;a href="https://www.virtualbox.org/">VirtualBox&lt;/a>. In addition, virtual machines often lack graphically accelerated environments, which can mean that games and browsers can appear slow or non-responsive.&lt;/p>
&lt;h2 id="whats-a-desktop-environment">What&amp;rsquo;s a Desktop Environment?&lt;/h2>
&lt;figure>
&lt;picture>
&lt;source type="image/webp"
srcset="https://swinux.org/posts/2026/may-27-getting-started-linux/images/desktop-environment_hu_e724b40de02e4c1f.webp 320w, https://swinux.org/posts/2026/may-27-getting-started-linux/images/desktop-environment_hu_b956d49b6d017ebc.webp 640w, https://swinux.org/posts/2026/may-27-getting-started-linux/images/desktop-environment_hu_d643a8c083718330.webp 1024w"
sizes="(max-width: 640px) 100vw, (max-width: 1024px) 90vw, 1024px">
&lt;source type="image/png"
srcset="https://swinux.org/posts/2026/may-27-getting-started-linux/images/desktop-environment_hu_93aa77f1b28d08a9.png 320w, https://swinux.org/posts/2026/may-27-getting-started-linux/images/desktop-environment_hu_6af917e0cd14e25a.png 640w, https://swinux.org/posts/2026/may-27-getting-started-linux/images/desktop-environment_hu_79fe7427c8fd8c79.png 1024w"
sizes="(max-width: 640px) 100vw, (max-width: 1024px) 90vw, 1024px">
&lt;img src="https://swinux.org/posts/2026/may-27-getting-started-linux/images/desktop-environment_hu_79fe7427c8fd8c79.png"
alt="A screenshot of the GNOME Desktop Environment with the Files app open."
width="1536"
height="1024"
decoding="async"
fetchpriority="high"
style="width: 80%; height: auto; max-width: 1536px;"
class="center">
&lt;/picture>&lt;figcaption>&lt;b>&lt;em>The GNOME Desktop Environment with the Files app open.&lt;/em>&lt;/b>&lt;/figcaption>&lt;/figure>
&lt;p>A desktop environment provides the tools and programs you need to interface with the operating system, run apps and play games in a graphical format. Because users have different requirements and preferences with how they use their computer and how information is presented to them, several desktop environments exist to cater to these specific needs. If you&amp;rsquo;re on Windows, KDE is the biggest analogue, providing a similar layout to the default Windows environment. MacOS users may find that GNOME is similar to their preferences.&lt;/p>
&lt;h3 id="kde">KDE&lt;/h3>
&lt;p>&lt;a href="https://kde.org/plasma-desktop/">KDE&lt;/a> is a desktop environment that embraces customisation and openness. Although it&amp;rsquo;s default layout is quite similar to that of Windows, you can significantly change how information is accessed and displayed to the user, a &lt;a href="https://www.reddit.com/r/unixporn/">process called ricing&lt;/a>.&lt;/p>
&lt;h3 id="gnome">GNOME&lt;/h3>
&lt;p>&lt;a href="https://gnome.org/">GNOME&lt;/a> is an environment which can be described as highly specific with how it presents information to the user. It&amp;rsquo;s most similar analogue is to MacOS, and it likes to keep it&amp;rsquo;s desktop decluttered. Pressing the Windows key gives you a powerful search tool and access to your apps. You can extend the functionality of GNOME through extensions, which add and modify widgets and formats to provide more information.&lt;/p>
&lt;h3 id="xfce">XFCE&lt;/h3>
&lt;p>&lt;a href="https://xfce.org/">XFCE&lt;/a> is notable for it&amp;rsquo;s simplicity and low resource usage. If you&amp;rsquo;ve got an old laptop struggling with heavier operating systems and desktop environments, XFCE is a perfect choice to revitalise it and give it a new lease on life.&lt;/p>
&lt;h3 id="anything-else">Anything Else?&lt;/h3>
&lt;p>There are countless other desktop environments for you to use and explore, some which may fill your niche better than any other environment. You can even move away from desktop environments to &lt;a href="https://en.wikipedia.org/wiki/Tiling_window_manager">tiling window mangers&lt;/a> which automatically organise your windows neatly. The choice is yours.&lt;/p>
&lt;h2 id="whats-a-distro-distribution-and-which-do-i-pick">What’s a Distro (Distribution), and Which Do I Pick?&lt;/h2>
&lt;figure>
&lt;picture>
&lt;source type="image/webp"
srcset="https://swinux.org/posts/2026/may-27-getting-started-linux/images/distros-example_hu_570c3946a12d686b.webp 320w, https://swinux.org/posts/2026/may-27-getting-started-linux/images/distros-example_hu_5165e27ce367146d.webp 640w, https://swinux.org/posts/2026/may-27-getting-started-linux/images/distros-example_hu_4c31ca52a8933704.webp 1024w"
sizes="(max-width: 640px) 100vw, (max-width: 1024px) 90vw, 1024px">
&lt;source type="image/png"
srcset="https://swinux.org/posts/2026/may-27-getting-started-linux/images/distros-example_hu_7161eb4934e44d31.png 320w, https://swinux.org/posts/2026/may-27-getting-started-linux/images/distros-example_hu_2e47e1ea045f0c52.png 640w, https://swinux.org/posts/2026/may-27-getting-started-linux/images/distros-example_hu_58638396f9a35ff3.png 1024w"
sizes="(max-width: 640px) 100vw, (max-width: 1024px) 90vw, 1024px">
&lt;img src="https://swinux.org/posts/2026/may-27-getting-started-linux/images/distros-example_hu_58638396f9a35ff3.png"
alt="A list of logos from several Linux distributions."
width="1024"
height="1024"
decoding="async"
fetchpriority="high"
style="width: 60%; height: auto; max-width: 1024px;"
class="center">
&lt;/picture>&lt;figcaption>&lt;b>&lt;em>Logos of several Linux distributions.&lt;/em>&lt;/b>&lt;/figcaption>&lt;/figure>
&lt;p>There are a million (or possibly more) versions of Linux that you can use. These are known as distros, or distributions, and each distro bundles a collection of software including the kernel, Linux, desktop environment and other pre-installed applications and tools for you to use.&lt;/p>
&lt;p>Ultimately, your choice to use a certain distro will be dictated by three major aspects:&lt;/p>
&lt;ul>
&lt;li>
&lt;p>What desktop environment the distribution supports. Some distros support multiple, or others have many but actively support a handful.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>How recent the software versions used by the distro are. Some distros are bleeding-edge, meaning you get the latest features and performance improvements. Other distros are stable, meaning they prefer a more consistent user experience over always having the latest improvements.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>What customisation the distro uses. Some distros don&amp;rsquo;t apply much customisation on top of the desktop environment, but others can theme or completely reinvent a desktop environment into something completely different.&lt;/p>
&lt;/li>
&lt;/ul>
&lt;p>Some examples of notable distributions can be seen below, and give you an idea of what differences exist.&lt;/p>
&lt;h3 id="fedora-silverbluekinoite">Fedora Silverblue/Kinoite&lt;/h3>
&lt;p>&lt;a href="https://fedoraproject.org/atomic-desktops/silverblue/">Fedora Silverblue&lt;/a> and &lt;a href="https://fedoraproject.org/atomic-desktops/kinoite/">Kinoite&lt;/a> are immutable distros based on GNOME and KDE respectively. This immmutability means that the Silverblue and Kinoite distros are not readily modifiable by the end user, and it keeps several versions of the operating system available. This is akin to how Android operates, making sure that a usable operating system is always ready no matter what issues occur or are induced by the user. You can think of it as idiot-proof (and we&amp;rsquo;re all idiots sometimes).&lt;/p>
&lt;h3 id="cachyos">CachyOS&lt;/h3>
&lt;p>&lt;a href="https://cachyos.org/">CachyOS&lt;/a> is a distribution based on &lt;a href="https://archlinux.org/">Arch Linux&lt;/a>, a bleeding-edge (constantly using the newest versions of software) Linux variant. It&amp;rsquo;s configured for performance in games, but you can choose what desktop environment you want to use. It&amp;rsquo;s primarily a community effort and is an excellent choice if you almost exclusively use your computer for gaming. However, new Linux users may want something more stable.&lt;/p>
&lt;h3 id="ubuntu">Ubuntu&lt;/h3>
&lt;p>&lt;a href="https://ubuntu.com/desktop">Ubuntu&lt;/a> is the legacy choice as a distro. It uses GNOME by default, although other supported desktop environments exist. It&amp;rsquo;s one of the oldest commercially supported operating systems, although it&amp;rsquo;s somewhat fallen out of favour for other distributions which provide newer or better software choices and more reliability. It has a &lt;a href="https://discourse.ubuntu.com/">substantial catalogue&lt;/a> of forum posts for guidance and advice.&lt;/p>
&lt;h3 id="yet-another-distro">Yet Another Distro&lt;/h3>
&lt;p>More often than not, you&amp;rsquo;ll see other distros that have features or a fancy look that grabs your attention. Before you jump in though it&amp;rsquo;s a good idea to see how other people feel using the distro. If there&amp;rsquo;s large swathes of people commenting chances are it&amp;rsquo;s well supported and should be into the future.&lt;/p>
&lt;h2 id="how-do-i-use-linux">How do I Use Linux?&lt;/h2>
&lt;p>By this point in the article, you should have a decent understanding of the ecosystem before you jump in. There&amp;rsquo;s a lot of choice involved and it&amp;rsquo;s understandable to get analysis paralysis, but nothing beats choosing a good-enough distro and jumping straight in. For the most part, you&amp;rsquo;ll be using and learning it like you would any other program, and given enough time you&amp;rsquo;ll figure it all out.&lt;/p>
&lt;p>However, there&amp;rsquo;ll be times when you&amp;rsquo;ll realise that there&amp;rsquo;s several significant changes to how Linux works, especially if you&amp;rsquo;re coming from Windows. Let&amp;rsquo;s discuss the major ones.&lt;/p>
&lt;h3 id="the-filesystem">The Filesystem&lt;/h3>
&lt;figure>
&lt;picture>
&lt;source type="image/webp"
srcset="https://swinux.org/posts/2026/may-27-getting-started-linux/images/cachyos-filesystem_hu_814c7c90825d7d54.webp 320w, https://swinux.org/posts/2026/may-27-getting-started-linux/images/cachyos-filesystem_hu_26e9448674c01271.webp 640w, https://swinux.org/posts/2026/may-27-getting-started-linux/images/cachyos-filesystem_hu_1724ab92778d80dc.webp 1024w"
sizes="(max-width: 640px) 100vw, (max-width: 1024px) 90vw, 1024px">
&lt;source type="image/png"
srcset="https://swinux.org/posts/2026/may-27-getting-started-linux/images/cachyos-filesystem_hu_cb54d2c8e115b624.png 320w, https://swinux.org/posts/2026/may-27-getting-started-linux/images/cachyos-filesystem_hu_17de4d2f6419f31c.png 640w, https://swinux.org/posts/2026/may-27-getting-started-linux/images/cachyos-filesystem_hu_686c69620dbdf749.png 1024w"
sizes="(max-width: 640px) 100vw, (max-width: 1024px) 90vw, 1024px">
&lt;img src="https://swinux.org/posts/2026/may-27-getting-started-linux/images/cachyos-filesystem_hu_686c69620dbdf749.png"
alt="A screenshot of the Ptyxis terminal with a list of directories in the root partition."
width="1536"
height="1024"
decoding="async"
fetchpriority="high"
style="width: 80%; height: auto; max-width: 1536px;"
class="center">
&lt;/picture>&lt;figcaption>&lt;b>&lt;em>Terminal showing directories in the root partition.&lt;/em>&lt;/b>&lt;/figcaption>&lt;/figure>
&lt;p>If you&amp;rsquo;ve used a MacOS system before you&amp;rsquo;ll realise how similar the filesystem is. That&amp;rsquo;s because they&amp;rsquo;re &lt;a href="https://en.wikipedia.org/wiki/Unix-like">UNIX-like&lt;/a>, both based on an ancestor operating system that shares a similar filesystem structure. At the heart of the Linux filesystem is the root directory (/), the point from which all directories (also known as folders, broadly interchangeable terms) are placed or stem from, sort of like the C:\ folder in Windows.&lt;/p>
&lt;p>From the root directory, there are several different directories with different functions and uses. However, you won&amp;rsquo;t need to use or interact with all of them. Some important ones are listed below:&lt;/p>
&lt;h5 id="home">/home&lt;/h5>
&lt;p>This directory is where all the user&amp;rsquo;s personal data is stored, under their own directories named after their usernames. You&amp;rsquo;ll find directories such as Documents, Videos, Music etc. in this directory and all of your per-user configuration files are stored here.&lt;/p>
&lt;h5 id="etc">/etc&lt;/h5>
&lt;p>The /etc directory stores configuration files for application specific system-wide configurations. Always be careful before changing these, as you may end up with an unbootable system!&lt;/p>
&lt;h5 id="bin">/bin&lt;/h5>
&lt;p>This is where your app binaries are stored, such as your web browser. You can think of it like a dedicated space for your .exe files on Windows.&lt;/p>
&lt;h5 id="media-and-mnt">/media and /mnt&lt;/h5>
&lt;p>The /media directory is most often used for removable media, such as USB drives or microSD cards. On the other hand, /mnt is used to mount secondary persistent drives such as an internal hard-drive to expand the storage of your main drive where the root directory lives.&lt;/p>
&lt;p>There are a multitude of other important directories serving different functions, but like most listed above, you have little need to interact with them outside of your /home directory.&lt;/p>
&lt;h3 id="the-terminal">The Terminal&lt;/h3>
&lt;figure>
&lt;picture>
&lt;source type="image/webp"
srcset="https://swinux.org/posts/2026/may-27-getting-started-linux/images/cachyos-terminal_hu_91e85d00d8bd1987.webp 320w, https://swinux.org/posts/2026/may-27-getting-started-linux/images/cachyos-terminal_hu_3fdadefdb9cf2aac.webp 640w, https://swinux.org/posts/2026/may-27-getting-started-linux/images/cachyos-terminal_hu_befab70a118fd098.webp 1024w"
sizes="(max-width: 640px) 100vw, (max-width: 1024px) 90vw, 1024px">
&lt;source type="image/png"
srcset="https://swinux.org/posts/2026/may-27-getting-started-linux/images/cachyos-terminal_hu_46ae0bb2835ed540.png 320w, https://swinux.org/posts/2026/may-27-getting-started-linux/images/cachyos-terminal_hu_1f59d1acc4f0cdc9.png 640w, https://swinux.org/posts/2026/may-27-getting-started-linux/images/cachyos-terminal_hu_ce35407427d4c0ee.png 1024w"
sizes="(max-width: 640px) 100vw, (max-width: 1024px) 90vw, 1024px">
&lt;img src="https://swinux.org/posts/2026/may-27-getting-started-linux/images/cachyos-terminal_hu_ce35407427d4c0ee.png"
alt="A screenshot of the Ptyxis terminal on CachyOS."
width="1536"
height="1024"
decoding="async"
fetchpriority="high"
style="width: 80%; height: auto; max-width: 1536px;"
class="center">
&lt;/picture>&lt;figcaption>&lt;b>&lt;em>A screenshot of the Ptyxis terminal on CachyOS.&lt;/em>&lt;/b>&lt;/figcaption>&lt;/figure>
&lt;p>The Linux terminal can often seem an oppressive or daunting barrier to entry to Linux. Your experience with it, however, all depends on how you approach it. When you think of it as a way to dictate tasks for the computer to conduct, it&amp;rsquo;s very much akin to how you use an operating system already, such as when you move files from one folder to another.&lt;/p>
&lt;p>On some distros you can go without using the terminal at all as they provide other means to download software or edit files, for example. You can however use it to run programs and apps, create, move and delete files and much more, just by using your keyboard. Let&amp;rsquo;s explore some basic commands:&lt;/p>
&lt;h5 id="the-cd-command">The cd Command&lt;/h5>
&lt;p>&lt;code>cd&lt;/code>&lt;/p>
&lt;p>This command, when combined with a path relocates your terminal&amp;rsquo;s current working directory (the directory/folder you have open) to the path specified in the command.&lt;/p>
&lt;p>&lt;code>cd ~/Documents&lt;/code>&lt;/p>
&lt;p>Will relocate your terminal to your user&amp;rsquo;s Documents folder. The &lt;code>~/&lt;/code> specifies the path is relative to your /home directory, meaning any directory after &lt;code>~/&lt;/code> should exist in your /home directory. &lt;code>Documents&lt;/code> refers to the Documents directory in your home folder.&lt;/p>
&lt;p>You can also use absolute paths (paths that start from the root directory), such as the following:&lt;/p>
&lt;p>&lt;code>cd /var/lib&lt;/code>&lt;/p>
&lt;p>This is three directories deep, starting at the root directory, then usr, and then etc.&lt;/p>
&lt;p>Another relative path you might need is exiting a directory and moving to it&amp;rsquo;s parent directory. If you&amp;rsquo;re stuck in &lt;code>/var/lib&lt;/code> and you want to get back to &lt;code>/var&lt;/code>, you can issue the following:&lt;/p>
&lt;p>&lt;code>cd ../&lt;/code>&lt;/p>
&lt;p>Which will send you back one directory. The full stop is also relative, with one sending you to the current directory, and three sending you back two directories, if possible.&lt;/p>
&lt;p>&lt;code>cd ./&lt;/code>&lt;/p>
&lt;p>Will keep you where you are, in &lt;code>/var/lib&lt;/code>.&lt;/p>
&lt;p>&lt;code>cd .../&lt;/code>&lt;/p>
&lt;p>Will send you back to the root directory from &lt;code>/var/lib&lt;/code>.&lt;/p>
&lt;h5 id="the-ls-command">The ls Command&lt;/h5>
&lt;p>&lt;code>ls&lt;/code>&lt;/p>
&lt;p>This command lists all of the files and directories in your current working directory. It&amp;rsquo;s simple, but you can use what are called arguments to modify how the command works. For example:&lt;/p>
&lt;p>&lt;code>ls -l&lt;/code>&lt;/p>
&lt;p>Will provide you with information about the file or directory, such as when it was created, what user owns it and what file permissions exist.&lt;/p>
&lt;p>Ultimately, there are a plethora of Linux commands out there for all sorts of use cases but be sure to check what it does first &lt;em>before&lt;/em> you run it. Plenty of users, myself included, have ran commands without understanding how it&amp;rsquo;ll impact their system and paid the price for it. You don&amp;rsquo;t need to be an expert, but knowing just enough can keep you out of trouble.&lt;/p>
&lt;h3 id="the-package-manager">The Package Manager&lt;/h3>
&lt;p>The final major piece of the Linux puzzle is the package manager. Instead of downloading your programs and apps from the internet, you download a package (a program) from a central location, called a repository. You can think of it like buying items from several stores versus going to a warehouse to get them all at once. This is a more modern, convenient and safer method of installing software.&lt;/p>
&lt;p>However, different distros can use different package managers. Almost all of the time they operate in the same way, grabbing updates or new packages for your system to install and use. They can instead use different commands to accomplish the same tasks. For example, on a Debian or Ubuntu system you may type the command &lt;code>sudo apt update &amp;amp;&amp;amp; sudo apt upgrade&lt;/code> which checks if new packages exist, and download and install them if so. CachyOS might use &lt;code>pacman -Syu&lt;/code>, which accomplishes the same thing.&lt;/p>
&lt;p>On most beginner friendly distros, you may not need to interact with the package manager at all outside of hitting the &amp;lsquo;update&amp;rsquo; button in your software manager app.&lt;/p>
&lt;h2 id="are-there-any-learning-resources-you-recommend">Are There Any Learning Resources You Recommend?&lt;/h2>
&lt;p>When you&amp;rsquo;re using a new operating system, it can be overwhelming to get started and know where things are. Here are some prepared learning resources of varying types and formats to get you started.&lt;/p>
&lt;h3 id="the-arch-wiki">The Arch Wiki&lt;/h3>
&lt;p>&lt;a href="https://wiki.archlinux.org/title/Main_page">The Arch wiki&lt;/a> is an excellent wiki resource to learn about specific programs and services used in Linux and it&amp;rsquo;s distributions. It provides some advice on recommended configurations as well as system maintenance and configuration guidance.&lt;/p>
&lt;p>It&amp;rsquo;s useful for advanced users going off the beaten path, and will become an incredibly useful resource once you&amp;rsquo;ve mastered the basics. Note that their package installation commands will reference &lt;code>pacman&lt;/code>, Arch Linux&amp;rsquo;s package manager. Yours might be different.&lt;/p>
&lt;h3 id="youtube">YouTube&lt;/h3>
&lt;p>Linus Tech Tips is an accessible and popular YouTube channel which talks about computers. Videos can explain &lt;a href="https://www.youtube.com/watch?v=_Ua-d9OeUOg">how to install Linux&lt;/a> or &lt;a href="https://www.youtube.com/watch?v=XXrCAC6bUsk">what distro to pick&lt;/a>. Likewise &lt;a href="https://www.youtube.com/watch?v=e2wB9r1SYrY">Explaining Computers&lt;/a> gives an excellent breakdown of what to look for when picking a distro, and some reccomendations.&lt;/p>
&lt;h3 id="forums">Forums&lt;/h3>
&lt;p>&lt;a href="https://www.reddit.com/r/linuxquestions/">Reddit forums&lt;/a> can often be a great communal resource for troubleshooting and general guidance.&lt;a href="https://discord.gg/ZfCW8DhnhA">The Swinux Discord&lt;/a> is always a good place to ask fellow students. In addition, &lt;a href="https://stackoverflow.com/questions/tagged/linux?tab=Newest">Stackoverflow&lt;/a> is a good resource with tons of user contributions.&lt;/p>
&lt;h3 id="using-ai">Using AI&lt;/h3>
&lt;p>If you&amp;rsquo;re keen on AI, it can be a good resource to bounce ideas off of and guide you through simple troubleshooting steps. As always, verify with another source as AI can hallucinate or provide inappropriate advice for your situation.&lt;/p>
&lt;p>&lt;em>This post is redistributed from &lt;a href="https://timfo.xyz/posts/making-choice-switch-linux/">timfo.xyz&lt;/a> with permission from the author.&lt;/em>&lt;/p></content></item><item><title>Python Workshop Resource &amp; Installation Guide</title><link>https://swinux.org/posts/2025/sep-19-python-workshop-resource-installation-guide/</link><pubDate>Fri, 19 Sep 2025 12:00:00 +1000</pubDate><guid>https://swinux.org/posts/2025/sep-19-python-workshop-resource-installation-guide/</guid><description>&lt;p>Have you ever wanted to learn how to code? This article explains the basics to get you started on your coding journey with Python. This will get you to a point where you can follow along with the workshop.&lt;/p>
&lt;p>If you haven&amp;rsquo;t yet, &lt;a href="https://campus.hellorubric.com/?s=12119">join our club&lt;/a> and &lt;a href="https://discord.gg/ZfCW8DhnhA">our discord&lt;/a>! This will allow you to chat with other Swinburne students interested in Computer Science, who will be happy to give you all sorts of tips and tricks as well as help if you&amp;rsquo;re stuck.&lt;/p></description><content>&lt;p>Have you ever wanted to learn how to code? This article explains the basics to get you started on your coding journey with Python. This will get you to a point where you can follow along with the workshop.&lt;/p>
&lt;p>If you haven&amp;rsquo;t yet, &lt;a href="https://campus.hellorubric.com/?s=12119">join our club&lt;/a> and &lt;a href="https://discord.gg/ZfCW8DhnhA">our discord&lt;/a>! This will allow you to chat with other Swinburne students interested in Computer Science, who will be happy to give you all sorts of tips and tricks as well as help if you&amp;rsquo;re stuck.&lt;/p>
&lt;div class="contents">
&lt;nav id="TableOfContents">
&lt;ul>
&lt;li>&lt;a href="#installing-python-on-windows">Installing Python on Windows&lt;/a>&lt;/li>
&lt;li>&lt;a href="#installing-python-on-mac">Installing Python on Mac&lt;/a>&lt;/li>
&lt;li>&lt;a href="#installing-python-on-linux">Installing Python on Linux&lt;/a>&lt;/li>
&lt;/ul>
&lt;/nav>
&lt;/div>
&lt;h1 id="setting-up-your-computer">Setting Up Your Computer&lt;/h1>
&lt;p>First, we need to establish some terms so you know what we&amp;rsquo;re talking about:&lt;/p>
&lt;ul>
&lt;li>
&lt;p>&lt;strong>Console/Terminal/CMD&lt;/strong>: This is what we use to run our programs. It&amp;rsquo;s simple and it&amp;rsquo;s entirely text-based (like the hackery things you see in the movies) but it means you can type &lt;em>exactly&lt;/em> what you want, and your computer will do it. It may seem daunting, but you will get used to it quick smart.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;strong>Program/App&lt;/strong>: This is what you will run in the console, which will execute (run) your code, giving you an output. In the workshop, it will be saved as a single .py file. You can have multiple files but you will only run one at a time.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;strong>Directory/Folder&lt;/strong>: This is the layout of where files on your computer are stored. A Directory can be a single folder, or many folders together to point to a specific area where files are stored.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;strong>Operating System (OS)&lt;/strong>: There are three major Operating Systems, Windows, Mac and Linux. Each one may have a different way of setting things up. Where they are different, we will write specific instructions for you to follow.&lt;/p>
&lt;/li>
&lt;/ul>
&lt;p>Before we even start coding you&amp;rsquo;ll need to install Python. It&amp;rsquo;s an accessible and readable programming language developed in 1991. You&amp;rsquo;ll find out exactly why it&amp;rsquo;s so accessible and readable soon.&lt;/p>
&lt;h2 id="installing-python-on-windows">Installing Python on Windows&lt;/h2>
&lt;p>Official Windows Python Install Guide: &lt;a href="https://docs.python.org/3/using/windows.html">https://docs.python.org/3/using/windows.html&lt;/a>&lt;/p>
&lt;p>If you&amp;rsquo;re on a regular x64 laptop (Almost everyone) visit &lt;a href="https://www.python.org/downloads/release/python-3137">https://www.python.org/downloads/release/python-3137&lt;/a> and install the Windows Installer (64-bit) program.&lt;/p>
&lt;p>If you&amp;rsquo;re using a Snapdragon laptop, visit the above link and install the Windows Installer (ARM64) program.&lt;/p>
&lt;p>&lt;img src="https://swinux.org/posts/2025/sep-19-python-workshop-resource-installation-guide/images/windows/step1.png" alt="Downloading Python on Windows">&lt;/p>
&lt;p>Scroll down the page a bit until you see something similar to the image below. Remember what platform you&amp;rsquo;re on and download the appropriate file.&lt;/p>
&lt;p>&lt;img src="https://swinux.org/posts/2025/sep-19-python-workshop-resource-installation-guide/images/windows/step2.png" alt="Downloading Python on Windows">&lt;/p>
&lt;p>Wait for the file to download. Once it&amp;rsquo;s download it should look something like this:&lt;/p>
&lt;p>&lt;img src="https://swinux.org/posts/2025/sep-19-python-workshop-resource-installation-guide/images/windows/step3.png" alt="Downloading Python on Windows">&lt;/p>
&lt;p>Navigate to your downloads folder and double click on python-3.13.7-amd64.exe or python-3.13.7-arm64.exe (Depending on what you downloaded) to run the installer:&lt;/p>
&lt;p>&lt;img src="https://swinux.org/posts/2025/sep-19-python-workshop-resource-installation-guide/images/windows/step4.png" alt="Downloading Python on Windows">&lt;/p>
&lt;p>Click the &amp;lsquo;Install Now&amp;rsquo; button and wait for Python to install itself. Once you reach the &amp;lsquo;Setup was successful&amp;rsquo; screen, exit the program.&lt;/p>
&lt;p>&lt;img src="https://swinux.org/posts/2025/sep-19-python-workshop-resource-installation-guide/images/windows/step5.png" alt="Installing Python on Windows">&lt;/p>
&lt;p>&lt;img src="https://swinux.org/posts/2025/sep-19-python-workshop-resource-installation-guide/images/windows/step6.png" alt="Installing Python on Windows">&lt;/p>
&lt;p>&lt;img src="https://swinux.org/posts/2025/sep-19-python-workshop-resource-installation-guide/images/windows/step7.png" alt="Installing Python on Windows">&lt;/p>
&lt;p>Press the Windows button on your keyboard and type cmd. An app called Command Prompt will appear. Open Command Prompt.&lt;/p>
&lt;p>&lt;img src="https://swinux.org/posts/2025/sep-19-python-workshop-resource-installation-guide/images/windows/step8.png" alt="Run Python on Windows">&lt;/p>
&lt;p>&lt;img src="https://swinux.org/posts/2025/sep-19-python-workshop-resource-installation-guide/images/windows/step9.png" alt="Run Python on Windows">&lt;/p>
&lt;p>At this stage, your desktop should look similar to the image above. This is what you will use to run the Python programs we create in the workshop. For now, set it aside and move on to the &amp;lsquo;Your First Program&amp;rsquo; section. If you face any issues, use the &lt;a href="https://docs.python.org/3/using/windows.html">Official Windows Python Install Guide&lt;/a>.&lt;/p>
&lt;p>&lt;a href="https://swinux.org/posts/learning-python/post/#using-windows-to-run-python-code">Click here to jump to the next section.&lt;/a>&lt;/p>
&lt;h2 id="installing-python-on-mac">Installing Python on Mac&lt;/h2>
&lt;p>Official MacOS Python Install Guide: &lt;a href="https://docs.python.org/3/using/mac.html">https://docs.python.org/3/using/mac.html&lt;/a>&lt;/p>
&lt;p>To download the Python installer, navigate to &lt;a href="https://www.python.org/downloads/release/python-3137">https://www.python.org/downloads/release/python-3137&lt;/a> and look for the macOS 64-bit universal2 installer and download it, seen below.&lt;/p>
&lt;p>&lt;img src="https://swinux.org/posts/2025/sep-19-python-workshop-resource-installation-guide/images/mac/step1.png" alt="Downloading Python on Mac">&lt;/p>
&lt;p>Make sure this is the file you download:&lt;/p>
&lt;p>&lt;img src="https://swinux.org/posts/2025/sep-19-python-workshop-resource-installation-guide/images/mac/step2.png" alt="Downloading Python on Mac">&lt;/p>
&lt;p>Once it has downloaded, double click on the file to launch the installer:&lt;/p>
&lt;p>&lt;img src="https://swinux.org/posts/2025/sep-19-python-workshop-resource-installation-guide/images/mac/step3.png" alt="Downloading Python on Mac">&lt;/p>
&lt;p>Navigate through the launcher to install Python:&lt;/p>
&lt;p>&lt;img src="https://swinux.org/posts/2025/sep-19-python-workshop-resource-installation-guide/images/mac/step4.png" alt="Downloading Python on Mac">&lt;/p>
&lt;p>&lt;img src="https://swinux.org/posts/2025/sep-19-python-workshop-resource-installation-guide/images/mac/step5.png" alt="Downloading Python on Mac">&lt;/p>
&lt;p>&lt;img src="https://swinux.org/posts/2025/sep-19-python-workshop-resource-installation-guide/images/mac/step6.png" alt="Downloading Python on Mac">&lt;/p>
&lt;p>Once that is complete, Python is installed and you should see the following prompt:&lt;/p>
&lt;p>&lt;img src="https://swinux.org/posts/2025/sep-19-python-workshop-resource-installation-guide/images/mac/step7.png" alt="Downloading Python on Mac">&lt;/p>
&lt;p>However, you now need to install a certificate to allow Python to work correctly.&lt;/p>
&lt;p>Navigate to the &lt;code>Applications/Python 3.13/&lt;/code> directory to view the following contents:&lt;/p>
&lt;p>&lt;img src="https://swinux.org/posts/2025/sep-19-python-workshop-resource-installation-guide/images/mac/step8.png" alt="Downloading Python on Mac">&lt;/p>
&lt;p>Double clicking on the .command file will allow Python to run correctly. You should be able to see the following prompt within a terminal window:&lt;/p>
&lt;p>&lt;img src="images/mac/step9.png" alt="Downloading Python on Mac">&lt;/p>
&lt;p>When this is complete, you can open the terminal app. If you type the below command and press enter, you should see Python and it&amp;rsquo;s version number.&lt;/p>
&lt;p>&lt;code>python --version&lt;/code>&lt;/p>
&lt;p>At this stage, Python should be installed correctly. This is what you will use to run the Python programs we create in the workshop. For now, set it aside and move on to the &amp;lsquo;Your First Program&amp;rsquo; section. If you face any issues, use the &lt;a href="https://docs.python.org/3/using/mac.html">Official MacOS Python Install Guide&lt;/a>.&lt;/p>
&lt;p>&lt;a href="https://swinux.org/posts/learning-python/post/#using-mac/linux-to-run-python-code">Click here to jump to the next section.&lt;/a>&lt;/p>
&lt;h2 id="installing-python-on-linux">Installing Python on Linux&lt;/h2>
&lt;p>Look at you. You&amp;rsquo;re already using Linux, you shouldn&amp;rsquo;t need to be told how to install Python. You probably already have it installed out-of-the-box.&lt;/p>
&lt;p>If you &lt;em>really&lt;/em> want to install it again, open the console and type the following, depending on your distribution:&lt;/p>
&lt;p>Debian-Based Distributions
&lt;code>sudo apt install python&lt;/code>&lt;/p>
&lt;p>Fedora-Based Distributions
&lt;code>sudo dnf install python&lt;/code>&lt;/p>
&lt;p>Arch-Based Distributions
&lt;code>sudo pacman -S python&lt;/code>&lt;/p>
&lt;p>Nix/Gentoo-Based Distributions
&lt;code>Have fun.&lt;/code>&lt;/p>
&lt;p>&lt;a href="https://swinux.org/posts/learning-python/post/#using-mac/linux-to-run-python-code">Click here to jump to the next section.&lt;/a>&lt;/p>
&lt;h1 id="using-windows-to-run-python-code">Using Windows to run Python code&lt;/h1>
&lt;p>Once you&amp;rsquo;ve got python installed, you can verify that it is in fact ready to run by using the following command in the console:&lt;/p>
&lt;p>For &lt;strong>Windows&lt;/strong>:&lt;/p>
&lt;p>&lt;code>py --version&lt;/code>&lt;/p>
&lt;p>&lt;img src="https://swinux.org/posts/2025/sep-19-python-workshop-resource-installation-guide/images/windows/step10.png" alt="Running Python on Windows">&lt;/p>
&lt;p>It should print Python 3.XX.X to the screen, with X being the specific version numbers of the program.&lt;/p>
&lt;p>You can now create your first application using your favourite text editor (such as notepad+++ on Windows).&lt;/p>
&lt;p>To keep your disk nice and clean, we reccomend creating a seperate folder just for Python files. On all Operating Systems, create a folder called Python in your Documents folder.&lt;/p>
&lt;p>Name it &lt;code>myfirstprogram&lt;/code>, as it&amp;rsquo;s the first program you&amp;rsquo;ve ever made! Make sure not to append .txt to the file, as Python will not be able to find and run it. You need to append .py to the file so Python will recognise it as a Python program that can be used.&lt;/p>
&lt;p>Once you&amp;rsquo;re ready to edit the file, add the following:&lt;/p>
&lt;p>&lt;img src="https://swinux.org/posts/2025/sep-19-python-workshop-resource-installation-guide/images/windows/step11.png" alt="Running Python on Windows">&lt;/p>
&lt;p>Save the file, and get ready to run the program. Using the console, navigate to the folder/directory where the python file was saved.&lt;/p>
&lt;p>On &lt;strong>Windows&lt;/strong>, you can do the following (Keep in mind the folders must exist, and your Python file should exist in that folder/directory):&lt;/p>
&lt;p>&lt;code>cd &amp;quot;C:\Users\yourusername\Documents\Python&amp;quot;&lt;/code>&lt;/p>
&lt;p>Once you&amp;rsquo;ve done that, you should be in the correct folder. Run the command below:&lt;/p>
&lt;p>&lt;code>py myfirstprogram&lt;/code>&lt;/p>
&lt;p>You should have seen a 9 get printed to the console on your screen. That means that you&amp;rsquo;ve just ran your first program!&lt;/p>
&lt;p>&lt;img src="https://swinux.org/posts/2025/sep-19-python-workshop-resource-installation-guide/images/windows/step12.png" alt="Running Python on Windows">&lt;/p>
&lt;p>If you don&amp;rsquo;t see that, make sure you&amp;rsquo;ve got Python installed and that you&amp;rsquo;ve copied the code exactly, otherwise it may not run as you&amp;rsquo;d expect. Python is pretty good with telling you exactly what went wrong and where it happened, but it won&amp;rsquo;t necessarily tell you how to fix it. This is where the resources section below will help you with your understanding.&lt;/p>
&lt;p>At this point, you are ready for the workshop. Please follow along with the coding examples during the workshop to get the most out of it, either on your device or via the slides.&lt;/p>
&lt;p>&lt;a href="https://swinux.org/posts/learning-python/post/#resources">Workshop Resources&lt;/a>&lt;/p>
&lt;h1 id="using-maclinux-to-run-python-code">Using Mac/Linux to run Python code&lt;/h1>
&lt;p>Once you&amp;rsquo;ve got python installed, you can verify that it is in fact ready to run by using the following command in the console:&lt;/p>
&lt;p>For &lt;strong>Mac/Linux&lt;/strong> (Linux example provided):&lt;/p>
&lt;p>&lt;code>python --version&lt;/code>&lt;/p>
&lt;p>&lt;img src="https://swinux.org/posts/2025/sep-19-python-workshop-resource-installation-guide/images/linux/step1.png" alt="Running Python on Mac/Linux">&lt;/p>
&lt;p>You can now create your first application using your favourite text editor (such as notepad+++ on Windows).&lt;/p>
&lt;p>To keep your disk nice and clean, we reccomend creating a seperate folder just for Python files. On all Operating Systems, create a folder called Python in your Documents folder.&lt;/p>
&lt;p>Name it &lt;code>myfirstprogram.py&lt;/code>, as it&amp;rsquo;s the first program you&amp;rsquo;ve ever made! Make sure not to append .txt to the file, as Python will not be able to find and run it. You need to append .py to the file so Python will recognise it as a Python program that can be used.&lt;/p>
&lt;p>Once you&amp;rsquo;re ready to edit the file, add the following:&lt;/p>
&lt;p>&lt;img src="https://swinux.org/posts/2025/sep-19-python-workshop-resource-installation-guide/images/syntax.png" alt="Running Python on Mac/Linux">&lt;/p>
&lt;p>Save the file, and get ready to run the program. Using the console, navigate to the folder/directory where the python file was saved.&lt;/p>
&lt;p>On &lt;strong>Mac/Linux&lt;/strong>, you can do the following (Keep in mind the folders must exist, and your Python file should exist in that folder/directory):&lt;/p>
&lt;p>&lt;code>cd ~/Documents/Python&lt;/code>&lt;/p>
&lt;p>Once you&amp;rsquo;ve done that, you should be in the correct folder. Run the command below:&lt;/p>
&lt;p>&lt;code>python myfirstprogram.py&lt;/code>&lt;/p>
&lt;p>You should have seen a 9 get printed to the console on your screen. That means that you&amp;rsquo;ve just ran your first program!&lt;/p>
&lt;p>&lt;img src="https://swinux.org/posts/2025/sep-19-python-workshop-resource-installation-guide/images/linux/step2.png" alt="Running Python on Mac/Linux">&lt;/p>
&lt;p>If you don&amp;rsquo;t see that, make sure you&amp;rsquo;ve got Python installed and that you&amp;rsquo;ve copied the code exactly, otherwise it may not run as you&amp;rsquo;d expect. Python is pretty good with telling you exactly what went wrong and where it happened, but it won&amp;rsquo;t necessarily tell you how to fix it. This is where the resources section below will help you with your understanding.&lt;/p>
&lt;p>At this point, you are ready for the workshop. Please follow along with the coding examples during the workshop to get the most out of it, either on your device or via the slides.&lt;/p>
&lt;p>&lt;a href="https://swinux.org/posts/learning-python/post/#resources">Workshop Resources&lt;/a>&lt;/p>
&lt;h1 id="resources">Resources&lt;/h1>
&lt;p>Below are links for the workshop, including slides and full code examples:&lt;/p>
&lt;ul>
&lt;li>&lt;a href="https://drive.google.com/drive/folders/1F5smICawa9SviFuLLddfIBlY2cNIq6xU?usp=drive_link">Google Drive&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://admin.hellorubric.com/files?id=002b880e-f75a-4202-8e22-1ffe00953616">Rubric Fileshare&lt;/a>&lt;/li>
&lt;/ul>
&lt;p>We&amp;rsquo;ve prepared some resources for you which may assist you in learning how to program. Some of these resources focus on other programming languages, but the principles are useful and may give you some ideas of projects to attempt.&lt;/p>
&lt;ul>
&lt;li>&lt;a href="https://www.w3schools.com/python/default.asp">W3Schools&lt;/a>, A collection of resources for learning Python, alongside other languages. Features a browser-based interactive code editor.&lt;/li>
&lt;li>&lt;a href="https://pip.pypa.io/en/stable/">Pip&lt;/a>, A Python library package manager to install libraries for use in your programs.&lt;/li>
&lt;li>&lt;a href="https://www.youtube.com/@TheCodingTrain">The Coding Train&lt;/a>, an enthusiastic programming teacher that builds and explains creative and interesting projects.&lt;/li>
&lt;li>&lt;a href="https://www.youtube.com/@freecodecamp">FreeCodeCamp.org&lt;/a>, an organisation providing lecture-style videos for all things programming, including Python.&lt;/li>
&lt;/ul></content></item><item><title>Can I write a blog/article/guide?</title><link>https://swinux.org/posts/2025/jul-30-can-write-blog-article-guide/</link><pubDate>Wed, 30 Jul 2025 11:52:33 +1000</pubDate><guid>https://swinux.org/posts/2025/jul-30-can-write-blog-article-guide/</guid><description>&lt;p>If you&amp;rsquo;ve got a cool project you&amp;rsquo;re working on, or want to share something interesting you&amp;rsquo;ve learnt, the Swinux blog is the perfect way to do it. We will generally accept all posts so long as they contribute to one of the main focuses of the club:&lt;/p>
&lt;ul>
&lt;li>
&lt;p>&lt;strong>Linux&lt;/strong>: This is everything Linux, including distros, ricing, packages, kernel contributions etc.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;strong>Hardware&lt;/strong>: This is everything PC parts, modification of game consoles, arduinos etc.&lt;/p></description><content>&lt;p>If you&amp;rsquo;ve got a cool project you&amp;rsquo;re working on, or want to share something interesting you&amp;rsquo;ve learnt, the Swinux blog is the perfect way to do it. We will generally accept all posts so long as they contribute to one of the main focuses of the club:&lt;/p>
&lt;ul>
&lt;li>
&lt;p>&lt;strong>Linux&lt;/strong>: This is everything Linux, including distros, ricing, packages, kernel contributions etc.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;strong>Hardware&lt;/strong>: This is everything PC parts, modification of game consoles, arduinos etc.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;strong>Code&lt;/strong>: This encompasses everything software, from CI/CD deployments, kernel modifications to what you learnt running/creating XYZ program, etc.&lt;/p>
&lt;/li>
&lt;/ul>
&lt;h1 id="what-do-i-use-to-write-it">What do I use to write it?&lt;/h1>
&lt;p>Writing a blog is straightforward. We use Hugo, which makes the formatting easily accessible to a wide range of people. Hugo uses markdown as a formatting mechanism for articles. To create a markdown file, you can replace a .txt file with .md. For example, if I had &amp;lsquo;helloworld.txt&amp;rsquo; I would replace it with &amp;lsquo;helloworld.md&amp;rsquo; to make it markdown compatible.&lt;/p>
&lt;p>There are a variety of tools markdown provides, for example creating headings, lists and links. You can see an exhaustive list of aspects &lt;a href="https://www.markdownguide.org/basic-syntax/">here&lt;/a>. Below is a code section of &lt;a href="https://swinux.org/posts/creating-swinux/creating-swinux/">Setting Up The Swinux Website&lt;/a> and what it&amp;rsquo;s rendered output will look like.&lt;/p>
&lt;p>This is the markdown file containing a snippet of the article.&lt;/p>
&lt;p>&lt;img src="https://swinux.org/posts/how-to-contribute/images/how-to-contribute-editor.png" alt="Swinburne Event Details">&lt;/p>
&lt;p>You can see what it looks like when Hugo formats the page.&lt;/p>
&lt;p>&lt;img src="https://swinux.org/posts/how-to-contribute/images/how-to-contribute-page.png" alt="Swinburne Event Details">&lt;/p>
&lt;h1 id="how-do-i-write-a-blogarticleguide">How do I write a blog/article/guide?&lt;/h1>
&lt;p>It&amp;rsquo;s up to you. You would have read a forum post or news article before, and found that it is really good at conveying meaning and the author&amp;rsquo;s message. Conversely, you would have seen ways articles are written which didn&amp;rsquo;t appeal to you (perhaps even this article!).&lt;/p>
&lt;p>Generally, if you are writing a guide, you want four major categories:&lt;/p>
&lt;ul>
&lt;li>
&lt;p>&lt;strong>The Basics&lt;/strong>: Distill everything down into a couple of sentences, to inform the reader if this article is something they&amp;rsquo;d like to read.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;strong>The Resources&lt;/strong>: What resources did you consult for the project. What resources did you wish you had when learning about it? These can be online articles, physical books, stackoverflow pages etc.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;strong>The How&lt;/strong>: How did you go about the project, what steps can someone reading take to recreate what you&amp;rsquo;ve done? What things caught you out while learning, and how would you recommend someone to avoid them?&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;strong>The Learning&lt;/strong>: What did you learn doing this project, and what avenues does it open up to learn in the future?&lt;/p>
&lt;/li>
&lt;/ul>
&lt;p>In terms of articles or blogs, there isn&amp;rsquo;t any one way to go about it. Like with guides, it&amp;rsquo;s up to you to decide what the best way to communicate to the user is. You&amp;rsquo;ll find ways to improve what you&amp;rsquo;ve written, make things more clear and add some spice. As with everything it&amp;rsquo;s a continual learning process and any effort is better than none!&lt;/p>
&lt;h1 id="what-cant-i-write-about">What can&amp;rsquo;t I write about?&lt;/h1>
&lt;p>Every article should reflect one of the three categories above, although there is significant leeway in what you can write about. Likewise, as a Swinburne Student Association club, we have to abide by their code of conduct. This will not matter for the most part, but please keep it in mind.&lt;/p></content></item><item><title>Setting Up The Swinux Website</title><link>https://swinux.org/posts/2025/aug-28-setting-up-swinux-website/</link><pubDate>Mon, 28 Jul 2025 14:19:18 +1000</pubDate><guid>https://swinux.org/posts/2025/aug-28-setting-up-swinux-website/</guid><description>&lt;p>Have you ever wanted to create a website? Well, the Swinux committee did! Here&amp;rsquo;s how we went about it.&lt;/p>
&lt;h1 id="the-basics">The Basics:&lt;/h1>
&lt;p>To deploy the website, we&amp;rsquo;ll need the following components:&lt;/p>
&lt;ul>
&lt;li>An up-to-date Linux machine&lt;/li>
&lt;li>Basic knowlege of a shell, package manager and git&lt;/li>
&lt;li>Some creativity!&lt;/li>
&lt;/ul>
&lt;p>This guide provides all of the steps neccessary to create a simple website, with a first post.&lt;/p>
&lt;p>This guide features heavy use of the &amp;amp;&amp;amp; operator which allows for multiple commands on the same line. The website is a static site built by a framework called Hugo. Hugo uses markdown files to create webpages, which means creating a page, blog entry or anything else is quite simple.&lt;/p></description><content>&lt;p>Have you ever wanted to create a website? Well, the Swinux committee did! Here&amp;rsquo;s how we went about it.&lt;/p>
&lt;h1 id="the-basics">The Basics:&lt;/h1>
&lt;p>To deploy the website, we&amp;rsquo;ll need the following components:&lt;/p>
&lt;ul>
&lt;li>An up-to-date Linux machine&lt;/li>
&lt;li>Basic knowlege of a shell, package manager and git&lt;/li>
&lt;li>Some creativity!&lt;/li>
&lt;/ul>
&lt;p>This guide provides all of the steps neccessary to create a simple website, with a first post.&lt;/p>
&lt;p>This guide features heavy use of the &amp;amp;&amp;amp; operator which allows for multiple commands on the same line. The website is a static site built by a framework called Hugo. Hugo uses markdown files to create webpages, which means creating a page, blog entry or anything else is quite simple.&lt;/p>
&lt;h1 id="the-resources">The Resources:&lt;/h1>
&lt;ul>
&lt;li>Hugo Quickstart Guide: &lt;a href="https://gohugo.io/getting-started/quick-start/">https://gohugo.io/getting-started/quick-start/&lt;/a>&lt;/li>
&lt;li>Re-Terminal Hugo Theme: &lt;a href="https://github.com/mirus-ua/hugo-theme-re-terminal">https://github.com/mirus-ua/hugo-theme-re-terminal&lt;/a>&lt;/li>
&lt;li>Markdown formatting: &lt;a href="https://www.markdownguide.org/basic-syntax/">https://www.markdownguide.org/basic-syntax/&lt;/a>&lt;/li>
&lt;/ul>
&lt;h1 id="the-how">The How:&lt;/h1>
&lt;p>To begin, we first need to verify we&amp;rsquo;re on an up to date system. Running the following commands on most distros (Ubuntu, Debian) syncs the latest version of each package to your system, and upgrades them:&lt;/p>
&lt;p>&lt;code>sudo apt update &amp;amp;&amp;amp; sudo apt upgrade&lt;/code>&lt;/p>
&lt;p>Make sure to confirm the changes in the command output. Next, we need Hugo to start creating our website. Running the following command will install Hugo and prepare it for use:&lt;/p>
&lt;p>&lt;code>sudo apt install hugo&lt;/code>&lt;/p>
&lt;p>Once Hugo is installed, we can begin to create our website. If we want to create the project in our home folder, (Think C:\Users\Yourname on Windows) we can run the following command:&lt;/p>
&lt;p>&lt;code>cd ~/ &amp;amp;&amp;amp; hugo new site swinux&lt;/code>&lt;/p>
&lt;p>After changing our current directory, we also tell Hugo to create a new website with the name of &amp;lsquo;swinux&amp;rsquo;. If you want to change the name of the site, feel free to change it to whatever you had in mind.&lt;/p>
&lt;p>We then need to enter into the site directory by issuing the following command:&lt;/p>
&lt;p>&lt;code>cd swinux&lt;/code>&lt;/p>
&lt;p>Next, we need to decide on a theme for Hugo. Themes dictate how Hugo will look, and there are a wide variety of themes available for your site. Themes can be installed in a variety of ways, but we will use git to install one. Running the following commands will set up the Theme swinux will use.&lt;/p>
&lt;p>&lt;code>git init &amp;amp;&amp;amp; git submodule add -f https://github.com/mirus-ua/hugo-theme-re-terminal.git themes/re-terminal &amp;amp;&amp;amp; echo &amp;quot;theme = 're-terminal'&amp;quot; &amp;gt;&amp;gt; hugo.toml&lt;/code>&lt;/p>
&lt;p>The last command above will inform Hugo of the theme we want to use by entering it into the &amp;lsquo;hugo.toml&amp;rsquo; file. This file contains most of the bare essentials for running a site. Now that we&amp;rsquo;ve got Hugo and our chosen theme installed, we can create our first post:&lt;/p>
&lt;p>&lt;code>hugo new content content/posts/my-first-post.md&lt;/code>&lt;/p>
&lt;p>If we want a different name, we can change &amp;lsquo;my-first-post.md&amp;rsquo; to something else, like &amp;lsquo;hello-world.md&amp;rsquo;. As you can see in the file extension of &amp;lsquo;my-first-post.md&amp;rsquo;, it is a simple markdown file. This means that you don&amp;rsquo;t really need to know anything about programming to be able to write a blog post. You&amp;rsquo;ve probably already used Markdown format before without even knowing it. Have a look and see what cool stuff markdown can do for you:&lt;/p>
&lt;p>&lt;a href="https://www.markdownguide.org/basic-syntax/">https://www.markdownguide.org/basic-syntax/&lt;/a>&lt;/p>
&lt;p>We can then open the file, either through a graphical text editor (such as Notepad, Kate or GNOME&amp;rsquo;s Text Editor) or through a command user interface (such as vi or nano). Everyone will have their preference, but I will stick to the command line and use nano:&lt;/p>
&lt;p>&lt;code>nano ./content/posts/my-first-post.md&lt;/code>&lt;/p>
&lt;p>When you open it up, you&amp;rsquo;ll see that there is already some text. You can modify these values, but more importantly, you can begin to add your own text which will be the content of this post. Once you&amp;rsquo;re happy with what you&amp;rsquo;ve got, you can save and exit nano by doing the following shortcuts in succession:&lt;/p>
&lt;p>&lt;code>Ctrl + S&lt;/code> &lt;em>and&lt;/em> &lt;code>Ctrl + X&lt;/code>&lt;/p>
&lt;p>This will save and exit nano respectively. At this point, we&amp;rsquo;ve got everything we need for our first website. We have Hugo, which manages our pages and site, and at this point we should have written something for our first webpage. We&amp;rsquo;re now ready to see it in action!&lt;/p>
&lt;p>In our shell, we can run the command below to start up the webserver. This will build the website and make it available so we can see what it looks like.&lt;/p>
&lt;p>&lt;code>hugo server&lt;/code>&lt;/p>
&lt;p>&lt;img src="https://swinux.org/posts/creating-swinux/images/swinux-hugooutput.png" alt="Hugo Command Output">&lt;/p>
&lt;p>You should be able to see the above output in your shell. If you look closely, you will see that the website is available at:&lt;/p>
&lt;p>&lt;code>http://localhost:1313/&lt;/code>&lt;/p>
&lt;p>Navigating to this link in our browser, we can see that we indeed have a webpage!&lt;/p>
&lt;p>&lt;img src="https://swinux.org/posts/creating-swinux/images/swinux-websitebrowser.png" alt="Webpage Screenshot">&lt;/p>
&lt;p>&lt;em>Isn&amp;rsquo;t that very meta?&lt;/em>&lt;/p>
&lt;p>At this point, you&amp;rsquo;ve learned all of the basics required to create a website with Hugo. You&amp;rsquo;ve used a couple of basic Linux commands, including use of the &amp;amp;&amp;amp; operator to combine commands. In addition, you&amp;rsquo;ve used a package manager and a text editor of choice to make changes to the website using markdown. You&amp;rsquo;ve deployed the website and can navigate through it.&lt;/p>
&lt;p>However, there&amp;rsquo;s still &lt;strong>much&lt;/strong> more to learn. You can check out the resources section at the top of the page for more information.&lt;/p>
&lt;p>If you&amp;rsquo;re new to Swinux, you can have a look at our previous &lt;a href="https://swinux.org/tags/event">events and meetings&lt;/a> we&amp;rsquo;ve held. As always, we&amp;rsquo;re keen to hear your feedback and input regarding the direction of the club. You can always get in contact with us through our email, &lt;a href="mailto:contact@swinux.org">contact@swinux.org&lt;/a>, or alternatively via &lt;a href="https://www.instagram.com/swinuxclub/">Instagram&lt;/a> and &lt;a href="https://discord.gg/ZfCW8DhnhA">Discord&lt;/a>.&lt;/p></content></item></channel></rss>