• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/42

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

42 Cards in this Set

  • Front
  • Back

dpkg how to install

-i

dpkg Remove a package but leaves configuration files intact

-r



dpkg Remove a package including configuration files

-P

dpkg Diplays information about an installed package.

-p



dpkg displays information about uninstalled package

-I

dpkg lists all installed packages whose names match pattern

-l pattern

dpkg lists the installed files associated with a package

-L

dpkg Locates the package(s) that own the file(s) specified by pattern

-S

dpkg Searches for partially installed packages and suggests what to do with them

-C

l

rpm operation for install

-i

rpm operation to install a new package or upgrade existing one

-U

rpm queries a package, finds if a package is installed, what files it contains, and so on.

-q

rpm - verifies a package - checks that its files are present and unchanged since installation.

-V

rpm uninstalls a package

-e

rpm builds a binary package

-b

rpm forces a installation of a package even when it means overwriting files or packages

--force

rpm displays a series of hash marks to indicate the progress of the operation.

-h

rpm option that is used in conjunction with the -h option for a uniform number of hash

-v

rpm option that specifies that no dependency checks be performed.

--nodeps

rpm quiries or verifies all packages

-a

rpm queries or verifies that all packages own file.

-f

rpm option Displays package information, includingthe package maintainer, a short descrip-tion, and so on

-i

rpm option that displays the files contained in the package

-l

yum checks to see whether updates are available

yum check-update

yum Displays information about packages that provide a specified program or feature.

yum provides

cleans up the yum cache directory

yum clean

enters the yum shell mode in which you can enter multiple yum commands

yum shell

yum displays dependencies of the specified package

yum deplist

yum displays information about a package, such as the installed version and whether an update is available

yum list

Where is the rpm configuration file?

/usr/lib/rpm/rpmrc

Where is the YUM config file?

/etc/yum.conf

Where are additional config YUM files?

/etc/yum.repos.d/

apt-cache showpckg

shows information about a package

apt-cache show how many packages are installed, dependencies, other stuff

apt-cache stats

shows all of the packages dependencies

apt-cache depends

which file specifies locations from which important packages can be obtained?

/etc/apt/sources.list

As a system admin you may alter the configuration files of an application. If you want to reset it to normal, whats the command on a Debian system?

dpkg-reconfigure [package]

In shared libraries, to set the library path, which file do you edit?

/etc/ld.so.conf

In shared libraries, what is the variable if you want to test out changing the path but dont want to change it in the file?

LD_LIBRARY_PATH

With shared libraries, which program displays the programs shares library dependencies? This is to check which libraries the program uses.

ldd

Which command in shared libraries updates caches and links used by the system for locating libraries. That is, it read /etc/ld/so.conf and implements changes.

ldconfig