OS X Software

From Peyton Hall Documentation

(Difference between revisions)
Jump to: navigation, search
m
m
Line 1: Line 1:
-
{{oldfaq|NUM=135}}
+
Here you will find some information about software you may find useful on a Mac.
 +
 
 +
 
==Software for a new Mac==
==Software for a new Mac==
Here's a step-by-step setup guide for Mac OS 10.x
Here's a step-by-step setup guide for Mac OS 10.x
-
# First, you may want a web browser and E-mail client you're familiar with. Have a look at [[#Firefox_and_Thunderbird|Firefox and Thunderbird]]
+
# First, you may want a web browser and E-mail client you're familiar with. Have a look at [[#Firefox_and_Thunderbird|Firefox and Thunderbird]]
# You'll want to make sure that X11 is installed, so go here: [[#X-Windows for OSX|X-Windows for OSX]]
# You'll want to make sure that X11 is installed, so go here: [[#X-Windows for OSX|X-Windows for OSX]]
# You'll also want to make sure the developers tools are installed, especially if you want to compile any code (or install Fink, which also requires them).  Handy to have around anyway. Here's more: [[#Developer_Tools|Developer Tools]]
# You'll also want to make sure the developers tools are installed, especially if you want to compile any code (or install Fink, which also requires them).  Handy to have around anyway. Here's more: [[#Developer_Tools|Developer Tools]]
# Fink and MacPorts allow you to easily download and install many Unix-friendly tools (such as a TeX formatter, editors, and much more). You can find more information here: [[#Fink_vs._MacPorts|Fink vs. MacPorts]]
# Fink and MacPorts allow you to easily download and install many Unix-friendly tools (such as a TeX formatter, editors, and much more). You can find more information here: [[#Fink_vs._MacPorts|Fink vs. MacPorts]]
-
For any other 'gotcha's and information, browse around this section. If you can't find it here, then ask around on the mac-users mailing list, or [[Requesting assistance|contact us]].
+
For any other 'gotcha's and information, browse around this section. If you can't find it here, then ask around on the mac-users mailing list, or [[Requesting assistance|contact us]].
 +
 
==X-Windows for OS X==
==X-Windows for OS X==
===10.3===
===10.3===
-
Since the release of OS 10.3 (Panther), the Apple X11 server is now shipped with the machine. You no longer have to go download it as a separate application, it should be on one of the CDs that come with the machine.
+
Since the release of OS 10.3 (Panther), the Apple X11 server is now shipped with the machine. You no longer have to go download it as a separate application, it should be on one of the CDs that come with the machine.
-
===10.4===
+
-
In Tiger (OS X 10.4), X11 can be found as part of the Optional Installs package on the install DVD. When the Installer gives you the list of packages to install, X11 is located under "Applications". Chances are most, if not all, the rest of the packages are already installed. So, unless you know you need another optional package, I recommend just installing X11 as installing everything will take a little while.
+
-
===Windows appearing off screen?===
 
-
A note from Joe Hennawi, who had trouble with X windows appearing off the side of the screen:
 
-
As I mentioned to you earlier, I was having a problem after upgrading to Panther that the X11 windows were displaying off the screen occasionally. Thanks to Olivier for figuring out the solution to this problem. You need to create a .xinitrc with the following lines.
+
===10.4===
 +
In Tiger (OS X 10.4), X11 can be found as part of the Optional Installs package on the install DVD. When the Installer gives you the list of packages to install, X11 is located under "Applications". Chances are most, if not all, the rest of the packages are already installed.  So, unless you know you need another optional package, I recommend just installing X11 as installing everything will take a little while.
 +
 +
===Windows appearing off screen?===
 +
Some have had problems with X11 windows displaying off the screen occasionally.  You need to create a .xinitrc with the following lines:
  ##
  ##
  # This line sets the path
  # This line sets the path
Line 28: Line 31:
  # Runs quartz-wm
  # Runs quartz-wm
  /usr/X11R6/bin/quartz-wm
  /usr/X11R6/bin/quartz-wm
 +
