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
rpm --nodeps
Install the package without worrying about installed dependencies
26
rpm -i
Install
27
rpm -K
Check package signature (same as rpm --checksig)
28
rpm -V
Verify
29
rpm -a
Selects all packages
30
rpm -U
Upgrades or installs a new package
31
rpm -F
Upgrade a package already installed
32
rpm -q
Query a package
33
rpm -e
Erase or uninstall
34
rpm -l
List files in a package
35
rpm --rebuild
Rebuilds a source package
36
rpm --rebuilddb
Rebuilds the rpm database
37
rpm -qa
Prints all installed packages
38
rpm -ql
List files in an installed package
39
rpm -qf
Determine which installed package a file belongs to
40
rpm -qpl
List all files in an RPM package
41
rpm --checksig
Checks package signature (same as rpm -K)
42
Directory containing yum source repository files
/etc/yum.repos.d
43
cpio
Command used to create a cpio archive
44
cpio -d
Create leading directories where needed
45
cpio -i
Extract
46
cpio -u
Replace all files without asking
47
cpio -m
Retain previous modification times when creating files
48
rpm2cpio
- Convert RPM packages to CPIO compressed files | - Used primarily to extract files from a RPM package without installing the rpm package