Mercurial > hgbook
diff en/tour.tex @ 85:b7c69a68b0cc
A little progress on "lightning tour".
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Wed, 04 Oct 2006 15:15:54 -0700 |
parents | 43b9793b4e38 |
children | 0995016342f8 |
line wrap: on
line diff
--- a/en/tour.tex Wed Oct 04 13:11:40 2006 -0700 +++ b/en/tour.tex Wed Oct 04 15:15:54 2006 -0700 @@ -4,13 +4,17 @@ \section{Installing Mercurial on your system} \label{sec:tour:install} +Prebuilt binary packages of Mercurial are available for every popular +operating system. These make it easy to start using Mercurial on your +computer immediately. + \subsection{Linux} -All major Linux distributions provide a prebuilt Mercurial package. Because each Linux distribution has its own packaging tools, policies, and rate of development, it's difficult to give a comprehensive set of -instructions on how to install Mercurial binaries, and the version of -Mercurial that you will end up with can vary widely. +instructions on how to install Mercurial binaries. The version of +Mercurial that you will end up with can vary depending on how active +the person is who maintains the package for your distribution. To keep things simple, I will focus on installing Mercurial from the command line under the most popular Linux distributions. Most of @@ -18,43 +22,41 @@ you install Mercurial with a single click; the package name to look for is \texttt{mercurial}. -\subsubsection{Debian} - -\begin{codesample2} - apt-get install mercurial -\end{codesample2} +\begin{itemize} +\item[Debian] + \begin{codesample4} + apt-get install mercurial + \end{codesample4} -\subsubsection{Fedora Core} - -\begin{codesample2} - yum install mercurial -\end{codesample2} - -\subsubsection{Gentoo} +\item[Fedora Core] + \begin{codesample4} + yum install mercurial + \end{codesample4} -\begin{codesample2} - emerge mercurial -\end{codesample2} - -\subsubsection{OpenSUSE} +\item[Gentoo] + \begin{codesample4} + emerge mercurial + \end{codesample4} -\begin{codesample2} - yum install mercurial -\end{codesample2} +\item[OpenSUSE] + \begin{codesample4} + yum install mercurial + \end{codesample4} -\subsubsection{Ubuntu} - -\begin{codesample2} - apt-get install mercurial -\end{codesample2} +\item[Ubuntu] Ubuntu's Mercurial package is particularly old, and you + should not use it. If you know how, you can rebuild and install the + Debian package. It's probably easier to build Mercurial from source + and simply run that; see section~\ref{sec:srcinstall:unixlike} for + details. +\end{itemize} \subsection{Mac OS X} Lee Cantey publishes an installer of Mercurial for Mac OS~X at \url{http://mercurial.berkwood.com}. This package works on both -Intel- and Power-based Macs, but requires you to install Universal -Python before you can use it. This is easy to do; simply follow the -instructions on Lee's site. +Intel-~and Power-based Macs. Before you can use it, you must install +a compatible version of Universal MacPython~\cite{web:macpython}. This +is easy to do; simply follow the instructions on Lee's site. \subsection{Solaris} @@ -73,6 +75,7 @@ work. XXX Flesh this out. \end{note} + %%% Local Variables: %%% mode: latex %%% TeX-master: "00book"