LPIC-1 Linux Installation and Package Management • Complete Question Bank
Complete LPIC-1 Linux Installation and Package Management question bank — all 0 questions with answers and detailed explanations.
Refer to the exhibit. ``` $ dpkg -l | grep apache ii apache2 2.4.41-1 amd64 Apache HTTP Server rc apache2-bin 2.4.41-1 amd64 Apache HTTP Server (binary files) ```
Refer to the exhibit. ``` $ cat /etc/yum.repos.d/custom.repo [custom] name=Custom Repository baseurl=http://repo.example.com/centos/$releasever/$basearch/ enabled=1 gpgcheck=1 gpgkey=http://repo.example.com/RPM-GPG-KEY-custom ``` $ yum repolist repo id repo name status custom Custom Repository 0
Refer to the exhibit. ``` $ rpm -qf /usr/bin/passwd passwd-0.79-5.el7.x86_64 $ rpm -V passwd S.5....T. c /etc/pam.d/passwd missing c /etc/security/passwd ```
Drag steps to the numbered slots on the right, or tap a step then tap a slot.
Drag steps to the numbered slots on the right, or tap a step then tap a slot.
Drag a concept onto its matching description — or click a concept then click the description.
System configuration files
Variable data (logs, databases)
User-installed software and libraries
Temporary files (often cleared on reboot)
Virtual file system for process and kernel info
Drag a concept onto its matching description — or click a concept then click the description.
SELinux user identity
Role-based access control component
Type enforcement (most common)
Multi-Level Security sensitivity level
Combined sensitivity and category set
Refer to the exhibit. $ dpkg -l | grep -E '^ii|^rc' ii curl 7.68.0-1ubuntu2 amd64 command line tool for transferring data rc ftp 0.17-34 amd64 classic FTP client ii wget 1.20.3-1ubuntu1 amd64 non-interactive network downloader
Refer to the exhibit. $ sudo fdisk -l /dev/sda Disk /dev/sda: 100 GiB, 107374182400 bytes, 209715200 sectors Device Boot Start End Sectors Size Id Type /dev/sda1 * 2048 999423 997376 487M 83 Linux /dev/sda2 999424 209715199 208715776 99.5G 8e Linux LVM
Refer to the exhibit. ``` Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-===================-===============-============-============================================ rc apache2 2.4.41-4ubuntu3 amd64 Apache HTTP Server ```
Refer to the exhibit.
```
$ apt-cache showpkg vim
Package: vim
Versions:
2:8.2.3995-1ubuntu2.1 (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_focal-updates_main_binary-amd64_Packages) (/var/lib/dpkg/status)
Description Language:
File: /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_focal-updates_main_binary-amd64_Packages
MD5: d41d8cd98f00b204e9800998ecf8427e
2:8.2.3995-1ubuntu1 (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_focal_main_binary-amd64_Packages)
Description Language:
File: /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_focal_main_binary-amd64_Packages
MD5: d41d8cd98f00b204e9800998ecf8427e
Reverse Depends:
vim-tiny,vim
vim-runtime,vim
vim-addon-manager,vim
vim-gtk3,vim
vim-athena,vim
vim-gnome,vim
vim-nox,vim
vim-gtk,vim
Dependencies:
2:8.2.3995-1ubuntu2.1 - libc6 (2 2.31) libacl1 (2 2.2.53) libgpm2 (0 1.20.7) libpython3.8 (0 3.8.2) libselinux1 (2 3.0) libtinfo5 (2 6.2) vim-common (5 2:8.2.3995-1ubuntu2.1) vim-runtime (0 2:8.2.3995-1ubuntu2.1)
2:8.2.3995-1ubuntu1 - libc6 (2 2.31) libacl1 (2 2.2.53) libgpm2 (0 1.20.7) libpython3.8 (0 3.8.2) libselinux1 (2 3.0) libtinfo5 (2 6.2) vim-common (5 2:8.2.3995-1ubuntu1) vim-runtime (0 2:8.2.3995-1ubuntu1)
Provides:
editor
```ii adduser 3.118 all Add and remove users and groups ii apt 2.0.9 amd64 commandline package manager ii base-files 11 amd64 Debian base system miscellaneous files ii base-passwd 3.5.47 amd64 Debian base system master password and group files ii bash 5.0-6 amd64 GNU Bourne Again SHell
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
Name : kernel-core Version : 4.18.0 Release : 348.el8 Architecture: x86_64 Install Date: Mon 10 Jan 2022 10:00:00 AM EST Group : System Environment/Kernel Size : 73456789 License : GPLv2 Signature : RSA/SHA256, Mon 10 Jan 2022 09:00:00 AM EST, Key ID 12345678 Source RPM : kernel-4.18.0-348.el8.src.rpm Build Date : Mon 10 Jan 2022 08:00:00 AM EST Build Host : x86-02.mbox.example.com URL : http://www.kernel.org/ Summary : The kernel core image Description : This package contains the kernel core image.
Refer to the exhibit.
$ apt-cache policy apache2
apache2:
Installed: (none)
Candidate: 2.4.41-4ubuntu3.5
Version table:
2.4.41-4ubuntu3.5 500
500 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
2.4.41-4ubuntu3.4 500
500 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages
2.4.41-4ubuntu3 500
500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages