comparison 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
comparison
equal deleted inserted replaced
84:43b9793b4e38 85:b7c69a68b0cc
2 \label{chap:tour} 2 \label{chap:tour}
3 3
4 \section{Installing Mercurial on your system} 4 \section{Installing Mercurial on your system}
5 \label{sec:tour:install} 5 \label{sec:tour:install}
6 6
7 Prebuilt binary packages of Mercurial are available for every popular
8 operating system. These make it easy to start using Mercurial on your
9 computer immediately.
10
7 \subsection{Linux} 11 \subsection{Linux}
8 12
9 All major Linux distributions provide a prebuilt Mercurial package.
10 Because each Linux distribution has its own packaging tools, policies, 13 Because each Linux distribution has its own packaging tools, policies,
11 and rate of development, it's difficult to give a comprehensive set of 14 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 15 instructions on how to install Mercurial binaries. The version of
13 Mercurial that you will end up with can vary widely. 16 Mercurial that you will end up with can vary depending on how active
17 the person is who maintains the package for your distribution.
14 18
15 To keep things simple, I will focus on installing Mercurial from the 19 To keep things simple, I will focus on installing Mercurial from the
16 command line under the most popular Linux distributions. Most of 20 command line under the most popular Linux distributions. Most of
17 these distributions provide graphical package managers that will let 21 these distributions provide graphical package managers that will let
18 you install Mercurial with a single click; the package name to look 22 you install Mercurial with a single click; the package name to look
19 for is \texttt{mercurial}. 23 for is \texttt{mercurial}.
20 24
21 \subsubsection{Debian} 25 \begin{itemize}
26 \item[Debian]
27 \begin{codesample4}
28 apt-get install mercurial
29 \end{codesample4}
22 30
23 \begin{codesample2} 31 \item[Fedora Core]
24 apt-get install mercurial 32 \begin{codesample4}
25 \end{codesample2} 33 yum install mercurial
34 \end{codesample4}
26 35
27 \subsubsection{Fedora Core} 36 \item[Gentoo]
37 \begin{codesample4}
38 emerge mercurial
39 \end{codesample4}
28 40
29 \begin{codesample2} 41 \item[OpenSUSE]
30 yum install mercurial 42 \begin{codesample4}
31 \end{codesample2} 43 yum install mercurial
44 \end{codesample4}
32 45
33 \subsubsection{Gentoo} 46 \item[Ubuntu] Ubuntu's Mercurial package is particularly old, and you
34 47 should not use it. If you know how, you can rebuild and install the
35 \begin{codesample2} 48 Debian package. It's probably easier to build Mercurial from source
36 emerge mercurial 49 and simply run that; see section~\ref{sec:srcinstall:unixlike} for
37 \end{codesample2} 50 details.
38 51 \end{itemize}
39 \subsubsection{OpenSUSE}
40
41 \begin{codesample2}
42 yum install mercurial
43 \end{codesample2}
44
45 \subsubsection{Ubuntu}
46
47 \begin{codesample2}
48 apt-get install mercurial
49 \end{codesample2}
50 52
51 \subsection{Mac OS X} 53 \subsection{Mac OS X}
52 54
53 Lee Cantey publishes an installer of Mercurial for Mac OS~X at 55 Lee Cantey publishes an installer of Mercurial for Mac OS~X at
54 \url{http://mercurial.berkwood.com}. This package works on both 56 \url{http://mercurial.berkwood.com}. This package works on both
55 Intel- and Power-based Macs, but requires you to install Universal 57 Intel-~and Power-based Macs. Before you can use it, you must install
56 Python before you can use it. This is easy to do; simply follow the 58 a compatible version of Universal MacPython~\cite{web:macpython}. This
57 instructions on Lee's site. 59 is easy to do; simply follow the instructions on Lee's site.
58 60
59 \subsection{Solaris} 61 \subsection{Solaris}
60 62
61 XXX. 63 XXX.
62 64
71 endings between Windows and Unix styles. If you want to share work 73 endings between Windows and Unix styles. If you want to share work
72 with Unix users, you must do a little additional configuration 74 with Unix users, you must do a little additional configuration
73 work. XXX Flesh this out. 75 work. XXX Flesh this out.
74 \end{note} 76 \end{note}
75 77
78
76 %%% Local Variables: 79 %%% Local Variables:
77 %%% mode: latex 80 %%% mode: latex
78 %%% TeX-master: "00book" 81 %%% TeX-master: "00book"
79 %%% End: 82 %%% End: