module 3 7/9 package manager chocolatey Flashcards
What command line do you use in Windows PowerShell to download a piece of software and its dependencies? install sysinternals
Install-Package -Name sysinternals
software audit
an examination of a software program to evaluate its quality, progress, and compliance with standards, regulations, and plans.
How can you verify that you have installed the package in the PowerShell CLI?
Get-Package
how would I check that I have the package, sysinternals, installed on PowerShell?
Get-Package -name sysinternals
How can you install a package on Windows through the PowerShell CLI?
Uninstall-Package -Name
How would I uninstall the sysinternals package from my computer using the PowerShell CLI?
Uninstall-Package -Name sysinternals
What is NuGet?
a package and software manager written using .NET and .NET framework, since 2010
What is chocolatey?
a package manager that works with Windows. The packages are provided, maintained, and moderated by the community.
What is APT?
The Advanced Package tool, a package manager used in Ubuntu
What tool in Ubuntu installs package dependencies, makes it easier to find packages we can install, cleans up packages we don’t need anymore, and more?
APT
What does the Win+x shortcut do?
brings up a utility bar over start menu with lots of useful tools
what is tree in Linux?
displays directories in a tree format
What is the APT used to extend?
the functionality of a package
what command would I use to install gimp on Ubuntu?
sudo apt install gimp
What does apt do first when you type,
sudo apt install gimp?
it grabs the package dependencies for gimp automatically and asks if we want to install it, all of the stuff that is needed. Then you can confirm or deny.
what does the
0 upgraded, 18 newly installed, 0 to remove, and 16 not upgraded
line after the apt command mean?
it shows you what we and apt are doing with packages on the machine.
how would you remove gimp from your machine? Linux.
Sudo apt remove gimp
What command removes dependencies for us if we use it to remove packages? remove gimp
sudo apt remove gimp
why don’t we have to search for every software we want online when it comes to linux?
package repository software
What are servers that act like a central storage location for packages?
Repositories
What can I do to my machine so it references a package or list of packages?
I can give it the address of the packages. I can add the link to the packages.
what does the register -package source commandlet do?
register the location of a package for Windows PowerShell to install
Where do you add a package or repository link in Linux?
/etc/apt/sources.list
When will my computer know where to check for software?
if I explicitly add the package or repository link to the /etc/apt/sources.list file
what will I see in the /etc/apt/sources.list file?
I’ll see a bunch of addresses that lead to repositories and packages.
What does Ubuntu include to help you install the base OS packages?
several repository sources.
What are PPAs?
personal package archives.
What are hosted on Launchpad servers
PPAs
What is a website owned by canonical limited? Allows open-source software developers to develop, maintain, and distribute software.
Launchpad
How can I add a PPA?
like a depository link.
What software isn’t vetted, and can sometimes contain defective or malicious software?
PPA software.
how should you update your packages? what commands.
apt update, apt upgrade
what command updates the list of packages in your repositories so you get the latest software available, but won’t install or upgrade packages for you?
apt update.
What command should you use when you have an updated list of packages? It will automatically install any outdated packages for you automatically
apt upgrade.
What should you run before installing new software to make sure you are getting the most up-to-date software in your repositories?
apt-update
what should you run to install any available updated packages on your machine/
apt upgrade
how can you learn more about apt commands?
–help
what are other uses for apt?
list package, search package, get information about package.
What PowerShell command will install the package, “awesomesoftware” from the Chocolatey software source?
Install-Package -Name awesomesoftware -Source chocolatey