Lunduke
News • Science & Tech
How To: Build and run Serenity OS
(In 5 easy steps)
May 10, 2023
post photo preview

So you've heard about Serenity OS -- the scrappy little upstart operating system that takes deep inspiration from the systems of the 1990s.  And now, because you are a totally normal and reasonable nerd, you want to try it out.

Well, here's the bad news: There are no ready-to-go ISO images of Serenity.  No installers.  If you want Serenity OS, you're going to have to build it from source.  Seriously.

But fear not, fellow nerd!

For I am here to walk you through doing exactly that... and -- you know what? -- it's actually a pretty simple process.

So simple, in fact, that I'm going to fill this article up with screenshots just to make it seem bigger, and more dififcult, than it actually is.

Step 1) Be running Ubuntu and have some drive space ready

Most of these instructions will be very similar most flavors of Linux... and pretty doggone similar for Windows or macOS as well (especially the last couple of steps).  But we're going to assume you are running a semi-recent version of Ubuntu for this tutorial.  Or, at the very least, an Ubuntu-derived system.

If you happen to be running Windows or macOS, you can still mostly follow along... but you'll also want to check the Build Instructions on the Serenity GitHub page for more details on getting all of the requirements installed.

In addition you'll need 7.6 GB of space available on your hard drive.  At least.  This is how much the total code repository, build, and disk image takes up.

Step 2) Install the Requirements

Copy, paste, and run the following to install most of the key system requirements:

sudo apt install build-essential cmake curl libmpfr-dev libmpc-dev libgmp-dev e2fsprogs ninja-build qemu-system-gui qemu-system-x86 qemu-utils ccache rsync unzip texinfo libssl-dev

Then run the following to install the needed version of the GCC compiler:

sudo apt install gcc-12 g++-12

On some systems it might be a good idea to explicitly install QEMU (the PC emulator which we'll be using).  Though it should be installed in the requirements above.  But doesn't hurt to run this:

sudo apt install qemu

Note: You must have at least version 6.2 of QEMU for Serenity OS.

Step 3) Grab the Serenity OS code

There are two super simple ways to get the full code for Serenity OS:

Option 1: Run the following command:

git clone https://github.com/SerenityOS/serenity

That will create a "serenity" directory and make a clone of the entire repository.  Easy peasy.

Option 2: Go to https://github.com/SerenityOS/serenity and click on the "Code" button... then click "Download ZIP".

It will look something like this:

This will download the whole project as a single zip file.  Then you'll simply extract that zip file to any folder you like.

Step 4) Build the Toolchain

Before we build the latest version of the operating system itself... we need to build all of the tools needed to do the building.

Luckily that process is simply one command.  Be within the "serenity" directory and run the following:

Meta/serenity.sh rebuild-toolchain

Fair warning: This can take a while depending on how beefy your machine is.  The output will look something like this...

Or this...

Also a bit of this...

When that finishes... we're on to the fun part...

Step 5) Build Serenity OS and run it!

This last step, likewise, is super simple.  But it can take a while for a full, fresh build of the whole Serenity OS.

Run this:

Meta/serenity.sh run

That is where all the magic happens.  All of the code is compiled (with the binaries located in Build/x86_64/Root) and then a QEMU ready disk image is created with the entire Serenity OS ready to rock and roll.

Then... wait for it... Ta-da!  QEMU launches with Serenity OS!

This is what Serenity OS looks like on first boot (at least... in the current build... which is changing all the time).

But, of course, Serenity has a whole bunch of themes you can choose from.  Like this semi-sorta-macOS inspired theme:

Or this Windows 95 inspired theme:

Can't go wrong with classic computer themes, I always say!

You now have a fully functional, virtualized Serenity OS system!  Huzzah!

Enjoy and poke around this delightful, open source system!

If you're not already a subscriber to The Lunduke Journal of Technology on Locals... now's the time!  Click that button so you don't miss out on all the nerdy goodness!

 

