Desktop Linux: Unveiled Chapter 3: Preparing to Install Linux

Desktop Linux: Unveiled is a series of posts that show how to start using Linux.

Previous Chapter: Desktop Linux: Unveiled Chapter 2: Common Linux Distributions

In this post, acquiring a computer on which to install Linux, as well as downloading and writing a Linux distribution on a USB stick, will be shown. Fedora Desktop Edition will be used as an example, although at this point, setting up the installation USB stick can be done with any other distribution — which is most of the common ones — that allows for such an installation.

(Note for future reference, graphical installation with other distributions will be similar, but each may have some nuances and differences between them.)

Hardware — the computer on which Linux is to be installed

First, I recommend that as a newcomer, whichever linux you decide to install, that you decide to do the installation on a separate computer, such as an old computer, on its own. By doing this, you will not reduce space on the hard drive / SSD on which your current OS is installed, especially in taking account the space for data you may to transfer over to the Linux system, nor will you have to deal with the intricacies and occasional perils of dual booting or data loss on your current computer setup, nor will you have deal with the myriad and occasionally confusing issues that may surround virtualisation. Finally, by having a separate computer to “play” with, you will be able to start over again in the event that something goes wrong, or if you decide that you’d like to try a different Linux distribution.

The current (2024) webserver for www.malak.ca

The above photo is taken from a page from a recent (February 2024) presentation the author made about their web server, which hosts https://www.malak.ca (the website hosting this blog), using an old computer with a BIOS creation date of 2008.

Acquiring a computer:

“Old” computers are not unusually difficult to acquire; you may already possess one in storage.

  • Use an old computer you may be wishing to replace, or already be in the process of replacing, or even a several years-disused computer of which you may not yet have disposed;
  • Buy, or barter for, a used computer from family or friends;
  • Buy a used computer from a local computer repair person, who may have a storefront and may sell refurbished computers;
  • Speak with your employer; depending on their policies, they may be willing to sell you older equipment of which they would like to divest themself(ves);
  • Check reputable online markets;
  • Buy a new dedicated computer (only recommended once you become convinced of the cost/benefit regime).

Check the “minimum requirements” page of the distribution you choose; my current bare minimum specs are a Core 2 Duo 64bit processor, 4GB memory, 40GB hard drive (the current, as of late 2023, Fedora Workstation recommendation), and a spare USB 2.0 port (such as after other common USB peripherals you may be using, like a mouse and keyboard), in order to use the installation USB stick (which will be shown lower down in this post). (As desired or required, don’t forget to get a used screen.)

For the purposes of introduction to, and the exploration of, Linux, the old mechanical hard drive with such an old computer is likely adequate; however, SSD cards and extra memory will dramatically increase performance of older equipment. Further, as of posting, SSD cards in the 250GB range are typically very affordable to either add on later, or purchase for immediate use including installation of the system, while memory cards appropriate to the motherboard are usually readily available and inexpensively as per the above list regarding sourcing an old computer.

Downloading and creating a USB installation stick:

A USB stick is required for this step; Fedora’s installation image as of version 39 in late 2023 is approximately 2GB; hence a 4GB USB stick would be recommended going forward.

I am recommending the use of Fedora Media Writer to create the installation media, which can be run on Windows or Mac (as well as Linux, of course!) Should you choose another distribution, you can use a downloaded image from another distribution’s download page (see Desktop Linux: Unveiled Chapter 2: Common Linux Distributions for a few suggestions of other distributions; see below regarding choosing other Fedora desktops, or creating installation media of another distribution).

(Note that the following screenshots may have been created out of order, however are presented in the order required for the narrative.)

To get the Fedora Media Writer, visit https://getfedora.org (I start off using screenshots from Windows):

Click on the circle indicating the latest release (in the shot above, 39), which will bring you to the following screen.

On this screen, click on “Download Now”; don’t worry, you aren’t committing yet.

On the following page, click on the green download button for Fedora Media Writer, either for Windows or for Mac:

A licence agreement window will pop up. This is for the Gnu Public Licence version 2, the licence under which the Fedora Media Writer is licensed. Click on “I agree”.

The next screen will ask where to install Fedora Media Writer on your computer, and it will suggest a location to install it on your hard drive. Click “Install”:

Once Fedora Media Writer is installed, click on “Next”:

… and click on “Finish”:

Launch Fedora Media Writer:

You may be asked to allow the app to make changes to your device. Click “Yes”.

At this point, you can either choose to have the Fedora Media Writer download Fedora automatically, or, you can download a distribution of your choice, and ask Fedora Media Writer to use that distribution instead (the “Select .iso file” option):

Going with the “Download automatically” option above, which by default chooses a Fedora distribution, on the next page (below), choose “Official Editions”:

