Install Package Management Flashcards Preview

Linux+_acad > Install Package Management > Flashcards

Flashcards in Install Package Management Deck (20):
1

What does LDCONFIG do?

Shared objects being updated or update cache. Or if you made changes to ld.so.conf

LDCONFIG

2

What are Libraries?

Libraries provide applications with reusable functions.

Usually contained in /lib, /lib64,/usr/lib and /usr/lib64

3

What are repositories?

Locations from which a package manager downloads software and dependencies.

4

Where is apt package management tool located?

/etc/apt

5

How to upgrade distribution version?

apt-get dist-upgrade

6

Where are program configuration files stored?

/etc/vsftpd.conf

Vsftpd.conf is example program config file

7

How do you remove software&config files on deb dist?

apt-get purge program | example apt-get purge vsftpd

8

How to get information about a package on deb?

apt-cache show vsftpd

9

The yum configuration file is located at?

/etc/yum.conf

10

How can you view yum transactions?

cd /var/log cat yum.log

11

Where are reposit locations commonly stored in Yum distros?

/etc/yum.repos.d

12

how do you see list of installed packages on debien?

dpkg -l

13

How do you download, but not install package in debian

apt-get download "nano"

14

How do you view installed packages on yum based distro?

yum list installed

15

list files and directories installed with the package nano on yum distro?

rpm -ql nano

16

What are environment variables?

Environment
variables are shortcuts that allow us to store filepaths, commands, or other information in a system-accessible
location

17

give an example redirect to file /etc/task.txt

echo "This is the task" > /etc/task.txt

18

How do you prevent redirect's from overwriting an existing file?

use noclobber. set -o noclobber

19

View PATH env variable

echo $PATH

20

add path to /root/tmpbin

echo PATH=$PATH:/root/tmpbin