Home  >  Article  >  Operation and Maintenance  >  Installation tutorial for package command

Installation tutorial for package command

巴扎黑
巴扎黑Original
2017-08-22 14:00:082865browse

Install top, free, wget, curl, clear and other commands for cygwin

I have installed cygwin on my machine for compiling cygwin, but it still lacks the openssl-devel, pkg-config and other modules required by nodejs. , if I use the method introduced in the article, I have to select one by one in the setup.exe of cygwin, and after changing the source, many modules have to be downloaded again. So I searched the Internet for some articles on how to install packages for cygwin separately, and found two articles: "How to update Cygwin from Cygwin's command line?" and "How do I install a Package Manager within Cygwin?". I used the second article. The setup.exe -q -P in the article can install the package relatively quickly. Of course, it is also very convenient to use apt-cyg. For example, the following command can install the packages required for nodejs compilation:

-q -P wget,tar,bzip2,gcc-g++,gcc-mingw-g++,gcc4-g++,openssl-devel,pkg-config ,zlib-devel,make

Sure enough, the download started, very powerful

The above is the detailed content of Installation tutorial for package command. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn