Mod:Hunt Research Group/MacPorts

From ChemWiki
Revision as of 12:06, 26 March 2018 by Phunt (Talk | contribs) (MacPorts)

Jump to: navigation, search

MacPorts

  • installing MacPorts
  • find installation information here link
  • find general information here link
  • download and follow the instructions
  • macport installs in /opt/local so add to your path "export PATH=/opt/local/bin:/opt/local/sbin:$PATH"
  • after a major OS upgrade you will need to install a new MacPorts
  • using MacPorts basic commands
  • you will need to run all commands as sudo
  • general commands
port version
sudo port selfupdate
port installed
port outdated
port upgrade
port uninstall code_name
  • search for particular codes, in this case for python versions, generally or installed on this machine
port search --name --line --glob 'python*'
port installed 'python*'