ecell / homebrew-ecell4

This project is NOT maintained now. Please use "pip install ecell" to install E-Cell4 on Mac or Linux.
GNU General Public License v2.0
0 stars 0 forks source link

homebrew-ecell4

This project is NOT maintained now. Please use pip install ecell to install E-Cell4 on Mac or Linux.

Mac OS X

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew tap ecell/ecell4
brew install ecell4

# path config for homebrew-ecell4
mkdir -p ~/Library/Python/2.7/lib/python/site-packages
echo 'import site; site.addsitedir("/usr/local/lib/python2.7/site-packages")' >> ~/Library/Python/2.7/lib/python/site-packages/homebrew.pth

Ubuntu Linux

sudo apt-get install build-essential curl git m4 ruby texinfo libbz2-dev libcurl4-openssl-dev libexpat-dev libncurses-dev zlib1g-dev python-dev python-setuptools
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/linuxbrew/go/install)"
echo 'export PATH="$HOME/.linuxbrew/bin:$PATH"' >> ~/.bash_profile
source ~/.bash_profile
brew tap ecell/ecell4
brew install ecell4

CentOS Linux

sudo yum groupinstall 'Development Tools'
sudo yum install curl git m4 ruby texinfo bzip2-devel curl-devel expat-devel ncurses-devel zlib-devel python-devel python-setuptools
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/linuxbrew/go/install)"
echo 'export PATH="$HOME/.linuxbrew/bin:$PATH"' >> ~/.bash_profile
source ~/.bash_profile
ln -s `which gcc` `brew --prefix`/bin/gcc-4.8
ln -s `which g++` `brew --prefix`/bin/g++-4.8
brew tap ecell/ecell4
brew install ecell4

how to import ecell4 in Python interactive shell

python
>>> from ecell4 import *