FreeBSd Ports Installation Software

Source: Internet
Author: User

1, ports directory in/usr/ports
2, Posts installation software Sometimes this package has been installed, there will be a hint, can not continue to install. To be able to use the parameters in the hint:
#make Install clean Force_pkg_register=yes
This allows you to continue with the installation, and yes is case insensitive.
3, ports install software sometimes can download the package MD5 value mismatch, be able to add parameters to force the installation.
#make Install clean No_checksum=yes
4, ports installation software How to speed up? First configure a faster domestic image.
#vim/etc/make.conf to join or replace: master_site_override=\ http://ports.hshh.org/${dist_subdir}/\
Pay attention to the end of a \ number, if there are other mirror site, need to add the end of a \ number, if only use hshh.org this site. You don't need to add the following \ number. Second, the use of multithreaded software to speed up.
#make Install clean wget
#vim/etc/make.conf
To:
Fetch_cmd=wget-c-T 1
Disable_size=yes

5. How to find and install a ports software
If you know the detailed file name, you can directly use Whereis
#whereis PHP5PHP5:/USR/PORTS/LANG/PHP5
If you do not know the detailed file name, you can use:
#cd/usr/ports#make Search name=php
If only the descriptive main word is known, it can be used:
#cd/usr/ports/#make Search key=php
Be aware that when you use make search, you need to first CD into the/usr/ports directory.
6. How to find information about finished packages
#pkg_info
Filter positioning with pipeline commands
#pkg_info grep php
7. How to delete a package
The detailed name of the #pkg_delete package can be identified with the Pkg_info grep Pipeline command.
With the-f parameter, you can remove a software package that has a dependency on another person
#pkg_delete-F Package Fine name
8, ports after installing software, how to modify the configuration
Some post packages are installed with a blue configuration Pick page, which is usually selected once and no longer appears
#make rmconfig Delete configuration, you need to have root permission
#make Reconfig reconfiguration, requires root access
9. Reinstall installed Ports Package
#make Reinstall
10. Delete the ports package installed
#make deinstall
#make Clean

FreeBSd Ports Installation Software

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.