Install Python3 on Sakura server (FreeBSD)

1. Install Python3


Bash


mkdir ~/local
mkdir ~/local/src

cd ~/local/src
wget http://python.org/ftp/python/3.3.1/Python-3.3.2.tar.bz2
tar -xjf Python-3.3.2.tar.bz2
cd Python-3.3.2
./configure --prefix=$HOME/local/python/
make && make install

2. Add ~ / .cshrc


Bash


cd
vi ~/.cshrc

vi


#Add the following
set path = ($HOME/local/python/bin)
setenv PYTHON $HOME/local/python/lib

By adding it, just enter the command "python3" and the interpreter of python3 will start.

Referenced site

http://www.mihr.net/comp/sakura.html

Recommended Posts

Install Python3 on Sakura server (FreeBSD)
Install Python3 on mixhost server [Currently NG]
Install python on WSL
Install Python on Pidora.
Install Scrapy on python3
Install Python on Mac
Install Python 3 on Mac
Install Python3.4 on CentOS 6.6
Install python on windows
Install Python 2.7.3 on CentOS 5.4
Install Python 3.3 on Ubuntu 12.04
Install Python 3.4 on Mac
Install Python 3.6 on Docker
Install mecab on Sakura shared server and call it from python
Building a Python environment on a Sakura VPS server
Install Python 3.8 on RHEL 8 (AppStream)
Install watchdog on Windows + Python 3.3
Install pygame on python3.4 on mac
Install Python 3.8 on CentOS 7 (SCL)
Install pandas 0.14 on python3.4 [on Mac]
Install OpenCV on Ubuntu + python
Python --Install MySQLDB on EC2
Install Python 3.8 on CentOS 8 (AppStream)
[Python] [Chainer] [Windows] Install Chainer on Windows
Install django on python + anaconda and start the server
Install Python Pillow on Amazon Linux
Install Python 3.8 on Ubuntu 18.04 (OS standard)
install python
Install Python 3.8 on Ubuntu 20.04 (OS standard)
Install python2.7 on windows 32bit environment
Install xgboost (python version) on Windows
Install Python on Windows + pip + virtualenv
Install Pytorch on Blender 2.90 python on Windows
Install Python 3.7 Anaconda on MAC, but Python 2
Install python3 on Mac (El Capitan)
Install Python 3.9 on Ubuntu 20.04 (OS standard?)
Install Python development environment on Windows 10
Install Python on CentOS using Pyenv
Install confluent-kafka for Python on Ubuntu
Install Python 2.7 on Ubuntu 20.04 (OS standard?)
Steps to install python3 on mac
Sakura Use Python on the Internet
Install Python on CentOS using pyenv
How to set cron for regular Python scraping on Sakura server.
[Kivy] How to install Kivy on Windows [Python]
Install python library on Lambda using [/ tmp]
Build CGI Server running on Python 3 on Docker
Steps to install Python environment on Ubuntu
Install and Configure TigerVNC server on Linux
scipy stumbles with pip install on python 2.7.8
Install Python less than 3.5.3 on macOS Catalina
Dockerfile: Install Docker on your Linux server
Use Python external module on Sakura Internet
Install python on xserver to use pip
Install pyenv and Python 3.6.8 on Ubuntu 18.04 LTS
Install Python 3.8, Pip 3.8 on EC2 (Amazon Linux 2)
Run python wsgi server on NGINX Unit
Python on Windows
twitter on python3
Install Python locally
Install NAOqi python