Difference between revisions of "Macintosh Notes"

From Simson Garfinkel
Jump to navigationJump to search
m
m
Line 16: Line 16:
* [http://php5.darwinports.com/ PHP5 for Mac]
* [http://php5.darwinports.com/ PHP5 for Mac]


Once I have MacPorts installed, I recommend:
==LaTeX on the Mac==
Option #1: teTeX through MacPorts
   sudo port install teTeX
   sudo port install teTeX
Option #2: TUG's MacTex install
  http://tug.org/mactex/


==Fixing a corrupt cache==
==Fixing a corrupt cache==

Revision as of 15:41, 19 July 2009

Notes on the Macintosh

I do most of my work on Macs because I like having a full Unix operating system, I like having well-integrated graphical tools, I like having hardware that's highly integrated with the software, and I like having other people worry about the system administration. The Mac is a great system, but I've also found that there are some programs that make it a lot easier to use:

Other places to look for cool Mac stuff:

LaTeX on the Mac

Option #1: teTeX through MacPorts

 sudo port install teTeX

Option #2: TUG's MacTex install

 http://tug.org/mactex/

Fixing a corrupt cache

If your mac prints this:

dyld: shared cached file was build against a different libSystem.dylib, ignoring cache
dyld: shared cached file was build against a different libSystem.dylib, ignoring cache
dyld: shared cached file was build against a different libSystem.dylib, ignoring cache

Try this:

 sudo update_dyld_shared_cache -force

Backing up a Mac

Although there are some nice programs like Carbon Copy Cloner and SuperDuper! for backing up Macs, here is an easy way to clone /dev/disk0s2 to /dev/disk1s2:

 #!/bin/sh
 asr --source /dev/disk0s2 --target /dev/disk1s2 --erase --noprompt 
 disktool -n disk1s2 backup