Should you wish to try another desktop instead of the standard Gnome Desktop in Fedora Workstation Edition, you can choose the “Spins” option above, which will list the following drop-down menu:

Under the choice taken, the next screen is the “Write Options” for the USB stick, which at this point should be inserted in a USB port. Choose the latest version of Fedora (in this case, 39), the hardware architecture, and the USB stick to which you wish to write the installation media:

Click “Write” in the above screen, and Fedora Media Writer will begin writing to the USB stick:

The screen will automatically change to indicate that the written data is being checked:

Once finished, you can click on “Finish”.

Should you wish to try out Fedora without installing it on your computer first, you can follow the instructions on the screen to restart the computer and try a live, temporary version of Fedora. This will not affect your hard drive in the least, unless you choose to install … which I am not recommending, since I am recommending that you install on a completely separate computer (see beginning section).

Next Chapter

Chapter 4 will show the installation of Fedora Workstation.

Desktop Linux: Unveiled Chapter 1: What is Linux?

Desktop Linux: Unveiled is a series of posts that show how to start using Linux.

In this post, Linux will be briefly explained and briefly compared to other common desktop computer operating systems.

First, what is an operating system?

An operating system (OS) is the software that makes a computer run, like Microsoft Windows, or MacOS. It is typically able to provide a way for users to operate the computer, and translate the instructions so the computer can run them. It also coordinates all the computer’s resources such as its CPU (central processing unit), memory, hard drive, and other components of the computer, as well as coordinate the user’s programs and data.

What is Linux?

Most people understand “Linux” to be a complete operating system like Windows or MacOS. However, strictly speaking, “Linux” is in fact just a part of the operating system, the central part called the kernel. Common usage has had “Linux” to informally refer to the whole operating system.

“Distributions”, (usually) complete and integrated collections of software built around the Linux kernel, can be legally built and distributed by anyone with the abilities and inclination because of the way the Linux kernel and the other software usually used with it are licensed, although most people choose to use an established distribution.

Distributions vs. Operating Systems

Linux distributions usually contain full linux-based operating systems, as well as extra software often not traditionally included in operating systems, such as office suites, media players, graphic design software, educational software, games, various apps, as well as other software such as server software. Although not all of the software is installed at the same time, they are typically all easily available in central locations called “repositories”, similar to app stores on MacOS and Windows; much is available free of charge, too!

Free Software vs. Proprietary Software

A lot of software available under Linux — and a growing amount under Windows and MacOS as well — is called Free Software, or sometimes Open Source Software. As a contrast, a substantial amount of Windows and MacOS software is called Proprietary Software.

Many people hear the expression “Free Software” and assume that it means that it is free of monetary charge. Some may even question its quality on the basis of such a lack of price.

Although free software is often (though not always) given away free of charge, and most common free software is of very high quality, the expression “Free Software” in fact refers to “freedom”, specifically various freedoms granted to the users of the software. These freedoms include the freedom to run the software for whatever purpose you wish, the freedom to study how the program works as well as make any changes that you wish, the freedom to share the software with others, and the freedom to share software you’ve modified with others.

Some of these freedoms require that the source code, or “recipes” that people can read and understand, be available to anyone and everyone.

The various licences used to allow this often tend to foster cooperation between various parties, often allowing groups who might sometimes be competitors to also cooperate with each other, creating common software that each group can then package together to present according to their own vision. Within this cooperation, software sometimes is developed quickly, and often many programming bugs are found and corrected quickly.

Some common free software licences are the GPL and the LGPL, which specifically give the recipient of the software the above freedoms, and require the sharing of the source code to the software, and any changes you may have made to it, when distributing the software. Other common free software licences are the BSD licence, the MIT licence, and the Apache licence, which have very few requirements but which permit users to use, modify, and distribute the software, while retaining copyright and some disclaimers notices.

In contrast, proprietary software is usually controlled by very restrictive licenses that keep the source code hidden, doesn’t allow users to distribute the software to whomever they please, doesn’t allow users to modify it or fix bugs even if they are able to were they to have access to the source code, and may even dictate how the software may or may not be used.

Next Chapter

Chapter 2 will list some popular Linux distributions that people use on their computers.

Having to find multiple levels of internet access — oh, fun!

Disclaimer: I am musing on the challenges I faced while trying to secure reliable internet I required during a recent set of business trips, and the process of developing various solutions to these challenges. These challenges are, in a general fashion, typical of the routine logistical challenges I face when in-the-field, and no doubt of other field technicians. In no way am I trying to reflect negatively on my employer, who for the purposes of this entry shall remain nameless.