community logo
Join the Lunduke Community
To read more articles like this, sign up and join my community today
13
What else you may like…
Videos
Podcasts
Posts
Articles
Adobe Makes 2nd Fraudulent Copyright Claim Against Lunduke Journal

Adobe's war on Tech Journalism continues, as they issue a second false copyright claim in 48 hours. The 2nd one even more ridiculous than the first.

1st Banned Video:
https://x.com/LundukeJournal/status/1914160985977335942

2nd Banned Video:
https://x.com/LundukeJournal/status/1912606452994224362

00:15:36
Adobe & YouTube Censor & Silence Journalist

At the demand of Adobe, Google has removed leaked video of Adobe's CEO from YouTube. Abusing and misusing copyright law to silence a Tech Journalist.

The video Adobe doesn't want you to see:
https://x.com/LundukeJournal/status/1914160985977335942

00:15:42
Figma Trademarks "Dev Mode", Demands Nobody Use Phrase

And that's not all! Figma - who makes design and prototyping software - also trademarked the word "Config" and attempted to trademark "Schema".

00:10:49
November 22, 2023
The futility of Ad-Blockers

Ads are filling the entirety of the Web -- websites, podcasts, YouTube videos, etc. -- at an increasing rate. Prices for those ad placements are plummeting. Consumers are desperate to use ad-blockers to make the web palatable. Google (and others) are desperate to break and block ad-blockers. All of which results in... more ads and lower pay for creators.

It's a fascinatingly annoying cycle. And there's only one viable way out of it.

Looking for the Podcast RSS feed or other links? Check here:
https://lunduke.locals.com/post/4619051/lunduke-journal-link-central-tm

Give the gift of The Lunduke Journal:
https://lunduke.locals.com/post/4898317/give-the-gift-of-the-lunduke-journal

The futility of Ad-Blockers
November 21, 2023
openSUSE says "No Lunduke allowed!"

Those in power with openSUSE make it clear they will not allow me anywhere near anything related to the openSUSE project. Ever. For any reason.

Well, that settles that, then! Guess I won't be contributing to openSUSE! 🤣

Looking for the Podcast RSS feed or other links?
https://lunduke.locals.com/post/4619051/lunduke-journal-link-central-tm

Give the gift of The Lunduke Journal:
https://lunduke.locals.com/post/4898317/give-the-gift-of-the-lunduke-journal

openSUSE says "No Lunduke allowed!"
September 13, 2023
"Andreas Kling creator of Serenity OS & Ladybird Web Browser" - Lunduke’s Big Tech Show - September 13th, 2023 - Ep 044

This episode is free for all to enjoy and share.

Be sure to subscribe here at Lunduke.Locals.com to get all shows & articles (including interviews with other amazing nerds).

"Andreas Kling creator of Serenity OS & Ladybird Web Browser" - Lunduke’s Big Tech Show - September 13th, 2023 - Ep 044
50% Off Yearly & MP4 Downloads, Lifetime Subs still available!

The April Lunduke Journal Pledge drive has ended!  Thank you to everyone who pitched in to help The Lunduke Journal continue to provide ad-free, Big Tech Free journalism!

The Lunduke Journal would not be possible without your support.

Seriously.  Thank you.

-Lunduke

Read full Article
Support The Lunduke Journal (with Bitcoin matching through Monday April 21st!)

The April Lunduke Journal Pledge drive has ended!  Thank you to everyone who pitched in to help The Lunduke Journal continue to provide ad-free, Big Tech Free journalism!

The Lunduke Journal would not be possible without your support.

Seriously.  Thank you.

-Lunduke

Read full Article
Help The Lunduke Journal fight against the Tech Goliaths

The corrupt Tech Foundations of the world — WikiMedia, The Linux Foundation, Mozilla, and the rest — have received hundreds of Millions of dollars in donations. The Big Tech giants bring in Billions and Billions ever year.

And there is only one Tech News outlet that is pushing back against these woke, dirty organizations… The Lunduke Journal.

One nerdy David. Against an army of well-funded, woke Tech Goliaths.

Without your support, The Lunduke Journal would not exist.

