8.4 Installing Software from Source with Ports
Obtaining Ports
Using the Ports Archive
# fetch https://mirrors.nju.edu.cn/freebsd-ports/ports.tar.gz# fetch https://mirrors.ustc.edu.cn/freebsd-ports/ports.tar.gz# fetch https://download.freebsd.org/ftp/ports/ports/ports.tar.gzExtracting the Ports Archive
# tar -zxvf ports.tar.gz -C /usr/ # Extract to the /usr/ directory
# rm ports.tar.gz # Delete the archiveObtaining Ports Using Git
Installing Git
Shallow Clone of the Ports Repository (USTC)
Shallow Clone of the Ports Repository (FreeBSD Official)
Full Clone of the Ports Repository (FreeBSD Official) with Specified Branch
Synchronizing and Updating Ports Git
Appendix: Invalid Certificate Due to Time Error
Using whereis to Query Software Paths
whereis to Query Software PathsViewing Software Package Dependencies
How to Delete Configuration Files for the Current Port and Its Dependencies
How to Download All Required Software Packages at Once
Software Compiled via Ports Can Also Be Packaged as pkg Packages
Updating FreeBSD Packages/Ports
Installing portmaster
Viewing Port Dependency Relationships
References
Globally Setting Ports Build Options
How to Globally Disable MySQL
Appendix: Port Installation Example
Installing python3
How to Set All Required Dependencies
How to Use pkg to Install Dependencies
Troubleshooting and Unfinished Business
autoconf-2.72 Invalid perl5 version 5.42.
autoconf-2.72 Invalid perl5 version 5.42.References
Last updated