Module 3 July 8: Linux package dependencies through Flashcards

1
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what is storage space on a remote server that hosts thousands of linux packages? Must be added to a Linux system in order for the system to search and download packages from it.

A

Linux Repository

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a package that doesn’t require any dependencies? all files required to install and run the package on the Linux system are contained inside this.

A

Stand alone package

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a package that other Linux packages depend upon to function properly? Often not included, even though they are needed to install the software packages contain.

A

Package dependencies.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What list the external dependencies needed by the package?

A

Package manifests

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a tool on Linux systems for installing, managing, and removing Linux packages?

A

Package manager

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What can also read package manifests to determine if any dependencies are needed? what tool on Linux systems?

A

Package managers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What finds and downloads the dependency packages before installing the packaged software? What Linux tool

A

Package manager.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are some Debian and Debian based system Package manager tools? Like for Ubuntu

A

dpkg, APT, aptitude

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are some RedHad and RedHat based system package managers, like for CentOS?

A

rpm, yum, dnf

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

dpkg

A

debian package manager

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Advanced package tool, uses dpkg commands

A

APT

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

User-friendly package manager

A

aptitude

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

RedHat Package Manager

A

rpm

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Yellowdog Updater Modified, comes with RedHat

A

yum

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Dandified Yum

A

dnf

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What Linux command is used to build, install, manage, and remove packages in Debian or Debian-based systems?

A

dpkg

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

use for Linux dpkg command:
$ sudo dpkg - -install packagename

A

To install a package

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

use for Linux dpkg command:
$ sudo dpkg - -update-avail packagename

A

To update a package saved locally

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

use for Linux dpkg command:
$ sudo dpkg - -remove packagename

A

To remove a package

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

use for Linux dpkg command:
$ sudo dpkg - -purge packagename

A

To purge a package

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

use for Linux dpkg command:
$ sudo dpkg - -list

A

To get a list of packages installed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

use for Linux dpkg command:
$ sudo dpkg - -listfiles packagename

A

To get a list of all files belonging to or associated with a package

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

use for Linux dpkg command:
$ sudo dpkg -contents packagename

A

To list the contents of a new package

25
Q

what does purging a package do in Linux?

A

removes the package and all files belonging to the package

26
Q

What is a back-end tool for querying .deb files for information?

A

dpkg-query

27
Q

What is a back-end tool for manipulating .deb files? The tool provides information about .deb files, and can pack and unpack their contents

A

dpkg-deb

28
Q

When are one of the two commands, dpkg-deb and dpkg-query, run in the background?

A

When an action parameter is added to the dpkg command.

29
Q

What is a powerful package manger designed to be a front-end for the dpkg command?

A

APT : Advanced Package Tool

30
Q

What do alternative methods for managing Debian packages sometimes include for interfaces?

A

CLI and GUI

31
Q

What is a popular GTK widget with a GUI? provides an array of package management features.

A

Synaptic Package Manager

32
Q

What alternative to dpkg installs and updates dependencies required for proper .deb package installation?

A

APT, Advanced package tool

33
Q

What is a GTK GUI developed by Ubuntu and integrated into the Ubuntu OS?

A

Ubuntu Software Center

34
Q

What is a user-friendly front-end for APT, with a menu-drive console and a CLI?

A

aptitude

35
Q

What is a part of KDE used to install and load packages that do not contain binary content?

A

KPackage

36
Q

What is KDE?

A

Kool Desktop Environment

37
Q

What does Non-binary content include?

A

graphics and scripted extensions

38
Q

What are the best methods of checking the provided options from the installation package when performing an installation from the command line in Windows?

A

Use the /?, /h, and /help switches to give insight into what options the installer provides. Alternatively, check the documentation for the software to get the same information.

39
Q

what are file extensions for archives in Windows?

A

.zip, .rar

40
Q

What PowerShell command can be used to extract and compress archives from the command line?

A

Compress-Archive

41
Q

What is the purpose of a DLL in Windows

A

To share a package of useful code among programs

42
Q

What is used to guide the Windows Installer in the installation, maintenance, and removal of programs on the Windows OS?

A

an msi file

43
Q

What package manager have we already looked at?

A

apt

44
Q

what is actually a package manager for the Ubuntu OS?

A

apt

45
Q

what makes sure that the process of software, installation, removal, update, and dependency management is as easy and automatic as possible?

A

Package Manager

46
Q

what is a typical way I might install a program?

A

search in google, go to the program’s website, download the installer, and then run it to install the program.

47
Q

What is one normal way to update a program?

A

open it and use the mechanism it provides for the new version.

48
Q

How does microsoft take care of program updates for software it writes?

A

Windows Update

49
Q

What might you need to do in order to update a package if there is no in-software update mechanism?

A

go to the website you downloaded the software from in the first place and get another installer for the new version

50
Q

how might you remove software?

A

use the Windows add/remove programs utility or run a custom uninstaller if it is provided.

51
Q

What technologies can take care of dependency management but don’t do much to help you install software from a central catalogue of programs or perform automatic updates?

A

Windows Installer

52
Q

Where does Chocolatey come in handy?

A

package management to help with updates and installing software from a central catalogue of programs

53
Q

What is a third party package manager for Windows? Not written by Microsoft. Lets you install Windows applications from the command line. Built on existing Windows technologies like PowerShell. Lets you install any package or software that exists in its repository. Supports several methods of package installation.

A

Chocolatey

54
Q

What can you do if Chocolatey is missing software?

A

add it to the Chocolatey public repository

55
Q

What can you do if you need to package something like an internal company application?

A

Create your own private repository

56
Q

What configuration management tools integrate with chocolatey

A

sccm
Puppet, making the deployment of software to Windows computers in your company automatic and simple.

57
Q

What can you do to work with Chocolatey in the PowerShell CLI

A

install the chocolatey command line tool, and run it directly from PowerShell, or use the package management feature that was recently released for PowerShell. Just specify that the source of the package should be the chocolatey repository

58
Q

what command do we use to locate the windows sys internals package after adding chocolatey as a software source?

A

Find-Package sysinternals -IncludeDependencies