Flashcards in Install Package Management Deck (20):
What does LDCONFIG do?
Shared objects being updated or update cache. Or if you made changes to ld.so.conf
What are Libraries?
Libraries provide applications with reusable functions.
Usually contained in /lib, /lib64,/usr/lib and /usr/lib64
What are repositories?
Locations from which a package manager downloads software and dependencies.
Where is apt package management tool located?
How to upgrade distribution version?
Where are program configuration files stored?
Vsftpd.conf is example program config file
How do you remove software&config files on deb dist?
apt-get purge program | example apt-get purge vsftpd
How to get information about a package on deb?
apt-cache show vsftpd
The yum configuration file is located at?
How can you view yum transactions?
cd /var/log cat yum.log
Where are reposit locations commonly stored in Yum distros?
how do you see list of installed packages on debien?
How do you download, but not install package in debian
apt-get download "nano"
How do you view installed packages on yum based distro?
yum list installed
list files and directories installed with the package nano on yum distro?
rpm -ql nano
What are environment variables?
variables are shortcuts that allow us to store filepaths, commands, or other information in a system-accessible
give an example redirect to file /etc/task.txt
echo "This is the task" > /etc/task.txt
How do you prevent redirect's from overwriting an existing file?
use noclobber. set -o noclobber
View PATH env variable