Saturday, May 13, 2023

How to Fedora Linux like the blog admin (Post No. 42)

    And of course, speaking of how to Fedora like the blog admin, we will be looking at in today's blog post, How to use Fedora Linux like the blog admin. Now, if you've been paying some attention to the titles of all of these blog posts so far, you will likely begin to notice a pattern here. What is it? Well, simply put --- many of these Linux distros will be simple enough to get started with on your own & you can easily learn most of these distros by both exploring the environment on your own, and looking up the help of the distro's specific forum in case you get stuck and need to be helped through getting it to work. 

    With that out of the way, we will be moving onto today's topic, How to Fedora Linux, like the blog admin. 

    "But wait a minute," you might say...


 
  "Didn't we already cover Fedora in a past blog post?"

    To which, I reply my skeptical blog reader...


 
    If you were paying attention, I have made reference to a flavor of the Fedora Linux distribution in the past. This distro flavor is Fedora Silverblue, which doesn't have the same sort of functionality as Fedora. Basically, it's similar to how the similarities between the Acer Aspire and Acer Nitro both start & end with just the brand name of the hardware. Meaning? Both of those computers are released by the Acer computer corporation, but, at the same time --- they are not the same. The Acer Aspire is aimed at people who just want to have a computer for doing productivity tasks, and only those types of tasks. The Nitro can do all those productivity tasks, but I purchased the Nitro I use for playing three games primarily, but I'm likely just going to keep adding more until I can't add any more. 

   With those differences clearly out of the way, we will end this blog post's introduction, and begin with today's discussion of the blog topic. How to Fedora Workstation like the blog's administrator. 

    With that kept in mind, whenever I refer to "Fedora Linux" from this point forward, I am talking precisely about Fedora Workstation, not ---     Fedora Silverblue,which I have already covered.

How To Fedora Linux like the Blog Admin

Step 1

  Just like last time when we covered Fedora Linux work, we will simply start by getting the ISO of Fedora Linux from the Fedora Linux website, https://fedoraproject.org/workstation/download/, and selecting the one appropriate for our computer's architecture. You may either choose to use the Fedora Media Writer Tool for Microsoft Windows, Mac, or Linux if you plan to install Fedora on another machine (or overwrite the current OS installed on your current machine --- be sure to back up important files if that is the route you are going to be taking), or just download the ISO file for "Intel and AMD x86_64 systems," if like most people your PC is an x86_64 system. If you have an ARM or PowerPC64 system, download the appropriate architecture for that, but no architecture is universal. 

 How To Fedora Linux Like The Blog Admin

Step 2

   OK, so the next step is obviously "building" a system to put the newly downloaded Fedora Linux on. 



   Just boot off the Fedora ISO and allow it to do the ISO check. If you have the system correctly on the right hardware, it should pass without any errors. 

How To Fedora Linux Like The Blog Admin

