Unix is command based operating system, currently it is takeover by Linux. but still some group of Peoples and students are directly or indirectly related to Unix. but Unix beginners always have a question that how to install Unix operating system or how to install Unix beside Windows xp or windows 7 ?. Today I will teach you step by step that how to install Unix in your windows xp or any windows operating system.

We will use Unix beside windows with cygwin framework package.
Resources Required :
Windows Enabled PC
Working Internet Connection
Basic Software Installation and Internet Knowledge.
Note : This is safe and not affect registry files.
Step 1 :
Click here to download the Unix setup file. ( Size: 549 KB )
Step 2 :
Now run the installation file and follow the step by step .
Start the setup and click next, then it will ask you to whether download or install.
Click on Download Without installing option. (see the image below.)
Then select your directory where you want to store downloaded files.
Click on Direct connection from the option and click next.
Next screen will ask you to use mirror site for fast download, select any servers from it and click on next.
After that process the installation program will download some required files and will present a one screen for you as below.
Without wasting a bit of time click on next. Now your download process is on the go, it is approximately 20 MB.
After completion of download Start setup again which you have downloaded in step 1.
Now choose the option “Install from local directory” as below image and click on next button.
It will present another screen for you, that is in which directory you want to install Unix . keep default value in it and Just press next.
Now you should select local package directory of downloaded Unix files, select it and press next.
Click on Next And wait till whole installation complete.
Now Unix install is complete On Your Windows PC.
Step 3 : (How to RUN Unix ?)
It’s very easy, installation generated a folder in Start Menu and Desktop shortcut, If Desktop shortcut is not available then Follow steps below to run Unix command line.
Start > All Programs > Cygwin > Cygwin Bash Shell
See The Screen Shot Below that how Unix Appears in Windows Operating System.
If you are facing any Problems yet related to it, do comment below.














