Experience the thrill of Linux on Windows with Cygwin

Source: Internet
Author: User

Objective

Remember when the university used to Cygwin, unfortunately did not find her beauty, I believe that today most friends may be more inclined to use Git or simply directly use virtual machines and native UNIX.

Just for newcomers to the Linux world, using Cygwin will allow you to practice Linux Bash under Windows and use the tools often, without having to install Linux or worry about Windows being compromised. It's nice to give everyone one more choice, and finally once again thank 163 for the efforts of open source.

Get that Linux feeling-on Windows

Update history

July 21, 2015-First draft

Read the original-http://wsgzao.github.io/post/cygwin/

Extended Reading

cygwin-http://www.cygwin.com/
163 Source-http://mirrors.163.com/cygwin/

According to personal habits step by step check can, software source I choose 163, assuming the network does not give force to download the full offline package I provide

Online installation
    1. Click Next
    2. ChooseInstall from Internet
    3. Define the installation path yourself
    4. Define your local package Directory
    5. Define your network connection download mode (can use agent acceleration)
    6. Select http://mirrors.163.com as download source
    7. Choose the packages you need
Offline installation
    1. Click Next
    2. ChooseInstall from Local Directory
    3. Define the installation path yourself
    4. Define the local package directory asmirrors.163.com
    5. Choose the packages you need
Software Library

You have the same ability to compile and install and run programs under Unix on Cygwin

Select Packagessearch for and tick the desired package in the interface or all the install directly Devel , for a GoAccess chestnut

[Email protected]20150629NSFI ~/goaccess-0.9.2$./configure--enable-utf8checking forA bsd-compatible install .../usr/bin/install-cchecking whether build environment is sane ... yeschecking forA thread-safe mkdir-p .../usr/bin/mkdir-pchecking forGawk gawkchecking Whether make sets $ (make) ... yeschecking forGCC ... gccchecking whether the C compiler works ... yeschecking forC compiler default output file name ... a.exechecking forSuffix of executables .... Exechecking whether we are cross compiling ... nochecking forSuffix of object files ... ochecking whether we are using the GNU C compiler ... yeschecking whether gcc accepts-g ... Yesch Ecking forGCC option to accept ISO C89 ... none neededchecking forStyle of include used by make ... Gnuchecking dependency style of gcc ... gcc3checking whether GCC and cc understand-c and-o together ... yeschecking forPthread_createinch-lpthread ... yeschecking build system type ... x86_64-unknown-cygwinchecking host system type ... x86_64- Unknown-cygwinchecking whether to build with rdynamic forGNU ld ... Nochecking forMvaddwstrinch-lncursesw ... yeschecking forNcursesw/ncurses.h ... yeschecking forNcurses.h ... yeschecking forPkg-config/usr/bin/pkg-configchecking Pkg-config is at least version0.9.0... yeschecking forPkg-config .../usr/bin/pkg-configchecking forGLIB2 ... yeschecking forG_list_appendinch-lglib-2.0... yeschecking forSocketinch-lsocket ... nochecking forgethostbynameinch-lnsl nochecking How to run the C preprocessor ... gcc-echecking forgrep that handles long lines and-e .../usr/bin/grepchecking forEgrep .../usr/bin/grep-echecking forANSI C header files ... yeschecking forSys/types.h ... yeschecking forSys/stat.h ... yeschecking forStdlib.h ... yeschecking forString.h ... yeschecking forMemory.h ... yeschecking forStrings.h ... yeschecking forInttypes.h ... yeschecking forStdint.h ... yeschecking forUnistd.h ... yeschecking netinet/in.h usability ... yeschecking netinet/in.h presence ... yeschecking forNetinet/in.h ... yeschecking sys/socket.h usability ... yeschecking sys/socket.h presence ... yeschecking forSys/socket.h ... yeschecking arpa/inet.h usability ... yeschecking arpa/inet.h presence ... yeschecking forArpa/inet.h ... yeschecking locale.h usability ... yeschecking locale.h presence ... yeschecking forLocale.h ... yeschecking netdb.h usability ... yeschecking netdb.h presence ... yeschecking forNetdb.h ... yeschecking forStdint.h ... (cached) Yeschecking forStdlib.h ... (cached) Yeschecking forString.h ... (cached) Yeschecking forUnistd.h ... (cached) yeschecking stddef.h usability ... yeschecking stddef.h presence ... yeschecking forStddef.h ... yeschecking forAn ANSI c-conforming const ... Yeschecking foroff_t ... yeschecking forsize_t yeschecking whether struct TM isinchSys/time.h or time.h ... time.hchecking forptrdiff_t ... yeschecking forWorking strtod ... yeschecking for_largefile_source value needed forLarge files ... nochecking forWorking memcmp ... yeschecking whether lstat correctly handles trailing slash ... yeschecking whether stat accepts an empty String ... nochecking forStrftime ... yeschecking forRegcomp ... yeschecking forStrtoull ... yeschecking forMemmove ... yeschecking forFloor ... yeschecking forGethostbyaddr ... yeschecking forGetHostByName ... yeschecking forMemset ... yeschecking forSetLocale ... yeschecking forSTRCHR ... yeschecking forStrDup ... yeschecking forStrerror ... yeschecking forSTRRCHR ... yeschecking forStrstr ... yeschecking forStrtol ... yeschecking forRealpath ... yeschecking formalloc ... yeschecking forReAlloc yesconfigure:creating./config.statusconfig.status:creating Makefileconfig.status:creating src/ Config.hconfig.status:executing depfiles commandsyour Build configuration:cflags =-pthread storage:on-memory Hash Da Tabase (GLib) Prefix:/usr/local package:goaccess version:0.9.2Bugs: [Email protected]make && make install$ goaccess-vgoaccess-0.9.2. For more details visit:http://goaccess.iocopyright (C) the- -GNU GPL' d, by Gerardo Orellana

Experience the thrill of Linux on Windows with Cygwin

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.