Rustmilian@lemmy.world to linuxmemes@lemmy.worldEnglish · 6 months ago"LiNuX uSeR iNsTaLlInG A BrOwSeR haha" meanwhile :lemmy.worldimagemessage-square19fedilinkarrow-up121arrow-down10file-text
arrow-up121arrow-down1image"LiNuX uSeR iNsTaLlInG A BrOwSeR haha" meanwhile :lemmy.worldRustmilian@lemmy.world to linuxmemes@lemmy.worldEnglish · 6 months agomessage-square19fedilinkfile-text
minus-squarePoolloverNathan@programming.devlinkfedilinkEnglisharrow-up1·6 months ago LiNuX uSeR iNsTaLlInG A BrOwSeR haha yeah uh… sudo apt install firefox sudo xbps-install firefox sudo pacman -Syu firefox nix-env -iA firefox
minus-squareSkates@feddit.nllinkfedilinkarrow-up1·6 months agoAhahahah imagine writing a short story to install a browser
minus-squaredezmd@lemmy.worldlinkfedilinkEnglisharrow-up1·6 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-squareKühe sind toll@feddit.delinkfedilinkarrow-up1·6 months agosudo pacman -S firefox is also enough. -Syu is for updating.
yeah uh…
sudo apt install firefox
sudo xbps-install firefox
sudo pacman -Syu firefox
nix-env -iA firefox
Ahahahah imagine writing a short story to install a browser
its four words
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*
sudo pacman -S firefox
is also enough. -Syu is for updating.