bro it’s very good our process is done your tutorials is good thx
Thanx Mayur…
thanks mayur for your tutorial
its is a great and very helpful tutorial
hai mayur ,
very thanks for ur help really it works good.
hai,
Thanks for posting this indetailed with a sequence of steps..
Its working well..
Thanks for Comment..
Keep visiting.
Awesome…really helpful
how to edit a program in it
use the “vi” command, before, I recommend you to read the Help, vi is very easy to use, its a basic editor, sorry its The Basic editor
Thanks! very well described.
Thanks a lot fr keeping this information………
Hi thanks a lot i worried a lot about installing unix but its done so easily.
Thank you again..
tnanq
I am unable to further to the list where I can choose the mirror as It is empty. Also When I manually added the list from the website. Still I was not able to install. please help me.
Can you provide screenshot of that error to our email id ?
Hi
iam running windows 7 i had installed the cigwin software when i open the cygwin bash shell it comes and disappears. Please give me the procedure to run c programs in unix through this software.
Thanks Mayur. I simply installed Unix on Windows xp.
This is very helpful document for Unix beginners. Thanks a bunch.
Will it work for 64 bit also? Cygnix is working on 64 bit, but just wanted to know if cygwin can be used on 64 bit based systems?
Thanks
You can use cygwin on the 64 bit windows based platforms as well
not workin some commands like cal,uptime tese commands not working
yeah.. i agree that some commands are not working in it, however we can use it as an instant tool to create any emergency assignments or work.
Installed without errors but no Start > All Programs > Cygwin > Cygwin Bash Shell
Searched for ‘Cygwin’ but not present.
What?
Rebooted. All OK now!
fab Unix Tutorial – easy to use
Thanks
Its very good tutorial…thanks a lot
vi editor doesn’t work with this…Is there a way to do this?
installed without error but after clicking terminal pop is coming “windows is searching for mintty” to locate youself click browse .
every thing is done with installation. but i couldnt get any path like this
“Start > All Programs > Cygwin > Cygwin Bash Shell”
can you help it out.
I am unable to further to the list where I can choose the mirror as It is empty. Also When I manually added the list from the website. Still I was not able to install. please help me.
Mirror Error:setup.ini signature http://cygwin.com //setup.bz2.sig from
http://cygwin.com has failed to verify.
possible corrupt mirror? setup.ini rejected.
Hey thanks for such a nice explanation, but can u tell that , do we can use KSH scripting in Cygwin or only bash???
You can use KSH scripting on Cygwin, but you need to install it.
hi
I am using it , but some comments like (bc,calc and …) are not working . can you tell me what should I do ?
with regard
hii
thanks mayur. i have a query .vi editor is not working. wat shud i do to edit a file…
with regards
Thanks for your comment @ruhi and @sapna
We understand your problems, and we are always here to reply you..
Solution:
There is one solution of this problem.
You can install VI package into Cygwin.
Run Cygwin setup file, select keep button in package selection screen.
In hierarchy of packages find editors and select “Vi” under it and click continue..
It will install Vi Editor in Cygwin.
Keep visiting.
Than you Very Much Mayur…
Thanks for comment. keep visiting
when i download cygwin from any server…its cancelling on 97%…why??????
maybe your Cygwin setup file is corrupted. try to re-download it. (PS: i am talking about Cygwin.exe file.)
Hi,
I have installed oracle 11gR2…is this unix installation ll create problem?
Well, i am running oracle 10g with cygwin right now, not created any problem so far. although, you should try oracle 11g and cygwin together.
Thanks.
Regards,
Mayur (admin).
Thank you , this really helped!
You’re welcome Archie.
Hi Mayur,
how much space it require….
Well, It depends on how many packages you have installed. My installation directory size is 796MB. However, Full CYGWIN installation requires approx 1 GB space.
Hi Mayur Godhani,
This link is really helpful to me very nice post
Thank you
thanks mayur. i want to install vi editor. but there is nothing called editor in the package as you mentioned. pls help
Hi Srinath,
Something went wrong, and your comment was counted as spam. I recovered it now and replied.
Ans: there will be one package called Vim in packages list, find and install it, go ahead.
can i use windows xp with unix securly after following this steps
CYGWIN is an instant alternative tool enables you to use UNIX system. you can modify its use by installing various packages on your requirement.
I am using this tool from a long time, I never faced any problem in Windows XP because of this tool. So, I would like to say yes, You can use Windows XP Securely.
great thank Mayur……….i have installed Unix on Windows7 ,its working fine …….
Glad to hear that Ravi.
Thanks you! thanks a ton!! works awesome:)
You’re welcome, keep visiting.
Your tutorial is great. Thank you very much
I am a fresh gradute. I went for an Interview for a support engineer position which required unix scripting knowledge I did not get throuhow can I learn unix scripting after following your installation.
Basic step-by-step tutorial if you could send it to my email would greatly help me next time when I go for the Interview. thanks.
Thank you Dinesh for your visit.
I am writing one guide to learn basic step by step Unix scripting for beginners, I hope you will find it useful. Soon, I will release on this website.
Meanwhile, You can refer some popular Unix Books or Guides to learn perfect scripting. To secure your post, you should try learn professional Unix Scripting instead of basic one.
Yes !! Unix is awesome.
Good luck.
Thank you for your tutorial.It helped me a lot. Can u advice me which book will be good for unix administration.
thanx for this tutorial
You are welcome Waqas.
it very good nice
Can we install unix in windows 7? please guide… as am new to unix please clear me what is cygwin?
Yes you can install it in Windows 7. Cygwin is one platform which enables you to use UNIX on your windows based operating system.
thank you very much
Thanks buddy.. it really helps
GREAT!! APPRECIATED
Thank you man.. It was a great help.
Thanks for ur help Mayur…:)
Thanks a lot..:)
Will this tool provide drive copy capability?
External USB to External USB.
well, i never checked about that
thnx a lot mayur
I am Beginner and Ur site meant a lot for me.. DO u have tutorials for the beginners
thanks……:-)
Hi Mayur …tnx i am able to install Unix with these steps …
But how can we use vi editor in Cygwin or how can we edit files here ….
i also tried the below mentioned solution tld by you but still getting …vi cmd not found.
Solution for vi editor: there will be one package called Vim in packages list, find and install
hey Mayur, thanks a lot for these very helpful information.keep it up dude…………..
thnx can i uninstall it without affecting to the windows xp
can anyone tell me how to write shellscript in this..??
Thankx
Really helpful