cygwin tutorial 1. what is cygwin? cygwin offers a unix like environment on top of ms-windows. gives...

Post on 31-Dec-2015

238 Views

Category:

Documents

1 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Cygwin

Tutorial 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 Cygwin Run 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 Cygwin open http://cygwin.com/install.html

Download cygwin installer.

Installing and Updating Cygwin

Step 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 Cygwin Step 2: Select “Install from

Internet”:

Installing and Updating CygwinStep 3: Install to default location

If your OS is Vista, choose this option

If 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 Cygwin

To 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-devel libgcc1 libstdc++6makemingw-runtimemingw-w32api

Installing and Updating Cygwin

1- Type the package name in the Search field

3- Click the arrow here

2- Expand the category

Installing and Updating CygwinYou will find that the package is checked

Installing and Updating Cygwin Repeat 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

1

23

Repeat 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.

1

23

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.

1

23

Installing and Updating CygwinStep 8: Click Next to complete the

installation.NOTE:sometimes you may get a window

Download 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 Cygwin Step 9: Make sure SELECT

REQUIRED PACKAGES is checked, then click next.

Installing and Updating Cygwin Be patient at this stage and go to

drink some coffee.

Installing and Updating Cygwin

Resources

www.cygwin.com

top related