Complete the code to start installing software using a common command.
sudo [1] install package-nameThe apt-get command is used on many Linux systems to install software packages. The install option tells it to add new software.
Complete the command to uninstall software on Windows using PowerShell.
Get-Package -Name package-name | [1]-PackageThe Uninstall-Package command in PowerShell removes installed software packages.
Fix the error in the command to update software on macOS using Homebrew.
brew [1]The brew upgrade command updates installed software packages to their latest versions on macOS.
Fill both blanks to create a command that lists installed packages and then removes one on Linux.
dpkg [1] | grep package-name && sudo apt-get [2] package-name
The dpkg -l command lists installed packages. The apt-get remove command uninstalls the specified package.
Fill all three blanks to create a PowerShell script that checks if a package is installed, uninstalls it if found, and confirms removal.
if (Get-Package -Name [1]) { [2]-Package -Name [1]; Write-Host '[3] removed.' }
This script checks if package-name is installed, uninstalls it using Uninstall-Package, and then prints a message saying 'Software removed.'