Will it run Crysis? LinuxPDF is Linux running inside a PDF file via a RISC-V Emulator and I can't believe it works (2025)

Will it run Crysis? LinuxPDF is Linux running inside a PDF file via a RISC-V Emulator and I can't believe it works (1)
  • Chromium browsers can turn a PDF into a working Linux environment under emulation
  • Chrome's disabled JIT compiler hampers performance
  • High school-aged developer has form for impressive PDF projects, such as running Doom inside one

A high-school student has achieved another coding feat, getting a lightweight Linux distribution to run inside a PDF document.

Ading2210 developed LinuxPDF for Google Chrome and other Chromium-based browsers by leveraging a version of TinyEMU, a RISC-V emulator, that has been modified to run inside a PDF.

Unlike traditional virtual machines, this emulator operates entirely within Chrome’s PDF viewer by utilizing an older version of Emscripten that compiles to asm.js instead of WebAssembly.

You may like

  • Linux Foundation brings together top browser makers for more "open" approach
  • A new split-screen feature is coming to Google Chrome, and it's surprisingly powerful

How LinuxPDF works

When a user opens the file and agrees to "Start Emulator," the embedded code loads, launching a minimal Linux environment. The interface consists of a text-based Linux viewport with a soft keyboard made of interactive PDF buttons. Users with a physical keyboard can enter commands in a designated input field.

Despite its ingenuity, LinuxPDF is far from practical for regular use. According to Ading2210, boots takes between 30 and 60 seconds.

This sluggish performance is thanks to Chrome’s disabled Just-in-Time (JIT) compiler, a move which bolsters security but prevents optimizations that could speed up code execution. As a result, LinuxPDF remains more of a technical experiment than a functional operating system.

Those interested in testing LinuxPDF can open it in a Chromium-based browser like Google Chrome or Microsoft Edge. Developers can also explore or modify the source code which is freely available on GitHub.

Are you a pro? Subscribe to our newsletter

Sign up to the TechRadar Pro newsletter to get all the top news, opinion, features and guidance your business needs to succeed!

Via TomsHardware

You may also like

  • We've listed the best Linux distros right now
  • We've also listed the best PDF readers for Android phones and tablets
  • Intel slams Nvidia and AMD, claims chip giants have huge numbers of security flaws
Will it run Crysis? LinuxPDF is Linux running inside a PDF file via a RISC-V Emulator and I can't believe it works (2)

Efosa Udinmwen

Freelance Journalist

Efosa has been writing about technology for over 7 years, initially driven by curiosity but now fueled by a strong passion for the field. He holds both a Master's and a PhD in sciences, which provided him with a solid foundation in analytical thinking. Efosa developed a keen interest in technology policy, specifically exploring the intersection of privacy, security, and politics. His research delves into how technological advancements influence regulatory frameworks and societal norms, particularly concerning data protection and cybersecurity. Upon joining TechRadar Pro, in addition to privacy and technology policy, he is also focused on B2B security products. Efosa can be contacted at this email: udinmwenefosa@gmail.com

You must confirm your public display name before commenting

Please logout and then login again, you will then be prompted to enter your display name.

Read more

Linux Foundation brings together top browser makers for more "open" approach
A new split-screen feature is coming to Google Chrome, and it's surprisingly powerful
Kali laid bare: the most famous Linux hacking distro of all time
This Redditor installed a game engine on their smartwatch, and now it runs Doom, Quake, and Half-Life
I've used Edge, Firefox, and Opera, and yet after ten years in tech journalism, I still come back to Chrome
A powerful new AI tool is coming to Chromebooks to vastly increase productivity

Latest in Pro

AI is booming — but are businesses seeing real impact?
NHS IT supplier hit with major fine following ransomware attack
Most businesses are now fully embracing AI - but aren't always protected against the risks
Winning the war on ransomware with multi-layer security
Maintaining SAP’s confidentiality, integrity, and availability triad
“It's wildlife working for you” - how Agri-Tech can help revolutionize British farming as we know it

Latest in News

Lies of P Overture won't elaborate on the game's eyebrow-raising post-credits twist, and I think that's good news
The Switch 2 launching with a Mario Kart game 'is very unlike Nintendo' compared to the original Switch releasing with Breath of the Wild, says former marketing leads: 'That's what's gonna make you want to buy the new hardware'
Waze is ditching Google Assistant for Gemini on iOS, and for good reasons
Using a smartwatch could be a game-changer for people with diabetes, new research suggests
Focal just upgraded its audiophile noise-cancelling wireless headphones with even better sound, better noise cancelling, and a way higher price
Windows 11’s Game Bar gets a fresh coat of paint, plus a tweak to work better on handhelds – and I like the direction Microsoft’s heading in here

More about pro

AI is booming — but are businesses seeing real impact?NHS IT supplier hit with major fine following ransomware attack

Latest

Garmin Forerunner 255 falls to an incredible lowest-ever price in the Amazon Spring Sale

See more latest

Most Popular

Lies of P Overture won't elaborate on the game's eyebrow-raising post-credits twist, and I think that's good news
The Switch 2 launching with a Mario Kart game 'is very unlike Nintendo' compared to the original Switch releasing with Breath of the Wild, says former marketing leads: 'That's what's gonna make you want to buy the new hardware'
iPadOS 19: 4 rumored new features, and 2 I’d like to see
Using a smartwatch could be a game-changer for people with diabetes, new research suggests
Focal just upgraded its audiophile noise-cancelling wireless headphones with even better sound, better noise cancelling, and a way higher price
Waze is ditching Google Assistant for Gemini on iOS, and for good reasons
Garmin adds premium Garmin Connect+ tier with AI features – but promises your free experience ‘is not going away’
Microsoft adds Copilot AI features to Windows 11's Photos app - and I actually don't hate them
Nintendo Direct live build-up: no Switch 2, but these are our predictions for what we could see
NHS IT supplier hit with major fine following ransomware attack
Will it run Crysis? LinuxPDF is Linux running inside a PDF file via a RISC-V Emulator and I can't believe it works (2025)
Top Articles
Latest Posts
Recommended Articles
Article information

Author: Msgr. Refugio Daniel

Last Updated:

Views: 5818

Rating: 4.3 / 5 (54 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Msgr. Refugio Daniel

Birthday: 1999-09-15

Address: 8416 Beatty Center, Derekfort, VA 72092-0500

Phone: +6838967160603

Job: Mining Executive

Hobby: Woodworking, Knitting, Fishing, Coffee roasting, Kayaking, Horseback riding, Kite flying

Introduction: My name is Msgr. Refugio Daniel, I am a fine, precious, encouraging, calm, glamorous, vivacious, friendly person who loves writing and wants to share my knowledge and understanding with you.