this post was submitted on 14 May 2024
1089 points (97.7% liked)

linuxmemes

20770 readers
1099 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 

Terminal > Windows Registry.

you are viewing a single comment's thread
view the rest of the comments
[–] Skates@feddit.nl 6 points 4 months ago (2 children)

Ahahahah imagine writing a short story to install a browser

[–] dezmd@lemmy.world 9 points 4 months ago

Yeah, totally.

Just imagine trying to do this with Windows Powershell, without a package manager like chocolatey to make it simple like linux...

$workdir = "c:\installer\"

If (Test-Path -Path $workdir -PathType Container)

{ Write-Host "$workdir already exists" -ForegroundColor Red}

ELSE

{ New-Item -Path $workdir  -ItemType directory }

$source = "https://download.mozilla.org/?product=firefox-latest&os=win64&lang=en-US"

$destination = "$workdir\firefox.exe"

if (Get-Command 'Invoke-Webrequest')

{

     Invoke-WebRequest $source -OutFile $destination

}

else

{

    $WebClient = New-Object System.Net.WebClient

    $webclient.DownloadFile($source, $destination)

}

Start-Process -FilePath "$workdir\firefox.exe" -ArgumentList "/S"

Start-Sleep -s 35

rm -Force $workdir/firefox*
[–] DrGamerPhD@programming.dev 8 points 4 months ago (2 children)
[–] mightyfoolish@lemmy.world 5 points 4 months ago (1 children)

Could be three. Just make your only account the root user.

[–] cygon@lemmy.world 2 points 4 months ago (1 children)

Make it two: emerge firefox (Gentoo users only)

[–] ulterno@lemmy.kde.social 1 points 4 months ago

its four words

By the time you reach writing 4 words on Windows, you''l have enough mental exhaustion for it to be equivalent to a short story.