And, without The Lunduke Journal, many Tech News stories simply would never be told.

From now, through Friday, March 28th, we are running The Lunduke Journal pledge drive.

Make a one time donation (with multiple options, including Bitcoin) — and help keep The Lunduke Journal publishing commercial free, Big-Tech-Free news.

Or grab a discounted subscription and get a few fun perks:

  • Access to the exclusive Forum.

  • Access to exclusive shows (such as Q & A’s).

  • Warm Fuzzy Feelings (tm) that you’re supporting truly independent Tech Journalism.

Scroll down to find the option that works bet for you. Give only what you are able. Together we will tell the Tech News stories that no other Tech News outlet has the guts cover — together we will hold these Tech Goliaths accountable.

Make a One Time Donation

Want to toss in a one-time donation to The Lunduke Journal? There’s a few great options!

Via BitCoin:

Send any amount of BTC to the following address:

bc1qyjakve8fywm8pz2v99v57yhjj0vzr2vjze6fcq

  • Email "bryan at lunduke.com" with to let us know it was you! You can choose to keep your donation anonymous if you prefer.

Via Locals:

  1. Go to Lunduke.Locals.com/support.

  2. Click “GIVE ONCE”.

  3. Enter any amount you like.

Looking for a subscription? Scroll down for options!

50% Off Yearly Subscription:

50% off a Yearly subscription to The Lunduke Journal via both Locals and Substack. (This includes full access to the community Forum.)

That’s $2.25 per month. Pocket change.

The Famous Lifetime Subscription:

The "World Famous Lunduke Journal Lifetime Subscription" is exactly what it sounds like. Pay once and get full access to The Lunduke Journal. For life. A great way to support Big-Tech-Free Journalism.

(This includes full access to the community Forum.)

New Lifetime Subscriptions are available, for $200, from now through Friday, March 28th.

The Lifetime Subscription can be obtained via Locals, Substack, or using Bitcoin. All three options work great and are super easy.

How to get a Lifetime Subscription via Locals:

  1. Go to Lunduke.Locals.com/support.

  2. Select "Give Once".

  3. Enter "200" into the amount field.

  4. After checking out, Lunduke will toss you an email once your account is set to full lifetime status. (This usually happens within a few hours.)

How to get a Lifetime Subscription via Substack:

  1. Go to Lunduke.Substack.com/subscribe.

  2. Select the “Lifetime Subscription” option.

  3. After checking out, Lunduke will toss you an email once your account is set to full lifetime status. (This usually happens within a few hours.)

If you would also like full, Lifetime access to Lunduke.Locals.com (which is included):

  1. Make a free account on Lunduke.Locals.com.

  2. Email “bryan at lunduke.com” with the email address you use on both Substack and Locals (can be different email addresses).

  3. Lunduke will toss you an email once your account is set to full lifetime status on Locals.

How to get a Lifetime Subscription with Bitcoin:

And, finally, you can obtain a Lifetime Subscription via Bitcoin. Save a few bucks with this option, as Bitcoin processing has fewer fees associated with it.

bc1qyjakve8fywm8pz2v99v57yhjj0vzr2vjze6fcq

  • Email "bryan at lunduke.com" with the following information: What time you made the transaction, how much was sent (in Bitcoin), and the email address you use (or plan to use) on Locals.com or Substack.com.

50% Off DRM-Free, MP4 Downloads:

Want to be able to download every show The Lunduke Journal releases (and watch them on whatever device you like)? Yeah. You can do that. For 50% off.

Note: This DRM-Free download option does not include access to the Forum. This option is strictly for downloading the episodes.

The Lunduke Journal would not be possible without your support. Every subscriber, of every type, makes a massive difference in bringing Big-Tech-Free Tech Journalism to the world.

This truly is the last bastion of independent Tech Journalism.

Thank you.

-Lunduke

Read full Article
See More
Available on mobile and TV devices
google store google store app store app store
google store google store app tv store app tv store amazon store amazon store roku store roku store
Powered by Locals