I was recently on a couple of business trips, depending on an iPad as a critical part of the execution of the contract. This trip was to a small city of 25,656 (according to Wikipedia), big enough to have plenty of internet access points, cell phones, and cell phone data. As far as I was concerned, in fact, I was in a mini-mini version of Montreal, home for me, to those who haven’t figured it out yet.

The way the iPad is set up, wifi internet access is required to transfer building plans needed to do the work to the iPad, and transfer back files and data collected from my field work. I have made no bones mentioning to some key people heading the overall project that this is a potential Achilles’ Heel to the execution of the project, since, at least in the overall project’s fringe locations sufficiently beyond population centres, internet access would be a spotty luxury at best. My trips were at least symbolically close enough to the edges, underlining the potential problem.

One of the first challenges I found was that the iPad didn’t seem to play well with the internet supplied in the motel (DataValet); although I did manage to get it to work once, it proved a bit too frustrating to get working reliably. A colleague confirmed that he’d had similar problems getting Apple products to connect to DataValet. I had no trouble getting my personal computer running Fedora 21 Workstation to work with DataValet: In fact, besides not recalling having trouble over the years connecting to wifi that wasn’t specific to Linux or Fedora, I would actually say that the experience was even easier than in the past, since the daily leases seemed to automatically renew, although it seemed to insinuate itself by a “convenient” automatic popup window. In parallel, my work Windows-based machine also worked flawlessly throughout with DataValet, although if I remember correctly, I may have had to occasionally open up a browser in order to renew the leases.

Add to this challenge, my employer’s local office didn’t seem to have wifi, or at least, assuming that it *was* there as a hidden network, my work computer didn’t automatically connect to the corporate wifi when not plugged in to the corporate network, which it normally does at my home office.

My first solution was to fulfill a purpose of my having asked for a company smart phone in 2014: Create a hot spot using the data plan on my work phone to do data transfers when not in a wifi zone that works well for the iPad. However, it seemed, between the picture-heavy data and the fact that the iPad seems to do automatic background backups when hooked up to internet — a feature to which I initially had a (negative) knee-jerk reaction that nonetheless actually was useful at one point and since — my phone appeared to run out of my data plan for the month, as evidenced by the sudden stop of internet connection through the phone while still operating just fine as a phone. Having quickly checked the phone’s data usage logs and determining that I’d certainly gotten to the neighbourhood of the limit I believed I had (2 gigs), I assumed that the phone’s contract had a limit set by my employer to turn off the data plans until the month rolls over in order to avoid overage charges. I later learned, upon my return home and standing in front of the IT tech responsible for the corporate cell phones, that the problem was presumed to be an unusual set of settings probably set by some esoteric app (of which I have have very few, esoteric or otherwise, on my work phone), or possibly a SIM card problem, which turned on off the phone’s data capabilities, and that in any case the company has no such policy to ask the cell service provider to turn off a phone’s data access when it reaches the limit of “included data” in the plan, until the rollover date. The lack of internet on the phone is “solved” by resetting the phone to factory settings; I should get instructions on how to do it in the future should I be faced with the problem again. 🙂

This led to a second solution: I used my personal phone to create a hotspot and consumed a bit of my personal data plan, which didn’t bother me too much, at least until it were to involve overage charges. Not that I checked, but based on the little amount of time I used it, I’m sure I never got into that area.

The next solution also created another challenge due to a flub on my part: My client finally gave wifi access to the iPad at her various locations; however, I should have requested that she also enable my work computer, since I had a secondary need for internet given that I developed a need to produce or modify extra plans several times once arriving at some sites, and as such a need to transfer the plans off the computer and onto the iPad.

Finally, I realized that when I have wired access, I had yet another solution available to me: I could set up my linux laptop to create a wifi hotspot. This was rather easy, at least under the current gnome version in Fedora 21 and I believe has been for quite a while under the gnome 3.0 series, and probably before too. Unfortunately, this was wasn’t a solution at the motel since it only had wifi and no wired access, and I didn’t have an external wifi receiver with a cord to provide the wired internet and free up the wifi card.

Here are some screenshots of how easy it is to setup a wifi hotspot under Gnome 3:

step 1

step 2

step 3

step 4

step 5

Feeling a bit curious along the lines of “shouldn’t this be relatively easy under Windows, too?”, I checked on my work computer, and while it seemed possible, and indeed my brother once did it for me with his Windows computer, it was not obvious at all; in fact, I gave up after about four or five click-throughs with little end in sight.

Hence, at the local office and having set up my laptop to create a local wifi hotspot, I’d created a mildly-amusing-to-me setup on my temporary desk, plugging in my personal laptop to the corporate network, running a hotspot using its wifi card, and using my work computer normally over wifi as well as doing data transfers from the iPad.

Back at home and at my home office, I mention my difficulties in getting internet access to my supervisor (who isn’t a computer techie type), who thought that creating a hotspot under Windows couldn’t be done, or at least he didn’t realize it could be.