==Fink vs. MacPorts==
==Fink vs. MacPorts==
-
There are two main options for getting a lot Unix tools installed on OS X, Fink and MacPorts. The biggest difference between the two is that Fink typically provides binaries, while MacPorts requires you to compile from source -- however, MacPorts also tends to have fresher packages because of this.
+
There are two main options for getting a lot Unix tools installed on OS X, Fink and MacPorts. The biggest difference between the two is that Fink typically provides binaries, while MacPorts requires you to compile from source -- however, MacPorts also tends to have fresher packages because of this.
 +
 
 +
 
===Fink===
===Fink===
-
You can get from http://fink.sourceforge.net. Follow the instructions provided and you'll find that Fink installs easily.
+
You can get from http://fink.sourceforge.net. Follow the instructions provided and you'll find that Fink installs easily.
 +
 
 +
Fink gives you a package manager to install various open source programs, such as Vim, LaTeX, Ghostview, and many more.  Once installed, browse through the package list and select those that you wish to have installed, and it will download and install them for you.  If you have gcc installed as well, you can even have it compile packages from source.
 +
 
-
Fink gives you a package manager to install various open source programs, such as Vim, LaTeX, Ghostview, and many more. Once installed, browse through the package list and select those that you wish to have installed, and it will download and install them for you. If you have gcc installed as well, you can even have it compile packages from source.
 
====FinkCommander====
====FinkCommander====
-
If you prefer a graphical approach to installing software, then after installing Fink, grab a copy of "Fink Commander." As of more recent releases of Fink, it comes in the same disk image as Fink. Just drag and drop it into your Applications folder. It will go through Fink and generate a package list, and then give you a graphical interface to installing the source or binary packages on your Mac. It has a convenient autoupdate facility. If a new version of Fink Commander is available, the program will let you know and offer to download it for you.
+
If you prefer a graphical approach to installing software, then after installing Fink, grab a copy of "Fink Commander." As of more recent releases of Fink, it comes in the same disk image as Fink. Just drag and drop it into your Applications folder. It will go through Fink and generate a package list, and then give you a graphical interface to installing the source or binary packages on your Mac. It has a convenient autoupdate facility - if a new version of Fink Commander is available, the program will let you know and offer to download it for you.
 +
 
 +
 
===MacPorts===
===MacPorts===
-
This was formerly known as DarwinPorts. It takes a page from the FreeBSD ports system by providing you with a bunch of files which let you compile applications yourself. I've found that MacPorts tends to have fresher software than Fink.
+
This was formerly known as DarwinPorts. It takes a page from the FreeBSD ports system by providing you with a bunch of files which let you compile applications yourself. I've found that MacPorts tends to have fresher software than Fink. You can get more information on how to download and install it from http://www.macports.org/.
-
You can get more information on how to download and install it from http://www.macports.org/.
+
 
==Developer Tools==
==Developer Tools==
-
You'll probably want to install the OS X developer tools, which gives you a C compiler (gcc) and headers/libraries needed to link programs. While this is optional, it's a pretty good idea so that you have a compiler installed.
+
You'll probably want to install the OS X developer tools, which gives you a C compiler (gcc) and headers/libraries needed to link programs. While this is optional, it's a pretty good idea so that you have a compiler installed.
 +
 
 +
As of Panther (OS X 10.3), the Developer Tools have been renamed XCode.  To install XCode (which includes gcc), OSX Install Disk 1, double-click the XCode Tools directory, and double-click "Developer.mpkg" (on 10.3) or "XcodeTools.mpkg" (on 10.4).  Note that Apple's developer tools doesn't include a fortran compiler.  For g77 or g95, you'll need to use Fink or Darwinports.
-
As of Panther (OS X 10.3), the Developer Tools have been renamed XCode. To install XCode (which includes gcc), OSX Install Disk 1, double-click the XCode Tools directory, and double-click "Developer.mpkg" (on 10.3) or "XcodeTools.mpkg" (on 10.4). Note that Apple's developer tools doesn't include a fortran compiler. For g77 or g95, you'll need to use Fink or Darwinports.
 
