Code Monkey home page Code Monkey logo

stdenv_cygwin's Introduction

How to commit cygwin tar ball

  • run "make_zip.bat" so that cygwin64.zip.xxx(xxx is 001, 002, ...) will be made.
  • commit and push them

How to download cygwin64.zip.XXX and unarchive it?

copy /b cygwin64.zip.* cygwin64.zip

How modules are installed ?

This project manages cygwin modules. Cygwin modules are installed by following ways.

  • A. via installer(deprecated. don't use it.)
  • B. via apt-cyg
  • C. via easy_install
  • D. via pip
  • E. via wget and install manually

How to install modules

  • run setup_x86.bat to install cygwin modules(installed modules are described in setup_x86.bat)

  • apt-cyg(Please skip all apt-cyg part as apt-cyg is not actively maintained. so use setup_x86.bat for installing further modules)

# install apt-cyg
git config --global core.autocrlf false
#this site is closed. git clone https://github.com/transcode-open/apt-cyg.git
git clone https://github.com/kou1okada/apt-cyg.git
install -m 755 apt-cyg/apt-cyg /usr/bin/
apt-cyg --version
rm -rf apt-cyg

apt-cyg -X -m ftp://ftp.iij.ad.jp/pub/cygwin/ update
apt-cyg -X install gnupg
#apt-cyg install python python-devel python-crypto python-paramiko python-setuptools
apt-cyg install python3 python3-devel python3-crypto python3-paramiko python3-setuptools
apt-cyg install make gcc-core gcc-g++
apt-cyg install libyaml-devel libffi-devel openssl-devel
# this is for pip install mysql-python
apt-cyg install libmysqlclient-devel
apt-cyg install mysql
apt-cyg install perl
cd /usr/bin
rm python python2
cp -p python2.7.exe python
cp -p python2.7.exe python2
rm python3 python3.6
cp -p python3.6m.exe python3
cp -p python3.6m.exe python3.6
  • pip3(for python3)
python3 get-pip.py
pip3 --version

#if you see "address space needed" error , run rebaseall -v on ash.exe
pip3 install boto3
pip3 install mysqlclient
#mysql-python does not support python3 so use mysqlclient instead.(ConfigParser is not found error)

pip3 install pyvmomi
pip3 install awscli
pip3 install cffi
# NOTE : ansible install takes very long time(about 30mins)
pip3 install ansible

# NOTE : it's bat idea to install jupyter in cygwin. just use Anaconda. 
# if you see "gcc: error: spawn: No such file or directory" install gcc-g++ not gcc-c++ !
#pip3 install numpy
#pip3 install chainer
#pip3 install jupyter
  • pip(for python)
python --version
#should be python 2.x
python get-pip.py

pip --version
#pip 10.0.1 from /usr/lib/python2.7/site-packages/pip (python 2.7)

pip3 --version
#pip 10.0.1 from /usr/lib/python3.6/site-packages/pip (python 3.6)

#pip and pip3 are diferrent python version.

pip install boto
  • jq(downloaded)
    cd win32
    wget https://github.com/stedolan/jq/releases/download/jq-1.5/jq-win32.exe
    chmod +x *.exe
    
  • terraform(downloaded) with aws plugin in cygwin64/terraform-sample-aws/.terraform and vsphere plugin in cygwin64/terraform-sample-vsphere/.terraform
  • packer(downloaded)
  • connect(downloaded)

stdenv_cygwin's People

Contributors

tkcmada avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.