hgbook

annotate en/tour.tex @ 84:43b9793b4e38

Begin tour chapter.
author Bryan O'Sullivan <bos@serpentine.com>
date Wed Oct 04 13:11:40 2006 -0700 (2006-10-04)
parents
children b7c69a68b0cc
rev   line source
bos@84 1 \chapter{A lightning tour of Mercurial}
bos@84 2 \label{chap:tour}
bos@84 3
bos@84 4 \section{Installing Mercurial on your system}
bos@84 5 \label{sec:tour:install}
bos@84 6
bos@84 7 \subsection{Linux}
bos@84 8
bos@84 9 All major Linux distributions provide a prebuilt Mercurial package.
bos@84 10 Because each Linux distribution has its own packaging tools, policies,
bos@84 11 and rate of development, it's difficult to give a comprehensive set of
bos@84 12 instructions on how to install Mercurial binaries, and the version of
bos@84 13 Mercurial that you will end up with can vary widely.
bos@84 14
bos@84 15 To keep things simple, I will focus on installing Mercurial from the
bos@84 16 command line under the most popular Linux distributions. Most of
bos@84 17 these distributions provide graphical package managers that will let
bos@84 18 you install Mercurial with a single click; the package name to look
bos@84 19 for is \texttt{mercurial}.
bos@84 20
bos@84 21 \subsubsection{Debian}
bos@84 22
bos@84 23 \begin{codesample2}
bos@84 24 apt-get install mercurial
bos@84 25 \end{codesample2}
bos@84 26
bos@84 27 \subsubsection{Fedora Core}
bos@84 28
bos@84 29 \begin{codesample2}
bos@84 30 yum install mercurial
bos@84 31 \end{codesample2}
bos@84 32
bos@84 33 \subsubsection{Gentoo}
bos@84 34
bos@84 35 \begin{codesample2}
bos@84 36 emerge mercurial
bos@84 37 \end{codesample2}
bos@84 38
bos@84 39 \subsubsection{OpenSUSE}
bos@84 40
bos@84 41 \begin{codesample2}
bos@84 42 yum install mercurial
bos@84 43 \end{codesample2}
bos@84 44
bos@84 45 \subsubsection{Ubuntu}
bos@84 46
bos@84 47 \begin{codesample2}
bos@84 48 apt-get install mercurial
bos@84 49 \end{codesample2}
bos@84 50
bos@84 51 \subsection{Mac OS X}
bos@84 52
bos@84 53 Lee Cantey publishes an installer of Mercurial for Mac OS~X at
bos@84 54 \url{http://mercurial.berkwood.com}. This package works on both
bos@84 55 Intel- and Power-based Macs, but requires you to install Universal
bos@84 56 Python before you can use it. This is easy to do; simply follow the
bos@84 57 instructions on Lee's site.
bos@84 58
bos@84 59 \subsection{Solaris}
bos@84 60
bos@84 61 XXX.
bos@84 62
bos@84 63 \subsection{Windows}
bos@84 64
bos@84 65 Lee Cantey publishes an installer of Mercurial for Windows at
bos@84 66 \url{http://mercurial.berkwood.com}. This package has no external
bos@84 67 dependencies; it ``just works''.
bos@84 68
bos@84 69 \begin{note}
bos@84 70 The Windows version of Mercurial does not automatically convert line
bos@84 71 endings between Windows and Unix styles. If you want to share work
bos@84 72 with Unix users, you must do a little additional configuration
bos@84 73 work. XXX Flesh this out.
bos@84 74 \end{note}
bos@84 75
bos@84 76 %%% Local Variables:
bos@84 77 %%% mode: latex
bos@84 78 %%% TeX-master: "00book"
bos@84 79 %%% End: