Skip to content

Instantly share code, notes, and snippets.

@jhermann
Last active August 2, 2018 17:56
Show Gist options
  • Save jhermann/18b8eb17b6548d8b2d34 to your computer and use it in GitHub Desktop.
Save jhermann/18b8eb17b6548d8b2d34 to your computer and use it in GitHub Desktop.
Babun install

Babun Setup for Python Developers

Babun is “A Windows shell you will love!”

It's a turn-key CygWin distribution for developers and is very easy to install and maintain. For a Python developer, Babun allows working in an almost-POSIX environment – with some limitation, of course. This causes less friction when handling FOSS projects that are often biased towards a standard Linux environment, e.g. by using shell scripts for boot-strapping and things like that.

  • Download the installer ZIP archive from the Babun homepage.

  • Unzip it (e.g. using Windows Explorer).

  • Double-click the installer (install.bat), and wait…

  • Catch up (babun update).

  • Change the default shell from zsh to bash if you're used to it (babun shell /bin/bash).

  • Edit ~/.bashrc to activate loading of ~/.bash_aliases.

  • Install additional Python essentials:

    pact install python-setuptools python-ming
    pact install libxml2-devel libxslt-devel libyaml-devel
    curl -skS https://bootstrap.pypa.io/get-pip.py | python
    pip install virtualenv
    curl -skS https://raw.githubusercontent.com/mitsuhiko/pipsi/master/get-pipsi.py | python
    
  • Enjoy!

@dariushazimi
Copy link

How can I install python 3 on babun?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment