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
Xorg Plans Political Moves: Removing 2 Years of Commits from XLibre Dev

Xorg, which has a stated goal of killing itself, plans to re-base on 2 year old code in order to avoid code from XLibre developer. Plus: Moving from "Master" to "Main" branch naming.

More from The Lunduke Journal:
https://lunduke.com/

00:18:27
January 20, 2026
IBM Sued for Discrimination. Again.

A 61 year old white man was fired from IBM, yet "a black woman with identical territory, quota, and performance" was not. Plus: IBM & Red Hat are settling lawsuits behind the scenes.

The IBM / Red Hat Leaks: What we've learned so far:
https://lunduke.locals.com/post/5515346/the-ibm-red-hat-leaks-what-weve-learned-so-far

$89 Lifetime Lunduke Journal Subscriptions all January:
https://lunduke.substack.com/p/89-lifetime-lunduke-journal-subscriptions-c1b

More from The Lunduke Journal:
https://lunduke.com/

00:12:18
January 19, 2026
Anti-ICE Activists Mistake Programmers for ICE Agents

A few software engineers were having lunch at a deli in Minneapolis. Leftist activists thought, because they were all white, fit males, that they must be ICE agents. They used Signal to organize a mob.

$89 Lifetime Lunduke Journal Subscriptions all January:
https://lunduke.substack.com/p/89-lifetime-lunduke-journal-subscriptions-c1b

More from The Lunduke Journal:
https://lunduke.com/

00:06:16
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

Do you know what happens in the "Grok" Server Rooms a hundred or a thousand miles away?
🤔
Below, a Grok Instance was asked:
My Windows 11 fails to launch Notepad and other simple Apps. Give me detailed instructions to make Windows 11 perform with an efficient use of memory and processing resources when applications are in use. I'd also like my personal data to remain secure and private.
😵 💀 😬
https://www.windowscentral.com/microsoft/windows-11/windows-11-apps-like-notepad-arent-loading-what-is-error-code-0x803f8001-and-how-d

post photo preview

For the nerds: How to put a backdoor in your compiler, Ken Thomson style 🙂 For the social credit points: Hail Rust!

12 hours ago

Advancing My Webblog by Regressing

I'm advancing my personal health blog by regressing to static pages. Regression? Yes. I'm advancing by retreating :p

I haven't been a web coder in a LONG time. I came in the wave AFTER websites were handcoded in pearl, but long before javascript. I coded pages in HTML and then with ColdFusion. Yes, I'm ancient. Web sites were built by hand coding and that was a road block for publishing.

Then came CMS - content management systems. These were a godsend. Technical users would install and configure and content creators would log in, type in their ariticles and hit publish. It was quite the innovation. I hosted sites using phpNuke, Durpal and other dinosaurs. BTW, I still think the forum software of that era are a LOT better than what we have here on Locals. I like threaded discussions, but I digress.

However, adding a database, application server and the rest of the CMS made content sites both more expensive and much more fragile. Sql injection attacks and ...

January 16, 2026
Lunduke Journal Week In Review - Jan 16th, 2025

Whew! It’s been another wild week for Tech News!

Here’s a crazy stat for ya:

We are currently 16 days into 2026, and The Lunduke Journal has already recorded 19 shows (17 of which have been published on every platform, and 2 others to be published this weekend everywhere… but are already available via the MP4 download page). And that’s with taking New Year’s Day off (and getting the flu this week).

It’s a heck of a lot of Tech News, to be sure.

Lunduke’s Top Stories for the Week

If you only have time to watch a few of shows, I recommend these 3 as being the most interesting (or important… or just… strange) from the last week:

In other words: A pretty gosh-darned crazy week for Linux.

(Those links are to Lunduke.Substack.com, but you can watch all of those shows on any other platform. As always.)

Other Tidbits of Awesomeness

A few other notes on this, most excellent, Friday!

And, with that, I leave you with a screenshot of the MP4 listing of the shows so far in 2026. Bonkers.

 

-Lunduke

Read full Article
January 14, 2026
Lunduke's Lifetime Subscriber Wall 3 is almost full!

Holy moly.

This afternoon I sat down to update the 3rd Lunduke Journal Lifetime Subscriber wall — adding in all of you who sent in requests over the last week or so.

And, boy howdy, were there a lot of you! So many, in fact, that the 3rd Lifetime Wall only has room for around 6 or 7 more names (depending on the name lengths)! That’s crazy!

If you want to make it onto “The Lunduke Journal Lifetime Subscriber” Wall number 3… send me an email (bryan at lunduke.com) with the way you would like your name to be displayed.

Or, if you’re not already a Lifetime Subscriber, remedy that for $89. (Which, you know, is a pretty gosh darned good value.) … Then send me that email requesting to be added to the wall.

Once Wall 3 is full, we’ll start in on Wall number 4 (that’s nuts). At the current rate, I expect Wall 4 to debut this week.

And, as always, thank you for your support. Whatever kind of subscription you have, it is deeply appreciated. Monthly, Yearly, or Lifetime. All are amazing. You make The Lunduke Journal possible.

You rule.

-Lunduke

 
Read full Article
January 13, 2026
Lunduke Out Sick Tomorrow

I’ve got the flu (or something else yucky) and need to take the day off tomorrow.

But I don’t really have a normal “boss” to email. Heck, all of you are sort of like my collective boss.

So I’m emailing you:

Boss, *cough cough* Lunduke is out sick tomorrow.

Which means no new shows on Wednesday. Hoping to rest up and be back with new shows on Thursday.

If you’ve missed any shows over the last few weeks, now’s a good chance to catch up.

And feel free to grab one of those fancy-shmancy $89 Lifetime Subscriptions while you’re at it. That won’t make my flu go away any faster… but it definitely won’t hurt.

Unrelated note: Buying stock in Nyquil might not be a bad idea. I think I’m about to increase their profits.

-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