cygwin

26
Cygwin Tutorial 1

Upload: nemo

Post on 02-Feb-2016

38 views

Category:

Documents


0 download

DESCRIPTION

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. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Cygwin

Cygwin

Tutorial 1

Page 2: Cygwin

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

Page 3: Cygwin

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.

Page 4: Cygwin

Installing and Updating Cygwin open http://cygwin.com/install.html

Download cygwin installer.

Page 5: Cygwin

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

Page 6: Cygwin

Installing and Updating Cygwin Step 2: Select “Install from

Internet”:

Page 7: Cygwin

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

Page 8: Cygwin

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

Page 9: Cygwin

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

Page 10: Cygwin

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)

Page 11: Cygwin

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

Page 12: Cygwin
Page 13: Cygwin

Select Packages window will appear

Page 14: Cygwin

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

Page 15: Cygwin

Installing and Updating Cygwin

1- Type the package name in the Search field

3- Click the arrow here

2- Expand the category

Page 16: Cygwin

Installing and Updating CygwinYou will find that the package is checked

Page 17: Cygwin

Installing and Updating Cygwin Repeat the same steps(1,2,3) for the

remaining packages.

Page 18: Cygwin

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.

Page 19: Cygwin

Installing and Updating Cygwin

1

23

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

Page 20: Cygwin

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

Page 21: Cygwin

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

Page 22: Cygwin

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.

Page 23: Cygwin

Installing and Updating Cygwin Step 9: Make sure SELECT

REQUIRED PACKAGES is checked, then click next.

Page 24: Cygwin

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

drink some coffee.

Page 25: Cygwin

Installing and Updating Cygwin

Page 26: Cygwin

Resources

www.cygwin.com