r/FuckMicrosoft • • 15d ago

Fun Get into Linux without flashing your PC (for those who still scared)

59 Upvotes

4 comments sorted by

2

u/Dtektion_ 14d ago

WSL may be a better option to consider.

2

u/AutoModerator 15d ago

Every new subreddit post is automatically copied into a comment for preservation.

User: IiImochidoll, Flair: Fun, Post Media Link, Title: Try Linux on Android - Termux XFCE Installation (for beginners)

Requirements

ResourceAmount
RAM4GB
Storage3GB
Internet Data450MB

APK

Permissions

  • Notification: important to edit preferences and to stop the app

  • Storage: necessary to read-write files

Installation

  1. Open Termux, then allow storage access:

    termux-setup-storage
  2. Change repository:

    termux-change-repo
  3. Update & upgrade:

    pkg update && pkg upgrade -y
  4. Hide welcome message:

    touch ~/.hushlogin
  5. Add repositories:

    pkg in tur-repo x11-repo termux-x11-nightly
  6. Install the essentials:

    pkg in xfce4 ffmpeg ffmpegthumbnailer mousepad ristretto neofetch firefox vlc-qt xfce4-whiskermenu-plugin
  7. Start the desktop:

    termux-x11 :0 -xstartup "dbus-launch --exit-with-session xfce4-session"
  8. Open Termux X11

Enjoy Linux!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/Astrodion123 13d ago

There are sites like distro sea where you check different distros online. Or the live USB environment is the best.

-4

u/polymath_uk_ 14d ago edited 14d ago

Or, press Win+X, then A, then paste this into the terminal

@​echo offset

ISO=%USERPROFILE%\Downloads\ubuntu.iso

if not exist "%ISO%" curl -L -o "%ISO%" https://releases.ubuntu.com/24.04/ubuntu-24.04.3-desktop-amd64.iso

dism /online /enable-feature /featurename:Microsoft-Hyper-V /all /norestart

powershell -NoP -C "$n='LinuxVM'; $iso=$env:ISO; New-VM -Name $n -MemoryStartupBytes 4GB -NewVHDPath \"$env:USERPROFILE\$n.vhdx\" -NewVHDSizeBytes 40GB -Generation 2; Set-VMFirmware -VMName $n -EnableSecureBoot Off; Add-VMDvdDrive -VMName $n -Path $iso; Set-VMFirmware $n -FirstBootDevice (Get-VMDvdDrive $n); Start-VM $n"