LPIC-2 Exam 201 (Linux Engineer) — Question 31

A regular user has just run -
./configure && make && make install
to build and install a program. However, the installation fails. What could be done to install the program? (Choose two.)

Answer options

Correct answer: B, D

Explanation

The correct answer is B, as running make install with root privileges allows the necessary permissions to complete the installation. Option D is also correct because rerunning ./configure with a --prefix option can direct the installation to a location where the user has write access. The other options either suggest incorrect commands or actions that would not resolve the installation failure.