Tutorial Cygwin Updated 2014

26
Cygwin Tutorial 1

description

Cygwin

Transcript of Tutorial Cygwin Updated 2014

  • CygwinTutorial 1

    *

  • What is Cygwin?Cygwin offers a UNIX like environment on top of MS-Windows. Gives the ability to use familiar UNIX tools without losing access to typical MS-Windows programs

  • Installing and Updating CygwinRun setup.exe any time you want to update or install a Cygwin package.Note that, when installing packages for the first time, setup.exe does not install every package. Clicking on categories and packages in the setup.exe package installation screen will provide you with the ability to control what is installed or updated.

  • Installing and Updating Cygwinopen http://cygwin.com/install.html

    Download cygwin installer.

  • Installing and Updating CygwinStep 1: run the Cygwin installer.

    NOTE: Make sure to change your PC user name to your original name before you start to install Cygwin

  • Installing and Updating CygwinStep 2: Select Install from Internet:

  • Installing and Updating CygwinStep 3: Install to default location If your OS is Vista, choose this optionIf your OS is Windows 7, choose this option

    *

  • Installing and Updating CygwinStep 4: Use default local package directory (click next)

  • Installing and Updating CygwinStep 5: Use whatever internet connection settings (click next)

  • Installing and Updating CygwinTo save your download time, please choose the one nearest to you! Check : http://cygwin.com/mirrors.htmlTry:Japan: ftp.iij.ad.jp(ftp), ftp.jaist.ac.jp(ftp), ring.aist.go.jp(ftp), ftp.iij.ad.jp(http), ftp.jaist.ac.jp(http),ftp.yz.yamagata-u.ac.jp (http)

    Step 6: Select a mirror (click next)

  • Installing and Updating CygwinStep 6: Select a mirror (click next)

  • Select Packages window will appear

  • Installing and Updating CygwinStep 7: In the Select Packages window, you are going to install the following packages( they are under Devel category): gcc-coregcc-g++gettext-devellibgcc1libstdc++6makemingw-runtimemingw-w32api

  • Installing and Updating Cygwin

    1- Type the package name in the Search field3- Click the arrow here2- Expand the category

  • Installing and Updating CygwinYou will find that the package is checked

  • Installing and Updating CygwinRepeat the same steps(1,2,3) for the remaining packages.

  • Installing and Updating CygwinNow, you are going to install the following packages( they are under Perl category): Perl-ExtUtils-Depends : Buid perl XS that depend on other XS. Perl-ExtUtils-PkgConfig: perl module for using pakage config.

  • Installing and Updating Cygwin

    123Repeat the same steps(1,2,3) for the remaining package.

  • Installing and Updating CygwinNow, you are going to install the following package( it is under System category): ProcPs:Utilities for momitoring your system and processes on your system.

    123

  • Installing and Updating CygwinNow, you are going to install the following package( it is under Editors category): nano: a pico clone text editor with extensions.

    123

  • Installing and Updating CygwinStep 8: Click Next to complete the installation.NOTE:sometimes you may get a windowDownload Incomplete. Try again? and the setup application will return to step 6(slide 11).Click Yes, then repeat the same steps or choose another download site.

  • Installing and Updating CygwinStep 9: Make sure SELECT REQUIRED PACKAGES is checked, then click next.

  • Installing and Updating CygwinBe patient at this stage and go to drink some coffee.

  • Installing and Updating Cygwin

  • Resourceswww.cygwin.com

    *

    *