Solved How Do I Start Python Under FreeBSD 10.2?

I just installed lang/python34.

I now have two questions?

1) In what directory do I find the executable?
2) What command do I type to start it (I know it isn't " python", or " python34", because I just tried those.)?
 
Three quick methods to locate your executable;
1) use locate(1) command, you can use something like locate python
2) use your shell's TAB completion feature, most shells have this feature, e.g. zsh(1)
3) this is not applicable in your case, but if you know exact name of the executable, you can always use which(1) to locate file, something like which myexe
 
There are also wrapper ports lang/python2, lang/python3 and lang/python that do nothing else but install symbolic links /usr/local/bin/python2, /usr/local/bin/python3 and /usr/local/bin/python respectively. The last one links /usr/local/bin/python to python2.7 if compiled with the default settings, use PYTHON_VERSION in make.conf(5) to override.
 
Back
Top