Mod:Hunt Research Group/MacPorts

From ChemWiki
Revision as of 07:00, 5 December 2019 by Phunt (Talk | contribs)

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"
  • see information on next wikipage if gcc is using mac version and not macports
  • see information on following wikipage regarding python
  • see information on folloing wikipage regarding fortran
  • 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 to update macports
sudo port version
sudo port selfupdate
sudo port outdated
sudo port upgrade name
sudo port -u upgrade outdated
  • find out what is installed
sudo port installed
sudo port select --list name
sudo port uninstall --follow-dependents name
sudo port uninstall name
sudo port clean name
  • find out what you could install
sudo port installed '*name*'
port search --name --line --glob '*name*'
  • activate new install
sudo port activate name
sudo port deactivate name
sudo port select --set python python37 or which ever version you want
sudo port select --set python none removes the assignment