==ssh-agent in OS X==
==ssh-agent in OS X==
-
If you want to be able to login to Peyton Hall servers you'll probably want to set up an ssh-agent. [[SSH#ssh-agent_for_Mac_OS_X|Click me to find out how!]]
+
If you want to be able to login to Peyton Hall servers you'll probably want to set up an ssh-agent. [[SSH#ssh-agent_for_Mac_OS_X|Click me to find out how!]]
 +
 
==Firefox and Thunderbird==
==Firefox and Thunderbird==
-
While not strictly necessary, we recommend using Firefox and Thunderbird because they provide a bit of consistency across multiple platforms, which is nice if you switch between a Linux desktop and your Mac laptop on a regular basis. You can grab them both from http://mozilla.com.
+
While not strictly necessary, we recommend using Firefox and Thunderbird because they provide a bit of consistency across multiple platforms, which is nice if you switch between a Linux desktop and your Mac laptop on a regular basis. You can learn more in the [[Firefox]] and [[Thunderbird]] articles.
 +
 
 +
 
===What happened to Mozilla?===
===What happened to Mozilla?===
-
The decision was made by the folks at the Mozilla foundation to split the web and mail functionality previously together in Mozilla into two separate applications. Development has halted on Mozilla and therefore we don't recommend using it any longer.
+
The decision was made by the folks at the Mozilla foundation to split the web and mail functionality previously together in Mozilla into two separate applications. Development has halted on Mozilla and therefore we don't recommend using it any longer. If you '''really''' want both functions in a single application, have a look at [http://www.mozilla.org/projects/seamonkey/ SeaMonkey]
-
If you '''really''' want both functions in a single application, have a look at [http://www.mozilla.org/projects/seamonkey/ SeaMonkey]
+
 
==TeXShop==
==TeXShop==
Another good program is TeXShop, which is available here: http://www.uoregon.edu/~koch/texshop/texshop.html
Another good program is TeXShop, which is available here: http://www.uoregon.edu/~koch/texshop/texshop.html
-
From their website:
+
From their website:<blockquote>
-
 
+
TeXShop is a TeX previewer for Mac OS X, written in Cocoa. Since pdf is a native file format on OS X, TeXShop uses "pdftex" and "pdflatex" rather than "tex" and "latex" to typeset; these programs in the standard teTeX distribution of TeX produce pdf output instead of dvi output.  TeXShop uses TeXLive and teTeX, standard distributions of Tex programs for Unix machines. The distributions include tex, latex, dvips, tex fonts, cyrillic fonts,and virtually all other programs and supporting files commonly used in the TeX world.
-
TeXShop is a TeX previewer for Mac OS X, written in Cocoa. Since pdf is a native
+
</blockquote>
-
file format on OS X, TeXShop uses "pdftex" and "pdflatex" rather than "tex" and
+
-
"latex" to typeset; these programs in the standard teTeX distribution of TeX
+
-
produce pdf output instead of dvi output.
+
-
+
-
  TeXShop uses TeXLive and teTeX, standard distributions of Tex programs for Unix
+
-
machines. The distributions include tex, latex, dvips, tex fonts, cyrillic fonts,
+
-
and virtually all other programs and supporting files commonly used in the TeX
+
-
world.
+

Revision as of 18:03, 21 May 2007

Here you will find some information about software you may find useful on a Mac.


Contents

Software for a new Mac

Here's a step-by-step setup guide for Mac OS 10.x

  1. First, you may want a web browser and E-mail client you're familiar with. Have a look at Firefox and Thunderbird
  2. You'll want to make sure that X11 is installed, so go here: X-Windows for OSX
  3. You'll also want to make sure the developers tools are installed, especially if you want to compile any code (or install Fink, which also requires them). Handy to have around anyway. Here's more: Developer Tools
  4. Fink and MacPorts allow you to easily download and install many Unix-friendly tools (such as a TeX formatter, editors, and much more). You can find more information here: Fink vs. MacPorts

For any other 'gotcha's and information, browse around this section. If you can't find it here, then ask around on the mac-users mailing list, or contact us.


X-Windows for OS X

10.3

Since the release of OS 10.3 (Panther), the Apple X11 server is now shipped with the machine. You no longer have to go download it as a separate application, it should be on one of the CDs that come with the machine.


10.4

In Tiger (OS X 10.4), X11 can be found as part of the Optional Installs package on the install DVD. When the Installer gives you the list of packages to install, X11 is located under "Applications". Chances are most, if not all, the rest of the packages are already installed. So, unless you know you need another optional package, I recommend just installing X11 as installing everything will take a little while.


Windows appearing off screen?

Some have had problems with X11 windows displaying off the screen occasionally. You need to create a .xinitrc with the following lines:

##
# This line sets the path
PATH = $PATH:/usr/X11R6/bin:/sw/bin:/usr/local/bin
export PATH

# Runs quartz-wm
/usr/X11R6/bin/quartz-wm


Fink vs. MacPorts

There are two main options for getting a lot Unix tools installed on OS X, Fink and MacPorts. The biggest difference between the two is that Fink typically provides binaries, while MacPorts requires you to compile from source -- however, MacPorts also tends to have fresher packages because of this.


Fink

You can get from http://fink.sourceforge.net. Follow the instructions provided and you'll find that Fink installs easily.

Fink gives you a package manager to install various open source programs, such as Vim, LaTeX, Ghostview, and many more. Once installed, browse through the package list and select those that you wish to have installed, and it will download and install them for you. If you have gcc installed as well, you can even have it compile packages from source.


FinkCommander

If you prefer a graphical approach to installing software, then after installing Fink, grab a copy of "Fink Commander." As of more recent releases of Fink, it comes in the same disk image as Fink. Just drag and drop it into your Applications folder. It will go through Fink and generate a package list, and then give you a graphical interface to installing the source or binary packages on your Mac. It has a convenient autoupdate facility - if a new version of Fink Commander is available, the program will let you know and offer to download it for you.


MacPorts

This was formerly known as DarwinPorts. It takes a page from the FreeBSD ports system by providing you with a bunch of files which let you compile applications yourself. I've found that MacPorts tends to have fresher software than Fink. You can get more information on how to download and install it from http://www.macports.org/.


Developer Tools

You'll probably want to install the OS X developer tools, which gives you a C compiler (gcc) and headers/libraries needed to link programs. While this is optional, it's a pretty good idea so that you have a compiler installed.

As of Panther (OS X 10.3), the Developer Tools have been renamed XCode. To install XCode (which includes gcc), OSX Install Disk 1, double-click the XCode Tools directory, and double-click "Developer.mpkg" (on 10.3) or "XcodeTools.mpkg" (on 10.4). Note that Apple's developer tools doesn't include a fortran compiler. For g77 or g95, you'll need to use Fink or Darwinports.


ssh-agent in OS X

If you want to be able to login to Peyton Hall servers you'll probably want to set up an ssh-agent. Click me to find out how!


Firefox and Thunderbird

While not strictly necessary, we recommend using Firefox and Thunderbird because they provide a bit of consistency across multiple platforms, which is nice if you switch between a Linux desktop and your Mac laptop on a regular basis. You can learn more in the Firefox and Thunderbird articles.


What happened to Mozilla?

The decision was made by the folks at the Mozilla foundation to split the web and mail functionality previously together in Mozilla into two separate applications. Development has halted on Mozilla and therefore we don't recommend using it any longer. If you really want both functions in a single application, have a look at SeaMonkey


TeXShop

Another good program is TeXShop, which is available here: http://www.uoregon.edu/~koch/texshop/texshop.html

From their website:
TeXShop is a TeX previewer for Mac OS X, written in Cocoa. Since pdf is a native file format on OS X, TeXShop uses "pdftex" and "pdflatex" rather than "tex" and "latex" to typeset; these programs in the standard teTeX distribution of TeX produce pdf output instead of dvi output. TeXShop uses TeXLive and teTeX, standard distributions of Tex programs for Unix machines. The distributions include tex, latex, dvips, tex fonts, cyrillic fonts,and virtually all other programs and supporting files commonly used in the TeX world.
Personal tools