@@ -169,27 +169,13 @@ This is an alternative to compiling from source on MacOS X.
169169on MacOS X computers. If you don't already have MacPorts, follow
170170[these instructions for installing
171171it](http://trac.macosforge.org/projects/macports/wiki/InstallingMacPorts).
172−Note that you'll need OSX 10.4 and the latest version of XCode Tools.
173172
174−Once you've installed MacPorts, you'll need to create a local ports
175−repository and copy the [pandoc `Portfile`](Portfile) into it:
176−
177− mkdir -p ~/ports/textproc/pandoc
178− cp Portfile ~/ports/textproc/pandoc/
179−
180−Then (as root) open `/opt/local/etc/macports/sources.conf` in an editor
181−and insert the line
182−
183− file:///Users/yourusername/ports
184−
185−before the line beginning `rsync:`, so MacPorts will know about your
186−local repository. (Replace `yourusername` here with your user name.)
187−
188−Now you should be able to install pandoc by typing
173+Once you've installed MacPorts, you can install pandoc by typing:
189174
175+ sudo port sync # to get the most recent ports
190176 sudo port install pandoc
191177
192−Since pandoc requires GHC to build, the process may take a long time.
178+Since pandoc depends on GHC, the process may take a long time.
193179
194180Installing the Windows binary
195181=============================
@@ -205,18 +191,14 @@ these, compile from source.
205191Installing pandoc on Debian
206192===========================
207193
208−This method will work on Debian linux and derivatives (including Ubuntu).
209−Download the latest debian package from the [pandoc home page].
210−To install it, just type
211−
212− sudo dpkg -i pandoc_0.xx_i386.deb
213−
214−where `pandoc_0.xx_i386.deb` is the filename of the debian package.
215−To uninstall later, use
194+Pandoc is now in the debian unstable archive, and can be installed
195+using `apt-get` (as root):
216196
217− sudo apt-get remove pandoc
197+ apt-get install pandoc # the program, shell scripts, and docs
198+ apt-get install libghc6-pandoc-dev # the libraries
199+ apt-get install pandoc-doc # library documentation
218200
219−[pandoc home page]: http://sophos.berkeley.edu/macfarlane/pandoc/
201+Thanks to Recai Oktaş for setting up the debian packages.
220202
221203Installing pandoc on FreeBSD
222204============================