Win10 install cygwin and add apt-cyg

Author: feipeng8848

Source: https://www.cnblogs.com/feipeng8848/p/8555648.html

This site uses " Attribution 4.0 international " Creative Commons agreement, reproduced in the article clearly indicate the position of the author and source.

 

 1. go Cygwin official website: https: //www.cygwin.com/

FIG install the link (below), according to their choice of computer 32 or 64

I chose a 32-bit:

The next step has been following figure:

163 Mirror link:

http://mirrors.163.com/

 Choose to install the package in FIG:

 

Why should I install apt-cyg?

Install the apt-cyg be able to use Ubuntu as the use of apt-get install / remove command to uninstall the software installed, and very convenient.

Installation apt-cyg rely package has the following, the page on the map are selected:

wget
tar
gawk
bzip2

  

Then it all the way to the next step.

 2. Add the apt-cyg

GitHub to download the script: https: //github.com/transcode-open/apt-cyg

Just unzip the downloaded zip file:

Open Cygwin

Input:

apt-cyg install vim

 

Since I have installed, so I skipped here, to test whether the phrase command apt-cyg run successfully.

3. Add the environment variable side can use the Linux command or cmd in powershell

 

 1. go Cygwin official website: https: //www.cygwin.com/

FIG install the link (below), according to their choice of computer 32 or 64

I chose a 32-bit:

The next step has been following figure:

163 Mirror link:

http://mirrors.163.com/

 Choose to install the package in FIG:

 

Why should I install apt-cyg?

Install the apt-cyg be able to use Ubuntu as the use of apt-get install / remove command to uninstall the software installed, and very convenient.

Installation apt-cyg rely package has the following, the page on the map are selected:

wget
tar
gawk
bzip2

  

Then it all the way to the next step.

 2. Add the apt-cyg

GitHub to download the script: https: //github.com/transcode-open/apt-cyg

Just unzip the downloaded zip file:

Open Cygwin

Input:

apt-cyg install vim

 

Since I have installed, so I skipped here, to test whether the phrase command apt-cyg run successfully.

3. Add the environment variable side can use the Linux command or cmd in powershell

 

Guess you like

Origin www.cnblogs.com/gufengchen/p/10984402.html