Advanced Package Man Flashcards

1
Q

where is the dnf config file located

A

/etc/dnf/dnf.conf

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

list all packages available for installation from all enabled repos

A

sudo dnf repoquery

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

list all packages available for installation from a SPECIFIC enabled repos

A

sudo dnf repoquery –repo “BaseOS”

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

list installed packages

A

sudo dnf list installed

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

list all installed packages and all packages available for installation

A

sudo dnf list

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

list specific package that is installed

A

sudo dnf list installed gnome*

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

list recently added packages

A

sudo dnf list recent

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

install ypbind

A

sudo dnf install ypbind

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

install package located locally

A

sudo dnf localinstall /mnt/AppStream/Packages/dcraw……..

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

update a package

A

sudo dnf update autofs

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

update all installed packages

A

sudo dnf -y update

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

view info on autofs package

A

dnf info autofs

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

remove a package

A

sudo dnf remove ypbind

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

search for packages that contain a specific file such as /etc/passwd

A

dnf provides /etc/passwd

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

search for packages that match the specified string in their name

A

dnf search system-config

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

list all available and installed package groups

A

dnf group list

17
Q

show hidden groups

A

sudo dnf group list hidden

18
Q

List all packages that a specific package group such as Base contains

A

sudo dnf group info Base

19
Q

install a group

A

sudo dnf -y groupinstall “smart card support”

20
Q

update group

A

sudo dnf groupupdate “smart card support” -y

21
Q

remove group

A

sudo dnf -y groupremove ‘smart card suppport’

22
Q

list all modules

A

dnf module list

23
Q

list a specific module

A

dnf module list perl

24
Q

list specific module and version

A

dnf module list perl:5.24

25
Q

list all enabled module streams

A

dnf module list –enable

26
Q

install perl module

A

sudo dnf -y module install perl

27
Q

update module perl

A

sudo dnf module update perl -y

28
Q

display module profile info

A

dnf module info –profile perl