hgbook

diff 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 diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/en/tour.tex	Wed Oct 04 13:11:40 2006 -0700
     1.3 @@ -0,0 +1,79 @@
     1.4 +\chapter{A lightning tour of Mercurial}
     1.5 +\label{chap:tour}
     1.6 +
     1.7 +\section{Installing Mercurial on your system}
     1.8 +\label{sec:tour:install}
     1.9 +
    1.10 +\subsection{Linux}
    1.11 +
    1.12 +All major Linux distributions provide a prebuilt Mercurial package.
    1.13 +Because each Linux distribution has its own packaging tools, policies,
    1.14 +and rate of development, it's difficult to give a comprehensive set of
    1.15 +instructions on how to install Mercurial binaries, and the version of
    1.16 +Mercurial that you will end up with can vary widely.  
    1.17 +
    1.18 +To keep things simple, I will focus on installing Mercurial from the
    1.19 +command line under the most popular Linux distributions.  Most of
    1.20 +these distributions provide graphical package managers that will let
    1.21 +you install Mercurial with a single click; the package name to look
    1.22 +for is \texttt{mercurial}.
    1.23 +
    1.24 +\subsubsection{Debian}
    1.25 +
    1.26 +\begin{codesample2}
    1.27 +  apt-get install mercurial
    1.28 +\end{codesample2}
    1.29 +
    1.30 +\subsubsection{Fedora Core}
    1.31 +
    1.32 +\begin{codesample2}
    1.33 +  yum install mercurial
    1.34 +\end{codesample2}
    1.35 +
    1.36 +\subsubsection{Gentoo}
    1.37 +
    1.38 +\begin{codesample2}
    1.39 +  emerge mercurial
    1.40 +\end{codesample2}
    1.41 +
    1.42 +\subsubsection{OpenSUSE}
    1.43 +
    1.44 +\begin{codesample2}
    1.45 +  yum install mercurial
    1.46 +\end{codesample2}
    1.47 +
    1.48 +\subsubsection{Ubuntu}
    1.49 +
    1.50 +\begin{codesample2}
    1.51 +  apt-get install mercurial
    1.52 +\end{codesample2}
    1.53 +
    1.54 +\subsection{Mac OS X}
    1.55 +
    1.56 +Lee Cantey publishes an installer of Mercurial for Mac OS~X at
    1.57 +\url{http://mercurial.berkwood.com}.  This package works on both
    1.58 +Intel- and Power-based Macs, but requires you to install Universal
    1.59 +Python before you can use it.  This is easy to do; simply follow the
    1.60 +instructions on Lee's site.
    1.61 +
    1.62 +\subsection{Solaris}
    1.63 +
    1.64 +XXX.
    1.65 +
    1.66 +\subsection{Windows}
    1.67 +
    1.68 +Lee Cantey publishes an installer of Mercurial for Windows at
    1.69 +\url{http://mercurial.berkwood.com}.  This package has no external
    1.70 +dependencies; it ``just works''.
    1.71 +
    1.72 +\begin{note}
    1.73 +  The Windows version of Mercurial does not automatically convert line
    1.74 +  endings between Windows and Unix styles.  If you want to share work
    1.75 +  with Unix users, you must do a little additional configuration
    1.76 +  work. XXX Flesh this out.
    1.77 +\end{note}
    1.78 +
    1.79 +%%% Local Variables: 
    1.80 +%%% mode: latex
    1.81 +%%% TeX-master: "00book"
    1.82 +%%% End: