this post was submitted on 14 May 2024
1100 points (97.9% liked)

linuxmemes

20880 readers
4 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
[–] [email protected] 7 points 6 months ago (2 children)

Ahahahah imagine writing a short story to install a browser

[–] [email protected] 10 points 6 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 9 points 6 months ago (2 children)
[–] [email protected] 6 points 6 months ago (1 children)

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

[–] [email protected] 2 points 6 months ago (1 children)

Make it two: emerge firefox (Gentoo users only)

[–] [email protected] 4 points 6 months ago
[–] [email protected] 1 points 6 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.