Python sample question with answer 26
Fill in the blanks:
What are the correct steps to build Python from source on a Linux system?
Question 1:
Download the Gzipped source _______ from Python.org.
- tarball
- furball
- beach ball
Answer:
A - is the correct answer
Question 2:
Prepare your system by installing the ____ using your updated package manager.
- source code
- PSF ad tracker
- build requirements
Answer:
C - is the correct answer
Question 3:
Unpack the source tarball and run the ______ script with appropriate options
- ./python
- ./configure
- ./inject
Answer:
B - is the correct answer
Question 4:
Build Python using ______ with the -j option for parallel builds
- sh
- build
- make
Answer:
C - is the correct answer
Question 5:
Install the new Python version with sudo make ______ to avoid overwriting the system Python.
- altinstall
- remove
- install
Answer:
A - is the correct answer