ssh接続
$ ssh -l k***** -p 10022 ki*****.xsrv.jp
LinuxBrewのインストール
$ sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
環境変数の設定
$ echo 'eval $(/home/XXXX/.linuxbrew/bin/brew shellenv)' >>~/.profile $ eval $(/home/XXXX/.linuxbrew/bin/brew shellenv) $ brew install gcc Warning: gcc 5.5.0_4 is already installed and up-to-date To reinstall 5.5.0_4, run `brew reinstall gcc`
インストール
$ brew install python3
更新
$ source ~/.profile
仮想環境
$ pyvenv venv(任意の名前) $ . vnev/bin/activate
pip
$ curl https://bootstrap.pypa.io/get-pip.py > get-pip.py $ python get-pip.py