Installation and Package Management Flashcards

1
Q

Type code for FAT

A

0x0c

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

Type code for NTFS

A

0x07

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

Type code of newer type of extended partition

A

0x0f

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

Type code for Linux swap

A

0x82

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

Type code for Linux filesystem

A

0x83

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

GRUB1 Configuration File

A

/boot/grub/menu.lst

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

GRUB2 Configuration File

A

/boot/grub/grub.cfg

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

ldd

A

Print shared library dependencies for the indicated program or file

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

LD_LIBRARY_PATH

A

Bash environment variable that determines additional library locations to be searched when looking for shared libraries

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

ldconfig

A

Program you run after adding to the /etc/ld.so.conf file

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

File that stores shared library paths

A

/etc/ld.so.conf

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

File that stores the repository locations that apt uses to search for packages

A

/etc/apt/sources.list

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

apt-get

A
  • Package handling and installation utility for Debian-based distributions
  • Will include dependent packages during install
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

dpkg

A

Used to install .deb package files on Debian-based systems

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

dpkg -i

A

Install a package

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

dpkg -r

A

Remove a package

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

dpkg –configure

A

Configures a package

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

dpkg -c

A

Lists contents of a package

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

dpkg -s

A

Lists status of a package (whether installed or not)

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

apt-cache pkgname

A

Shows if installed

21
Q

apt-cache search

A

Search for a named package

22
Q

How to reconfigure an already installed package with dpkg?

A

dpkg-reconfigure

23
Q

aptitude

A

High level package management interface for Debian based distributions

24
Q

rpm

A

package installation utility for Red Hat based distributions

25
Q

rpm –nodeps

A

Install the package without worrying about installed dependencies

26
Q

rpm -i

A

Install

27
Q

rpm -K

A

Check package signature (same as rpm –checksig)

28
Q

rpm -V

A

Verify

29
Q

rpm -a

A

Selects all packages

30
Q

rpm -U

A

Upgrades or installs a new package

31
Q

rpm -F

A

Upgrade a package already installed

32
Q

rpm -q

A

Query a package

33
Q

rpm -e

A

Erase or uninstall

34
Q

rpm -l

A

List files in a package

35
Q

rpm –rebuild

A

Rebuilds a source package

36
Q

rpm –rebuilddb

A

Rebuilds the rpm database

37
Q

rpm -qa

A

Prints all installed packages

38
Q

rpm -ql

A

List files in an installed package

39
Q

rpm -qf

A

Determine which installed package a file belongs to

40
Q

rpm -qpl

A

List all files in an RPM package

41
Q

rpm –checksig

A

Checks package signature (same as rpm -K)

42
Q

Directory containing yum source repository files

A

/etc/yum.repos.d

43
Q

cpio

A

Command used to create a cpio archive

44
Q

cpio -d

A

Create leading directories where needed

45
Q

cpio -i

A

Extract

46
Q

cpio -u

A

Replace all files without asking

47
Q

cpio -m

A

Retain previous modification times when creating files

48
Q

rpm2cpio

A
  • Convert RPM packages to CPIO compressed files

- Used primarily to extract files from a RPM package without installing the rpm package