LCP-001 Practice Test & Exam Dumps
Linux Certified Professional (LCP) Powered by LPI Questions 111–115 (page: 24)

Updated On: 19-Feb-2026

What is a reasonable command to uninstall a Debian package from your system?

  1. dpkg -Ra pkgname
  2. dpkg -R pkgname
  3. dpkg -r pkgname
  4. dpkg -ra pkgname

Answer(s): C



You want to install a new software package, but it is only available in RPM format and you are running Debian Linux.
Which of the following would help you to install it on your system?

  1. alien
  2. apt-conf
  3. dselect
  4. cpio

Answer(s): A



What command will uninstall a package but leave its configuration files in case a package is re- installed?

  1. none, no command will do this
  2. dpkg -s pkgname
  3. dpkg -L pkgname
  4. dpkg -P pkgname
  5. dpkg -r pkgname

Answer(s): E



You have not run apt-get on a system for some time, but it has been run on the system before.
What apt-get command would you run to download the latest list of packages, but not the packages themselves?

  1. apt-get build-dep
  2. apt-get mirror-select
  3. apt-get update
  4. apt-get upgrade
  5. apt-get dist-upgrade

Answer(s): C



You want to examine the changelog for the installed package postfix.
Which command will display the changelog?

  1. rpm -Vc postfix
  2. rpm -qpil postfix
  3. rpm --changelog postfix
  4. rpm -q --changelog postfix
  5. rpm -qa --changelog postfix

Answer(s): D



Viewing page 24 of 60
Viewing questions 116 - 120 out of 289 questions


Post your Comments and Discuss GAQM LCP-001 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!