QNAP環境構築手順 Python3のインストール
ipkgでpython3のインストールをします。
管理画面で「Optware IPKG (Itsy Package Management System)」を有効にするのを忘れずに!!
以下はsshでログインして作業します。
(1)パッケージの確認
[~] # ipkg list | grep python3
python3 - 3.2.2-1 - Python is an interpreted, interactive, object-oriented programming language.
[~] #
出て来ない場合は、「ipkg update」をします。
(2)python3のインストール
[~] # ipkg install python3
Package python3 (3.2.2-1) installed in root is up to date.
Nothing to be done
Successfully terminated.
[~] #
[~] # python3
Python 3.2.2 (default, Feb 14 2012, 16:04:34)
[GCC 4.2.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> exit()
SuccessfullyってでればインストールOK
python3で起動します。
終了はexit()です
python3の実行ファイル
[~] # which python3
/opt/bin/python3
[~] #
[~] # cd /opt/bin/
[~] # ln -s python3 python
[~] #
とりあえず、Python3完了