Gentoo, Debian, And FreeBSD software package management competition

Source: Internet
Author: User

The package management mechanisms of Gentoo, Debian, And FreeBSD are very similar. Gentoo and Debian are my favorite Linux distributions, one is naturally an excellent development platform, and the other is undoubtedly the preferred product for both servers and desktop environments. Keyword search software Gentoo: emerge-s <keyword> the pkg introduction will be output. All keywords can be expressed in regular Debian: apt-cache search <keyword> FreeBSD: make search name = <keyword> or ports_glob <keyword>-need portupgrade Installation Software Gentoo: emerge <package> Debian: apt-get install <package> FreeBSD: portinstall <package> <need portupgrade> remove the software Gentoo: emerge unmerge <package> Debian: apt-get remove <package> FreeBSD: pkg_deinstall <package> <need portupgrade> Upgrade a single software Gentoo: emerge-u <package> Debian: apt-get install <package> FreeBSD: portupgrade <package> <need portupgrade> check the kits Gentoo: emerge-puDv worldDebian: apt-get-s dist-upgradeFreeBSD: portupgrade-arnv upgrade Gentoo: emerge-u-deep worldDebian: apt-get dist-upgradeFreeBSD: make world; portupgrade-ar <need portupgrade>: emerge-pe world or qpkg-I-vDebian: dpkg-get-selectionsFreeBSD: pkg_info queries the software Gentoo: qpkg-f <filename> (need gentoolkit) Debian: dpkg-S <filename> FreeBSD: pkg_info-W <filename> queries the file Gentoo: qpkg-l <pkg> Debian: dpkg-L <pkg> FreeBSD: pkg_info-L <pkg> which pkg "Introduction" contains the keyword Gentoo: emerge-S you are looking for. The output method is the same as that of the former, keywords can be normally represented in Debian: apt-cache search <keyword> FreeBSD: make search key = <filename> A suite of Gentoo can be forcibly removed regardless of dependency: emerge-C <pkg> Debian: dpkg-r-force-depends <pkg> dpkg-P-force-depends <pkg> the above is remove, the following figure shows that purge does not clear the configuration file when using remove. purge is used to re-compile Gentoo: emerge-e worldDebian: apt-get update on FreeBSD: pkg_delete-f <pkg>; apt-get upgradeFreeBSD: make world; portupgrade-ade <need portupgrade>: qpkg-I | grep <keyword> (qpkg and-v check the version number) Debian: dpkg-l | grep <keyword> FreeBSD: pkg_info | grep <keyword>

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.