Rustmilian@lemmy.world to linuxmemes@lemmy.worldEnglish · 7 months ago"LiNuX uSeR iNsTaLlInG A BrOwSeR haha" meanwhile :lemmy.worldimagemessage-square196fedilinkarrow-up11.12Karrow-down126file-text
arrow-up11.09Karrow-down1image"LiNuX uSeR iNsTaLlInG A BrOwSeR haha" meanwhile :lemmy.worldRustmilian@lemmy.world to linuxmemes@lemmy.worldEnglish · 7 months agomessage-square196fedilinkfile-text
minus-squareSkates@feddit.nllinkfedilinkarrow-up8arrow-down2·7 months agoAhahahah imagine writing a short story to install a browser
minus-squaredezmd@lemmy.worldlinkfedilinkEnglisharrow-up9·7 months agoYeah, 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*
minus-squaremightyfoolish@lemmy.worldlinkfedilinkarrow-up5·7 months agoCould be three. Just make your only account the root user.
minus-squarecygon@lemmy.worldlinkfedilinkarrow-up2·7 months agoMake it two: emerge firefox (Gentoo users only)
minus-squareulterno@lemmy.kde.sociallinkfedilinkEnglisharrow-up1·7 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.
Ahahahah imagine writing a short story to install a browser
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*
its four words
Could be three. Just make your only account the root user.
Make it two:
emerge firefox
(Gentoo users only)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.