Further discussing this with him, I explained the situation saying “I don’t mind trying to find other solutions — that *is* my job — but after not having two A Plans (the motel internet not working for the iPad, nor having wifi at the office), then suddenly not having a plan B (the company cell phone internet not working), having to depend on my personal phone’s data plan, then having to depend on the client’s internet access but not having enough access for all devices, and finally coming up with a part-time solution to replace one of the A-plans — using a second of my personal resources in the form of my personal laptop — there’s a problem here,” to which he agreed.

Jovially, he did however suggest that “in the next leg of your travels, I happen to know that if you can go to the local library, they have free wifi”. This made me realize that if necessary and if possible, I could also try the free wifi at the local Tim Hortons (a popular Canadian chain of coffee and doughnut shops), assuming that there is one in the remote town where I’ll be visiting next.

Which has me really thinking about the problem:

– not all the field techs in the company have smart phones with data plans, and as such not able to create a needed hotspot in order to enable the execution of a project;
– not all the field techs have personal smart phones with a data plan, nor should field techs in general be required to use their personal data plans, let alone go into overage charges, in order to enable the execution of a project;
– at least at first glance, it doesn’t seem to be a quick and easy thing to turn a windows machine into a hotspot in order to enable such work — and I don’t want to hear from the peanut gallery on this one, since I *know* that it *can* be done; my point is that at first glance, even a moderately savvy user such as myself shouldn’t have to say “It’s easy under Gnome 3, why isn’t it about as easy under Windows? Boy it’s a good thing that I had my personal laptop with me!” (On a side note, usually the stereotype is that “Windows is easy, and Mac easier, but isn’t Linux hard?” 🙂 )
– and, only a limited number of computer users are using Gnome 3, where it is easy to set up a hotspot if you either have a wired connection to the internet, or two wifi cards on your computer. (I’ll have to check with my brother, who uses XFCE on one of his laptops, which is on a technical level identical to mine, to see how easy it is under that desktop; obviously, it’s technically possible; I imagine it’s just a question of how easily different desktops enable the functionality.)

Which leads me back to the above-mentioned problem of “what do you do in remote, small villages where you don’t have a corporate office with wifi, motel / B&B internet access is spotty at best, there’s no cell phone coverage, and there are few if any public wifi spots like a restaurant or a public library?”

I just hope that the library’s free wifi isn’t provided by DataValet. 🙂

FTP clients and Windows

This week I had what I consider to be curious experiences with others regarding ftp.

I’m what I would call old school; I started using ftp about 15 years ago when the internet was barely, if at all, entering the greater public consciousness, and the piece of software I had access to, gFTP, wasn’t chargeware. Way back when, Windows didn’t even have its own integrated network stack, let alone effectively having integrated ftp abilities in Windows Explorer.

Then Windows and the Vice President came along and claimed to have invented the internet :), and people use drag & drop the way you can between two directories in a gui. I have never done it this way. Ever. Even the first time I asked IT to set up an ftp site for me for a work project, I naturally downloaded and installed FileZilla after immediately finding their instructions on how to do it through Windows Explorer confusing. So the Windows way is completely foreign and confusing to me.

The first curious experience was when I, probably naively, sent out an email to a bunch of co-workers who have access to a corporate ftp site for download of files resulting from field work, such as photos. I said that if people were having difficulty transferring files using the “windows” way of transferring files, that they could use Filezilla. The response from the project manager was “Why can’t we do it directly?” Simple response, “apologies for the confusion, just in case the way IT described it doesn’t work, here’s another way to try to directly do the transfers.” Again, I became aware that I was probably naive in presuming that the “windows” way may or may not work once outside the corporate IT network — why wouldn’t it? I just checked using the windows machine down the hall on my home network, and of course I was wrong and it works.

But I found the reaction curious anyway; maybe I was taking it too literally, but I found the “why can’t we do it directly?” part curious since I was proposing an alternate DIRECT way of doing things.

The second curious experience was more concrete. A co-worker was beside me, and we’re discussing the contents of the FTP site. I fire up FileZilla, and they ask me what I’m doing. I carefully respond; they say they’ve never seen it done that way, and it looks confusing. My turn. I explain “I’m starting up an ftp client. Here are the files on my computer on the left side, here are the files on the ftp site on the right.” “oh really? That must be a new way.” (harumppphhhh.) “Uhm, I’ve been using ftp clients that look this way for the past 15 years.”

I didn’t continue into a tyrade about how Windows has people brainwashed into thinking that they way to do anything on a computer is the “Windows Way”.

Sheesh, I don’t know how to fix my car when it breaks down. Doesn’t mean I don’t have an idea about what it looks like under the hood.