Cygwin is a software that uses Linux on Windows and is very lightweight.
In Linux, you can install the software apt-get, there are two ways of installing software in Cygwin:
1. Rerun the setup installer and select Install.
2. Use Apt-cyg to install the software
First install the Cygwin program, the official web download can. Installation in Process
Wget
Tar
Gawk
Bzip2
Installing CYG-APT
The tutorials on the web are all
- wget Http://apt-cyg.googlecode.com/svn/trunk/apt-cyg-P/bin
- Chmod.exe +x/bin/apt-cyg
- APT-CYG Update
Update source
Apt-cyg Install Ping-u
Using the parameter u does not have to update the source every time
Working Directory Is/setup
Mirror is http://mirrors.163.com/cygwin/
But there are all sorts of mistakes.
The answer on the Superuser
Correct posture Ref:
-# Install Apt-cyg
Lynx-source Rawgit.com/transcode-open/apt-cyg/master/apt-cyg > Apt-cyg
-#install
Install Apt-cyg/bin
-#link Source
Apt-cyg-m http://mirrors.163.com/cygwin/
-#update
APT-CYG Update
-#Example use of Apt-cyg:
Apt-cyg Install Nano
Official reference
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Cygwin install application Cyg-apt package nano not found or ambiguous name, exiting update unsuccessful