Step 3

    Since you have normally booted off the Installation CD, and gone into the Live desktop, you will see the welcome screen. (No startup sound will play as this is not Ubuntu). So, now we will be going to click install Fedora Workstation, as the next step is going to be running the Setup program. Same as last time, we need to partition the disk, and allow it to set up as normal. (If you need to remember how to do this, just look up Post No #41, "How To Fedora Silverblue like the Blog Admin.") 

  (I won't be spamming the pictures like I was when I was covering Silverblue, as this is the second of the blog series.) 

 How To Fedora Linux Like The Blog Admin

Step 4

   When the initial install process of Fedora Linux Like The Blog Admin --- Step 4, completes... Register your user credentials correctly as always. 

    We will reboot when the prompt displays it is alright to do so. We also will remove the installation media from the drive, whether it be DVD, USB image, or ISO image depending on how this system is being installed. 

    Once the process finishes, we will be into the Fedora Linux desktop. 

    It might take a while if you are only doing this on a 2GB of RAM system --- on VirtualBox, considering you may not have a full amount of RAM (such as bare minimum 4GB) to work with. 


      Now we are in the Fedora Workstation 38 desktop, which is not immutable like Fedora Silverblue. If you want to install the appropriate "additions" package like as if you have installed the OS on VirtualBox, go ahead and do that now. Otherwise, the OS is pretty much ready for use as-is. 

    Thank you for your time.




Wednesday, May 10, 2023

How To Fedora Silverblue Like the Blog Admin (Post No. 41)

    Even though I had promised on Sunday that on Monday I would be covering another "Linux how-to" post, we will be covering how to "Fedora Silverblue" like the blog admin. Hold up? How to "Fedora Silverblue" like the blog admin? Isn't this kind of redundant to explain?

    Well, yes and no. Yes, since it's another fork of Fedora/RedHat, which means that a lot of the things which are covered in this post will be similar to Fedora Workstation. Also, Fedora Workstation is probably what you are going to refer to most of the time when someone talks about "Fedora Linux" anyway. 


    We will be however covering Fedora Workstation later on in the blog series - just remember, you won't have too many differences to remember between the two operating systems. 

   Speaking of those differences (and why you would want to understand the two):

1. Silverblue is immutable: This means that your operating system mounts system files as read-only. And this also means that neither you/nor anything you install can make changes to the files that are needed to make the computer function. 

2. You can't manage your system with DNF:

Fedora Silverblue changes the paradigm. It is an image-based operating system, meaning the core system is one image identical across many computers. The version of Silverblue on your machine is identical to the one on the developer's machine. When you download an update, you replace your system image with a new image containing the latest software.

This means you cannot update or manage your system using the DNF package manager that most other versions of Fedora rely on. Instead, you use rpm-ostree to download updated images or make modifications to your image. More on that later.

3. You must use Toolbx to use DNF instead:

 

DNF isn't off limits to Fedora Silverblue users. It's just that instead of downloading RPMs to your system, you stick them in containers. That's where Toolbx comes in.

Toolbx is a terminal-based tool to create containerized spaces for you to install and manage packages. This comes with certain advantages. If you're developing a website, you can download all the packages you need to a separate container rather than add hundreds of extra packages to your core system.

When you're done, you can delete the entire container and the packages within without any concern about the stability of your PC. You can give multiple websites their own container, and the same is true for software development.

Let's say you're not a developer. Toolbx is still where you go to install other terminal-based tools you've come to rely on. If you want to use software like rsync or exiftool, you can still do so in Fedora Silverblue using Toolbx.

Toolbx is available for Fedora Workstation as well. The difference is that on Silverblue, it comes preinstalled and is your only way to use DNF or install command-line programs.

4. Flatpak is the default format for apps:

Flatpak is a universal app format for Linux desktops. With Flatpak, a developer can easily package their app in one format and know that it will run across most versions of Linux. This is a far cry from the way Linux has traditionally functioned.

Most Linux distros, including Fedora Workstation, have the ability to install Flatpak apps. What sets Fedora Silverblue apart is that Flatpaks are the expected, default way to install apps. The app store provides Flatpaks, whether directly from Fedora or from Flathub.

There are ways to install traditional RPMs if needed. You can do so using Toolbx, though this method won't add an icon to your app drawer. You will instead need to launch the app from the command line each time. Another option is to add an app to your system image using rpm-ostree, such as with the following command:

 rpm-ostree install package 

Making modifications to your system image takes longer and requires a restart each time for your new program to appear in your app drawer. Installing Flatpaks is a much more straightforward experience.

5. You can easily rollback to a previous version:

All operating system updates run the risk of introducing bugs or making changes that you don't like. On traditional Linux distros, like Fedora Workstation, undoing a system update is a tricky process. You can try reverting packages to their previous version, but if an update installs plenty of new programs, you need to go through the changes with a fine-tooth comb to undo everything by hand.

With Fedora Silverblue, you can temporarily revert to a previous version of your system with only a few mouse clicks. Simply select an older release during boot. You may need to hold down a certain key to bring up the list of options. Or to permanently roll back, you can use the rpm-ostree rollback command.

To restore your system, you don't need to look at changelogs or even know what changed. This makes rolling back a system something a less computer-savvy person can figure out.

6. Try Out Beta Releases with No Risk:

Those of us who enjoy getting our hands on the latest software before its official release know that doing so comes with some degree of risk. You can encounter bugs that make your computer less stable, with no easy way to return your system back to how it was other than reinstalling your distro from scratch.

In contrast, you can rebase to the upcoming version of Fedora Silverblue with zero risk. That's right, zero. You can even switch to the unstable development version of Fedora, known as Rawhide, with peace of mind. That's because even if you find your system in an unbootable state, you can simply switch back to your most recent stable system image.

You can then tell your system to stick to the stable version going forward as if you had never decided to dabble with unfinished software in the first place.

(Information source: MakeUseOf - Fedora Silverblue vs. Workstation:
https://www.makeuseof.com/fedora-silverblue-vs-workstation/)

So let's install this software on something, shall we? 

   Very much similar to before when we installed Linux Mint (see blog post no. 39), we first need to install the appropriate ISO for our hardware. Most ia_x86_64 users should use the x86_64 release ISO, but if you need aarch or ppc64, then those are options as well. 

    Similar to when I was explaining on how to install Linux Mint, the procedure I will employ is pretty much the exact same. But, you should pay attention to any differences that will be obvious vs. when Fedora Silverblue's boot media is in the computer's DVD drive as a DVD (if you chose to burn it as a DVD in 2023, or if you have it on a memory stick.) 

    First things first, you're obviously not going to get very far without downloading the ISO as I've already mentioned. Since most people will be installing this on an ia_x86_64 system, we will be using the x86_64 ISO for our purposes. I will again be using VirtualBox to explain everything as we go along, so let's keep going with that.



    First things first, at the boot menu, we will notice an option to install "Fedora 38", as well as to Test this media & install Fedora 38 (in other words, go into live mode) and troubleshooting. We'll just install Fedora 38, as this computer has nothing else on the hard drive worth worrying about losing, but other than that, we will install Fedora 38. 


   Since we booted into the installer straight away, we get the full screen localization screen. For now, we will leave everything as English (unless you are feeling particularly advenutrous and wish to install the distro in another language, one which you do not speak. -- Strongly not recommended unless you have a basic idea of what the icons are & don't need to understand what it is you're trying to read on the screen.)

   So, we will select Continue to continue the installer to the next step of installation. 

 



     This screen is alerting you to the fact that your disks are selected to be automatically partitioned. We'll have to confirm that this is precisely what we want (since this means we will not need to manually partition the disk install as if in some other more advanced distros --- which we will cover later) and partition the disk to make that alert go away. 


   On this screen, there is nothing to do except for click Done.


 

 Now, we're ready to install Fedora Silverblue. If this had been on a secondary hard drive or we were overwriting Windows 10 or 11, we would have been asked to overwrite or add partitions to allow the final OS to boot. But since this computer in the lesson has nothing else on it, we will instead click Begin Installation.

  The next step is simply letting it work...



    Feel free to walk away from the computer while it does this. It will not need to be interacted with again until you are prompted to enter anything, or to reboot the operating system if no further prompts are given to do so. 

    In the meantime, there isn't much else to do here. Except maybe look at the progress bar as it loads (Not genuinely considered to be entertaining... If you want to do that for "fun", I suggest playing the game, Progress Bar Simulator, or Loading Screen Simulator (I suppose I have the title right, should be corrected if I'm wrong) but like I said... In the meantime, I'm just going to be walking away from this and letting it work - I'm pretty sure that it's bound to give me some further directions to complete before I am done with any of these things. 

    When the installation process completes, press "Reboot System." 

    After your first reboot, you will be put into the User Credential screen for non-administrative purposes.


  During this time, you may make those configurations now. Enter your username, and password, and then you will be allowed to access the desktop. 

   (Oh, and one more thing! Unless you're sure that you can function on first-party repositories only, keep Third-Party Repositories Disabled. Otherwise, Enable Third Party Repositories at the prompt by simply pressing Enable-Third Party Repositories.)

    Connecting your Google, Nextcloud, and Microsoft accounts are completely optional steps. You don't have to connect any of them if you don't want to do that.

   Next, after typing your desired user name, enter the password twice. The first time to set your password, and the second (& final time) so that it can be checked for typos. And the "Be careful not to lose your password." warning doesn't play around, since if you lose your OS login password --- your system's done. It will still boot into the OS just fine, but you will never be able to log into the OS ever again. You will need a recovery drive to be able to ensure you can still access your files should the need be necessary to. (More on creating a recovery drive later. For now, we'll continue with the installation and initial setup of Fedora Silverblue.) 

   If you want to tour GNOME 44, click the "Take Tour" button on the desktop. Otherwise, select No Thanks to be immediately put on the desktop. 

  

   And, that's pretty much it. If you installed this distro in VirtualBox, you will need to install Guest Additions, but other than that, it's entirely all ready to go and ready to do whatever you feel you need to. --- 

Just one more thing before I'm done...

All Operating Systems I will be using on VMs for these blog series will eventually be installed on real hardware. 

   So, that ends today's How to (insert name of Linux distro which is a complete OS) here like the Blog Admin.  



Sunday, May 7, 2023

Rejected Blog Posts (Post No. 40)

    In the past, I have come up with some ideas for blogs which I ultimately had to reject, probably due to the fact that publishing these ideas would ultimately damage my own or someone else's reputation --- even if the damage to someone else's reputation was ultimately deserved on their part, and the reputation damage for myself? Completely undeserved. 

     So, because of this --- I will be continuing the trend of having BLOG POST ideas which I genuinely will be rejecting. 


Any Questions?

    This is the part of the blog where relevant questions will be addressed. And before you ask, No, I haven't abandoned the Linux tutorials that I will put on this blog. I will be addressing them starting with tomorrow's post, which will be post No. 41 on the Blog's Listing.

Question 1. When will you be publishing the rejected blog posts to your blog anyway?

To be completely honest, probably never. If you still aren't satisfied as to why I have this idea of "rejecting" blog post ideas before they get to see the light of day again anyway, read the first paragraph's blog post. 

Question 2. Will there be some type of archive made available of your blog, including the rejected posts? 

Yes, and work will soon begin on writing the archive of all said posts from the introduction of posts from post #0 (Introduction), to the current post, which is post no. 40 in the counted listing (And 41 in the Blogger listing - but I only serialize them 1 less than the actual number, since I didn't count the blog's introduction post as post 1.) 

Question 3. Will you publish the "rejected" posts on your blog or anywhere else online/the cloud?

Absolutely not! Because they are "rejected" posts for a reason. But just in case you were wondering if I was being sarcastic, no --- I'm being absolutely serious. If I had $1.00 for anyone who asked this question, I'd either be broke, just have $1.00, or probably be financially set for life so that I wouldn't have to worry about working a day in my life and still museum volunteer as a hobby. 

Question 4. Do you have anything else to add?

No, not unless I have a calculator! 


    And that concludes today's blog post, for Sunday, May 7th, 2023. (Sunday May 7th, 2023 shall be the date of the blog's publication for future reading and review.) 


Thank you for your time.



I would've been mentioning something about the streams sooner, but I was kept too busy. (Post No. #55)

       This is the 55th post of the blog, even though it actually counts as the 56th on Blogger. Normally, I wouldn't talk about anythin...