Installing Software on Debian Based Linux Distros Flashcards

1
Q

What are Deb distros:

A

Debian
Ubuntu
Linux Mint
Kali Linux

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

Deb distros use this packaging tool:

A

Advanced Packaging Tool ( APT)
apt-cache
apt-get

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

only the “apt” command is used with these distros:

A

Debian 8 & later and Ubuntu 16.04 & later

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

what apt command will help you search?

A

apt-cache search string (or what you are looking for)

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

what apt command will let you install a package?

A

apt-get install [-y] package ( or what you’re installing )

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

what apt command will let you remove a package?

A

apt-get remove package ( or what you are uninstalling )
“this command does not remove the config files of the package”

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

what apt command will let you remove a package and it’s config files?

A

apt-get purge package

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

what apt command will let update the local list of remote packages?

A

apt-get update

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

”””"”Always make sure to run ___________ before installing any software”””””

A

apt-get update

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

If you want to make sure you have the latest bugs and fixes for all of the software you have installed run this command:

A

apt-get upgrade [-y]

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

Debian 8 & later and Ubuntu 16.04 & later uses these APT commands:

A

apt search
apt install
apt purge
apt update
apt upgrade

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

This dpkg command will list the installed packages:

A

dpkg -l

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

This dpkg command will list the file’s package:

A

dpkg -S /path/to/file

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

This dpkg command will list “All” the files in a packaga:

A

dpkg -L

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

The dpkg command that will install a package is:

A

dpkg -i package.deb

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

The dpkg command that will removed or uninstall a package is:

A

dpkg -r package

17
Q

On a Debian based distro you can use the following command to autoremove all the un-used dependencies on your system to keep it cleaned up.

A

apt autoremove

18
Q

On a RPM based distro you can use the following command to autoremove all the un-used dependencies on your system to keep it cleaned up.

A

dnf autoremove

19
Q

software packages are installed on Linux distros using these Package Managers:

A

RPM - its commands are : dnf / yum and rpm
DEB - its commands are: apt and dpkg