nerdexam
LPI

117-201 · Question #309

A regular user, joe, 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 correct…

The correct answer is B. Run make install with root privileges. D. Rerun ./configure with a --prefix option where the user has permissions to write. See the full explanation below for the reasoning.

Question

A regular user, joe, 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 correct answers.)

Options

  • AInstall the binaries manually with suinstall.
  • BRun make install with root privileges.
  • CDo not run ./configure in order to maintain the default configuration for correct installation.
  • DRerun ./configure with a --prefix option where the user has permissions to write.
  • ERun make install_local to install into /usr/local/.

How the community answered

(29 responses)
  • A
    3% (1)
  • B
    79% (23)
  • C
    14% (4)
  • E
    3% (1)

Community Discussion

No community discussion yet for this question.

Full 117-201 Practice