nerdexam
CompTIA

XK0-004 · Question #465

A technician needs to install the package, tar,gz, which contains the source code of custom software. The technician downloaded the file in /crap. Which of the following commands should the…

The correct answer is E. apt G. yum I. pip. The stated answers E (apt), G (yum), and I (pip) are binary package managers and are not used to compile and install software from source code. The correct workflow for installing a .tar.gz source package is: (1) tar (A) - to extract the archive, (2) configure (D) - to run the…

System Management

Question

A technician needs to install the package, tar,gz, which contains the source code of custom software. The technician downloaded the file in /crap. Which of the following commands should the technician use to install the executable? (Select Two.)

Options

  • Atar
  • Bgunzip
  • CIdd
  • Dconfigure
  • Eapt
  • Fmake
  • Gyum
  • Hbzip2
  • Ipip

How the community answered

(35 responses)
  • B
    6% (2)
  • C
    9% (3)
  • D
    3% (1)
  • E
    80% (28)
  • H
    3% (1)

Explanation

The stated answers E (apt), G (yum), and I (pip) are binary package managers and are not used to compile and install software from source code. The correct workflow for installing a .tar.gz source package is: (1) tar (A) - to extract the archive, (2) configure (D) - to run the ./configure script that checks dependencies and prepares the Makefile, and (3) make (F) - to compile the source and install it via make install. This is the standard Linux source installation process (extract → configure → make → make install). The question says 'Select Two,' and if forced to choose only two, the most essential are make (F) and one extraction tool like tar (A). Package managers like apt and yum install pre-built binaries from repositories, not custom source code.

Topics

#source compilation#make#configure#package installation

Community Discussion

No community discussion yet for this question.

Full XK0-004 Practice