Chapter 9 Flashcards
Each blank is a single file that can be stored on a disk or transmitted over the internet.
package
Linux package files, unlike Windows installers, are not blank; packages rely on other programs to do the work of installing the software.
programs
Packages contain blank - that it, they can tell the packaging software what other packages or individual files must be installed in order for the package to work correctly
dependency information
Packages contain blank so the packaging software can tell which of the two packages is more recent
version information
Packages contain blank to identify the CPU type for which they are intended
architecture information
Blank are typically built from source packages
Binary packages
The package software maintains a database of information about installed packages called blank. The information includes the names and versions as well as the locations.
package database
The two most common package systems in Linux are blank and blank
RPM and Debian
Originally, package systems worked blank - that is, to install a package on your computer you would first have to download a package file from the internet or in some other way
locally
Modern Linux distributions provide blank to help automate the process of package installation
network-enabled tools
Network-enabled tools rely on network blank, from which the tools can download packages automatically
software repositories
Name the 5 tasks that are typical for software installation
1) Issue a command to install a program
2) The software locates dependencies of the specified program and notifies you of any additional software that must be installed
3) You issue a final approval for software installation
4) The software downloads all necessary packages
5) The software installs all the packages
RPM-based distributions include blank, blank, blank, blank, blank, and blank
RedHat, Fedora, CentOS, SUSE Enterprise, openSUSE, and Mandriva
The basic tool for installing software on RPM-based distributions is the blank command
rpm
The rpm command works locally, so if you want to use a network repository use blank or blank for RedHat, Fedora, or CentOS
yum or dnf
The rpm command works locally, so if you want to use a network repository use a blank command or a blank such as YaST 2 for SUSE Enterprise or openSUSE
zypper or GUI front end
The blank command is the lowest-level interface for Debian package systems
dpkg
Several tools provide text-mode and graphical interface atop dpkg, the most important being the text mode blank or the newer blank or the GUI blank
apt-get or apt or Synaptic
Debian package files end in what extension
.deb
Typically you should blank the software before updating it
remove
The blank is the core of the Linux installation. It manages memory, provides software with a way to access the hard disk, doles out CPU time and performs other low-level critical tasks
Linux kernel
One way the kernel provides order on running software is to create a sort of blank with the running programs. When it boots, the kernel runs one program either lib/systemd or /sbin/init, which are responsible for starting all other basic programs the Linux run, making them the children of the initial parent program.
hierarchy
The result of the hierarchy system is a blank hierarchy of processes
tree-like
Every process has a blank number associated with it.
process ID (PID)
Before you manage processes, you must be able to identify them. The blank and blank utilities help you identify processes.
ps and top
The simplest tool for identifying processes is blank, which produces a process listing.
ps
With the ps command, the blank option indicates username and the blank option creates a display that shows parent/child relationship
-u
–forest
One popular combination of options for the ps command is blank, which produces the information most system admins want, including PID values and command names for all the processes on the computer
ax
You can pipe through the blank command to help narrow down the scope of information including in the ps command
grep
If you want to quickly locate CPU- or memory hogging processes, or if you want to study how resource use varies over time, the tool appropriate for this is blank
top