Install Cygwin under windows8.1 and install packages via APT-CYG

Source: Internet
Author: User

Reference http://yuanshuilee.blog.163.com/blog/static/2176972752014126786185/

Cygwin first Play, Unix operating system is also the first time to play, nothing familiar, slow to get started.

Installation Cygwin is very simple, the online installation of a lot of tutorials, I will not elaborate, but remember to select the package when you remember to put the wget components hook, the following will be used.

Talk about installing APT-CYG and downloading packages via APT-CYG.

First download the Apt-cyg through wget, Cygwin64 Terminal Command Line window to enter the following command

#wget http://apt-cyg.googlecode.com/svn/trunk/apt-cygwgethttps:// Github.com/westfly/apt-cyg/blob/master/apt-cygchmod +x apt-cygmv Apt-cyg. /.. /bin

But the above two elder brother address download down file all have problem, do not know why. So you can only manually enter the link to download and extract a more than 400 lines of Apt-cyg script into the Cygwin installation directory in the bin directory.

You can then modify the software source to download the package:

Apt-cyg--mirror http://Mirrors.163.com/cygwin


Do a test, install VIM, enter the following command to automatically download the installed

Install Vim

In the process of installation encountered MD5 sum did not match, exiting error, refer to this link the last method to resolve http://www.dexcoder.com/selfly/article/2230, that is, to remove the MD5 validation failed processing.

There is an decompression error,

Unpacking ...
BUNZIP2: (stdin) is not a
bzip2 file.
Tar: It doesn't seem like a tar archive file
Tar: Due to previous error, exiting in last Error state

Modify/bin/apt-cyg to find the following line of echo "Unpacking ..."

Cat $file | BUNZIP2 | Tar > "/etc/setup/$pkg. LST" XVF-c/

Modify it to the following

TAR-XVF $file-C/> "/etc/setup/$pkg. LST"

The above is the initial experience of the process Cygwin, sleep well sleepy.

Install Cygwin under windows8.1 and install packages via APT-CYG

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.