I recently spent a little time focusing on the package manager used in different systems. At the very beginning, I was fascinated by the tools and the ideas behind it when I was using the Linux operating system: It's a free software world. All developers around the world can publish components or software that they feel are useful to a common place, and everyone else can easily access them on demand.
Let us remember Richard Stallman and the GNU program he proposed and created. Http://baike.baidu.com/view/36272.htm
In a Linux system, the package manager is so powerful and amazing. It is said that this is the reason why Linux is very safe, because almost all of the software can be downloaded to the Package manager free of charge, do not need to find the east (and eliminate the possibility of poisoning), even the hackers have no desire to write a virus.
Talk less, I'll start with the Package Manager in Linux.
Apt-get
In Ubuntu, Apt-get is used as the Package Manager by default
Common commands:
- Apt-get Update
- Apt-get Upgrade
- Apt-get Install
- Apt-get Uninstall
- Apt-get Source
Yum
In CentOS, the default is to use Yum as the package Manager, similar in usage, and interested friends can refer to https://www.centos.org/docs/5/html/yum/
I don't use CentOS most of the time.
Nuget Package Manager
This is a package manager provided by Microsoft. He has provided the can for. NET development platform for the hosting and management of various component packages.
"Note" It provides only components, and is limited to. NET development platform. These components, usually some DLLs, cannot be run directly, but can be used in our specific development projects.
https://www.nuget.org/
https://www.myget.org/(This is a new site intended to be a unified package source Management Center, Create NuGet feeds, NPM, Bower and Vsix repositories with your own packa Ges and those from the other package sources such as nuget.org or npmjs.com.)
How to Install
Http://docs.nuget.org/consume/installing-nuget
It is best to integrate in Visual Studio,
In addition to graphical, there are command-line modes
There are also stand-alone command-line tools (Nuget.exe)
The official also provides a separate graphical interface
Chocolatey
https://chocolatey.org/
Can this be translated as "chocolate"? Oh. The essential difference between this and NuGet is that NuGet is the package Manager that provides the component (that is, it provides packages that contain components that cannot be run by itself), and chocolatey provides programs that can be executed directly, which is similar to the Apt-get in Linux This feature is
In fact, it is to be run based on. NET Framework 4.0 and PowerShell, and only on Windows.
After the installation, just start a command line (need to use the administrator), and then enter Choco, you can see the current version information
A list of all current packages can be obtained through the Choco List command
You can install the required packages via the Choco Install command, such as Choco install Git
NPM NPM is the package manager for JavaScript. https://www.npmjs.com/
It's also a magical tool. Behind it is the magical nodejs. https://nodejs.org/, so to put it simply, NPM is a Nodejs-based package manager that manages JavaScript.
The package Manager you need to know