hgbook

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