apt-get on Windows: win-get & Cygwin

I want to run some python scripts, whose instructions state the need to run apt-get first.  The apt-get command is from unix-land, whereas I use mainly Windows.  How can this apparent obstacle be overcome?

I guess first I should try the “easy way”, i.e. get the script running on a unix machine e.g. a Mac}

Google:[apt-get windows 7]:

  • http://windows-get.sourceforge.net/ {No use to me}
    • {Naively, I thought it sounded like a Windows version of apt-get, but it is actually only inspired by apt-get, and is only for getting Windows applications such as FireFox.}
      • http://win-get.sourceforge.net/
        • Win-get is a automatic software installer and package manager for Windows, inspired by Debian’s apt-get tool. With win-get, downloading and installing an application to your computer is as simple as: win-get install firefox
    • win-get is an automated install system and software repository for Microsoft Windows written in pascal (for the command line client) and php for the online repository. The ideas for its creation come from apt-get and other related tools for the *nix platforms.
    • The system works by connecting to a link repository. Finding an application and downloading it from the stored link using wget.exe . Then performing the installation routine (silent or standard). And finnally deleting the install file.
  • http://wiki.debian.org/AptZip {Possible solution? e.g. run on a Mac then use the download on Windows?}
    • {Could this be an alternative?  Download on a separate computer and transfer to destination by memory stick etc.}
    • APT-ZIP is a package to update a non-networked computer using apt and a (removable) media (harddisk, USB key, ZIP drive…)
    • The apt-zip-list and apt-zip-inst commands simplify the upgrade process of a non-networked Debian host using apt , by using (preferably high-capacity) removable media, like a ZIP or USB drive.
    • You can use wget in Cygwin in the computer where you haven’t got installed Debian, to execute Apt-zip. Also you can run the script from a LiveCD.
  • http://www.cygwin.com/ {Better solution?  Needed in any case?}
    •  Cygwin is:
      • A collection of tools which provide a Linux look and feel environment for Windows.
      • A DLL (cygwin1.dll) which acts as a Linux API layer providing substantial Linux API functionality.
    • Cygwin is not:
      • A way to run native Linux apps on Windows. You must rebuild your application from source if you want it to run on Windows.
    • Latest Version & Windows Compatibility:
      • The Cygwin DLL currently works with all recent, commercially released x86 32 bit and 64 bit versions of Windows, with the exception of Windows CE and Windows NT4.
      • The most recent version of the Cygwin DLL is 1.7.17-1.
    • http://lifehacker.com/5433452/cygwin-17-adds-windows-7-support-and-many-improvements
      • Version 1.7 added Windows 7 compatibility.

Leave a Reply

You must be logged in to post a comment.