What directory holds the ports collection on FreeBSD? (Choose TWO correct answers.)
A.
/tmp/ports/
B.
/var/db/packages/
C.
/usr/ports/
D.
/ports/
E.
/usr/local/pkg/
The Answer Is:
C, E
This question includes an explanation.
Explanation:
The ports collection on FreeBSD is a package management system that allows users to install third-party software from source or binary packages. The ports collection is stored in the /usr/ports/ directory, which contains subdirectories for different categories of software, such as archivers, databases, editors, etc. Each subdirectory contains one or more ports, which are directories that contain the files needed to build and install the software. The /usr/ports/ directory can be updated with the portsnap command34
Binary packages are pre-compiled versions of the ports that can be installed with the pkg command. Binary packages are downloaded from the FreeBSD package repository,which is hosted at pkg.freebsd.org. The packages are installed in the /usr/local/ directory by default, and the information about the installed packages is stored in the /usr/local/pkg/ directory. The /usr/local/pkg/ directory contains files with the .db extension, which are SQLite databases that store the metadata of the packages. The pkg command can query and manipulate these databases56 References: 3: https://docs.freebsd.org/en/books/handbook/ports/ 4: https://www.freebsd.org/ports/ 5: https://docs.freebsd.org/en/books/handbook/pkgng-intro/ 6: https://www.freebsd.org/cgi/man.cgi?query=pkg &sektion=8
702-100 PDF/Engine
Printable Format
Value of Money
100% Pass Assurance
Verified Answers
Researched by Industry Experts
Based on Real Exams Scenarios
100% Real Questions
Get 65% Discount on All Products,
Use Coupon: "ac4s65"