title: How to install Python on CoreOS under core user?
body: <p>Follow this guide to try to install Python on CoreOS:</p>
  
  <p><a href="https://github.com/judexzhu/Install-Python-on-CoreOs" rel="nofollow noreferrer">https://github.com/judexzhu/Install-Python-on-CoreOs</a></p>
  
  <pre><code>#!/bin/bash -uxe
  
  VERSION=2.7.13.2715
  PACKAGE=ActivePython-${VERSION}-linux-x86_64-glibc-2.12-402695
  
  # make directory
  mkdir -p /opt/bin
  cd /opt
  
  wget http://downloads.activestate.com/ActivePython/releases/${VERSION}/${PACKAGE}.tar.gz
  tar -xzvf ${PACKAGE}.tar.gz
  
  mv ${PACKAGE} apy &amp;&amp; cd apy &amp;&amp; ./install.sh -I /opt/python/
  
  ln -sf /opt/python/bin/easy_install /opt/bin/easy_install
  ln -sf /opt/python/bin/pip /opt/bin/pip
  ln -sf /opt/python/bin/python /opt/bin/python
  ln -sf /opt/python/bin/python /opt/bin/python2
  ln -sf /opt/python/bin/virtualenv /opt/bin/virtualenv
  </code></pre>
  
  <p>The script works well under root user on CoreOS. But under <code>core</code> user it can't work.</p>
  
  <p>If use this:</p>
  
  <pre><code>cat &gt; ~/.bashrc &lt;&lt; EOF
  export PATH=\$PATH:/opt/bin
  EOF
  </code></pre>
  
  <p>Shows <code>-bash: /home/core/.bashrc: Read-only file system</code>.</p>
  
  <p>How how to do?</p>