Saturday, September 24, 2011

Install Linux App on Windows Using Cygwin

In this post, I will share you how to install Linux app on your Windows computer. We use Cygwin to do it. If you are a Linux user and want to run Windows applications, surely you know the Wine. Cygwin is a similar program to Wine, but has the opposite function. It works in Windows environment, not in Linux.

Follow these steps to run Linux app in your Windows:
Step 1, Install Cygwin:
  1. Download Cygwin here and install it. Just follow the on screen wizard to install it.
  2. When you asked to choose download source, just select “Install from Internet”.
  3. Choose who will use the Cygwin, All users or your user only.
  4. Hit “Next” til you find the window to about the mirror selection. Select one mirror you want, it’s up to you.
    Install Linux App on Windows | Mirror Selection Cygwin
  5. Wait until installation process complete.
Step 2, Package Selection:
  1. In the Select Packages window, just left it as the default. You can directly click Next to install the default-packages.
  2. If you want to customize it, you can click the “Default” word next to “All” word. There are many options like “Default”, “Update”, “Install”, and “Uninstall”. For most users, I want you to choose the Default.
    Package Selection
Step 3, Installing Packages:
  1. From the Start-menu, find and run Cygwin.
  2. In the Cygwin terminal, you can run almost all Linux commands.
  3. In this Cygwin tutorial, we use Eggdrop as Linux app which will be run in Windows OS. Download Eggdrop here.
  4. Move the Eggdrop installation source to the directory where Cygwin installed. Usually the path will be C:\cygwin\home\[youruser]. In my computer, it will be C:\cygwin\home\AVTECH.
  5. In your Cygwin terminal, type in “ls”. You will see the Eggdrop package we have moved in the number 4.
  6. Extract the Eggdrop package, type:
    gzip -dc eggdrop1.6.20.tar.gz | tar xf -
  7. After the extraction process has done, go to Eggdrop directory, type:
    cd eggdrop1.6.20
  8. Compile the code so can be executed, type:
    ./configure && make && make install
    Cygwin terminal
  9. After we have compiled the packages, it could be run, type:
    eggdrop
That's it how to install Linux app on Windows using Cygwin. Hope it useful :).

1 comment:

  1. I recently found many useful information in your website especially this blog page. Among the lots of comments on your articles. Thanks for sharing.
    Miraclepianist Youtube Downloader For Videos

    ReplyDelete