bos@84: \chapter{A lightning tour of Mercurial} bos@84: \label{chap:tour} bos@84: bos@84: \section{Installing Mercurial on your system} bos@84: \label{sec:tour:install} bos@84: bos@84: \subsection{Linux} bos@84: bos@84: All major Linux distributions provide a prebuilt Mercurial package. bos@84: Because each Linux distribution has its own packaging tools, policies, bos@84: and rate of development, it's difficult to give a comprehensive set of bos@84: instructions on how to install Mercurial binaries, and the version of bos@84: Mercurial that you will end up with can vary widely. bos@84: bos@84: To keep things simple, I will focus on installing Mercurial from the bos@84: command line under the most popular Linux distributions. Most of bos@84: these distributions provide graphical package managers that will let bos@84: you install Mercurial with a single click; the package name to look bos@84: for is \texttt{mercurial}. bos@84: bos@84: \subsubsection{Debian} bos@84: bos@84: \begin{codesample2} bos@84: apt-get install mercurial bos@84: \end{codesample2} bos@84: bos@84: \subsubsection{Fedora Core} bos@84: bos@84: \begin{codesample2} bos@84: yum install mercurial bos@84: \end{codesample2} bos@84: bos@84: \subsubsection{Gentoo} bos@84: bos@84: \begin{codesample2} bos@84: emerge mercurial bos@84: \end{codesample2} bos@84: bos@84: \subsubsection{OpenSUSE} bos@84: bos@84: \begin{codesample2} bos@84: yum install mercurial bos@84: \end{codesample2} bos@84: bos@84: \subsubsection{Ubuntu} bos@84: bos@84: \begin{codesample2} bos@84: apt-get install mercurial bos@84: \end{codesample2} bos@84: bos@84: \subsection{Mac OS X} bos@84: bos@84: Lee Cantey publishes an installer of Mercurial for Mac OS~X at bos@84: \url{http://mercurial.berkwood.com}. This package works on both bos@84: Intel- and Power-based Macs, but requires you to install Universal bos@84: Python before you can use it. This is easy to do; simply follow the bos@84: instructions on Lee's site. bos@84: bos@84: \subsection{Solaris} bos@84: bos@84: XXX. bos@84: bos@84: \subsection{Windows} bos@84: bos@84: Lee Cantey publishes an installer of Mercurial for Windows at bos@84: \url{http://mercurial.berkwood.com}. This package has no external bos@84: dependencies; it ``just works''. bos@84: bos@84: \begin{note} bos@84: The Windows version of Mercurial does not automatically convert line bos@84: endings between Windows and Unix styles. If you want to share work bos@84: with Unix users, you must do a little additional configuration bos@84: work. XXX Flesh this out. bos@84: \end{note} bos@84: bos@84: %%% Local Variables: bos@84: %%% mode: latex bos@84: %%% TeX-master: "00book" bos@84: %%% End: