新入生は4月に来るけれど、 新しいマシンは予算消化の締め切り近くに来ることが多い。
xcode-select --install |
sudo port selfupdate sudo port upgrade outdated |
sudo port -N install gsed sudo port -N install wget sudo port -N install lha sudo port -N install a2ps-j sudo port -N install nkf sudo port -N install lv sudo port -N install jpeg2ps sudo port -N install gnupg2 sudo port -N install xpdf-japanese +autoactivate sudo port -N install kochi-substitute sudo port -N install netpbm sudo port -N install gnuplot sudo port -N install ImageMagick sudo port -N install ffmpeg +nonfree |
---> Some of the ports you installed have notes: openldap has the following notes: A startup item has been generated that will aid in starting openldap with launchd. It is disabled by default. Execute the following command to start it, and to cause it to launch at startup: sudo port load openldap pinentry-mac has the following notes: If you previously didn't have pinentry or gpg-agent installed and pinentry-mac has been installed as a dependency of gpg-agent, you don't need to do anything to use pinentry-mac. If you want to switch to the GTK2, ncurses or Qt4 based pinentry program, please install pinentry with the correct use flags and follow the instructions below substituting the pinentry-mac program path with /opt/local/bin/pinentry. If you previously had pinentry and gpg-agent installed and would like to switch to pinentry-mac, you will have to set it as your pinentry program in $HOME/.gnupg/gpg-agent.conf. Add the following line to the mentioned file: pinentry-program /Applications/MacPorts/pinentry-mac.app/Contents/MacOS/pinentry-mac Be sure to comment previous "pinentry-program" lines, for example: pinentry-program SAMPLE becomes #pinentry-program SAMPLE Afterwards, run killall -HUP gpg-agent or simply log out and back in again. [msmac1021-1:~/work] mk% |
sudo tlmgr option repository http://mirror.ctan.org/systems/texlive/tlnet sudo tlmgr update --self --all sudo tlmgr repository add http://contrib.texlive.info/current tlcontrib sudo tlmgr pinning add tlcontrib '*' sudo tlmgr install japanese-otf-nonfree japanese-otf-uptex-nonfree ptex-fontmaps-macos cjk-gs-integrate-macos sudo cjk-gs-integrate --link-texmf --cleanup --force sudo cjk-gs-integrate-macos --link-texmf --force sudo mktexlsr |
/etc/ssh/sshd_config |
% diff /etc/ssh/sshd_config.org /etc/ssh/sshd_config 119a120,121 > X11Forwarding yes > XAuthLocation /opt/X11/bin/xauth % |
sshd を再起動する |
sudo launchctl stop com.openssh.sshd(sudo launchctl start com.openssh.sshd としなくて良い?) |
bash /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" brew install gcc49 |
gcc |
#!/bin/sh /usr/local/bin/gcc-4.9 "$@" |
gfortran |
#!/bin/sh /usr/local/bin/gfortran-4.9 "$@" |
curl -O http://www-mmc.es.hokudai.ac.jp/~masakazu/Software/Script_on_mac.zip unzip Script_on_mac.zip cd Script_on_mac ./1_Install_macports_mac ./2_Install_dependency_library_mac ./3_Test_GLSC3D_on_mac ./4_Install_GLSC3D_on_your_mac |
桂田 祐史