Update of /cvsroot/fink/web/doc/bundled In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv904/web/doc/bundled
Modified Files: install-fast.php install-first.php install-up02.php install-up03.php install.html install.php Log Message: fink-0.35.1 Index: install-up02.php =================================================================== RCS file: /cvsroot/fink/web/doc/bundled/install-up02.php,v retrieving revision 1.42 retrieving revision 1.43 diff -u -d -r1.42 -r1.43 --- install-up02.php 30 Mar 2013 17:22:39 -0000 1.42 +++ install-up02.php 9 Jul 2013 03:04:13 -0000 1.43 @@ -1 +1,120 @@ -<? include_once "../../phpLang.inc.php"; ?> +<? +$title = "Installation - Clean"; +$cvs_author = 'Author: alexkhansen'; +$cvs_date = 'Date: 2013/07/09 02:28:43'; +$metatags = '<link rel="contents" href="install.php" title="Installation Contents"><link rel="prev" href="install-up03.php" title="Upgrading Fink">'; + +include_once "header.inc"; +?> + +<h1>Installation - 4 Clean Upgrade</h1> + + + + +<p> + There are situations, which normally don't come up every day, in which you + may find that you need to install Fink over again. +</p> + + +<h2><a name="cleaninst">4.1 Situations Calling for a Clean Reinstall</a></h2> +<ul> + <li> + <p>You want to switch architectures, e.g. you have a 32-bit (i386) + Fink distribution on OS 10.6, and you would like to have a 64-bit + (x86_64) one instead. This also applies if you try to migrate a + PowerPC OS X setup to an Intel machine.</p> + </li> + <li> + <p>You want to move Fink to a different path.</p> + </li> + <li> + <p>You want to update, or have already updated, OS X between versions + where Fink doesn't support an upgrade path:</p> + <p>- 10.4 -> 10.6+</p> + <p>- 10.5 -> 10.7+</p> + <p>- 10.6 -> 10.7+</p> + </li> + <li> + <p>You have updated from 10.5 to 10.6 with XQuartz-2.4 or later installed, + and X11-based libraries and executables stop working.</p> + </li> + <li> + <p>Your Fink installation has linked to libraries, e.g. from MacPorts + or <code>/usr/local</code>, which have been removed from + your machine thereby breaking some of your Fink libraries and + executables.</p> + </li> +</ul> + + +<h2><a name="backup">4.2 Backing up to save time</a></h2> +<p> +To save time after you have reinstalled Fink, you can get a transcript +of your installed packages. The following command in a terminal window +will work, even if for some reason the Fink tools aren't functioning: +</p> +<pre>grep -B1 "install ok installed" /sw/var/lib/dpkg/status \ +| grep "^Package:" | cut -d: -f2 | cut -d\ -f2 > finkinst.txt</pre> +<p> +This will save the list of your packages in the file <code>finkinst.txt</code> +in the current working directory. +</p> +<p> +You may also want to copy or move the sources in <code>/sw/src</code> +to another location so that you don't have to spend time downloading them when +you begin restoring your Fink distribution. +</p> +<p> +In addition, if you have made global configuration changes to any of your packages by +editing configuration files in <code>/sw/etc</code>, then you may wish to back +those up. +</p> + + +<h2><a name="removing">4.3 Removing Your Old Fink</a></h2> +<p> +Once you've <a href="#backup">backed everything up</a>, you are ready +to remove your Fink distribution. You can remove <code>/sw</code> as well as +anything in <code>/Applications/Fink</code> +using the Finder or the command line: +</p> +<pre>sudo rm -rf /sw /Applications/Fink/*</pre> +<p> +(Replace <code>/sw</code> by your actual Fink tree). +</p> + + +<h2><a name="reinstalling">4.4 Installing Fink Again</a></h2> +<p> +First, follow the <a href="install-first.php">first-time install instructions</a>. +</p> +<p> + Once you have downloaded package descriptions, you can put the sources that you + <a href="#backup">backed up</a> into <code>/sw/src</code> either + using the Finder or the command line: +</p> +<pre>sudo cp /path/to/backup/* /sw/src</pre> +<p> + (As usual, replace <code>/sw</code> with your Fink tree). If you prefer, you can + use <code>fink configure</code> to specify your backup location: +</p> +<pre>In what additional directory should Fink look for downloaded tarballs? [] +<b>(enter your backup directory at the prompt)</b>. +</pre> +<p> + Note: this requires that the entire path to and including your backup directory is world-readable. +</p> +<p> + You can also restore your global configuration files at this time. + Note: we recommend that you <b>not</b> restore <code>/sw/etc/fink.conf</code> + from your prior installation of Fink, to avoid incompatibilities. You can open it up + in a text editor and enter the correponding values into <code>fink configure</code>. +</p> + + + + + +<? include_once "footer.inc"; ?> Index: install.html =================================================================== RCS file: /cvsroot/fink/web/doc/bundled/install.html,v retrieving revision 1.45 retrieving revision 1.46 diff -u -d -r1.45 -r1.46 --- install.html 30 Mar 2013 17:22:39 -0000 1.45 +++ install.html 9 Jul 2013 03:04:13 -0000 1.46 @@ -1,12 +1,12 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <!-- -Generated from $Fink: install.xml,v 1.38 2013/03/15 21:08:13 alexkhansen Exp $ +Generated from $Fink: install.xml,v 1.44 2013/07/09 02:28:43 alexkhansen Exp $ --> -<title>Fink Documentation - Fink 0.34.7 Installation</title></head><body><h1 style="text-align: center;">Fink 0.34.7 Installation</h1> +<title>Fink Documentation - Fink 0.35.1 Installation</title></head><body><h1 style="text-align: center;">Fink 0.35.1 Installation</h1> <p> These are the installation instructions for the "source" distribution -based on <tt style="white-space: nowrap;">fink-0.34.7</tt>, intended for use with OS X v.10.5 and later.</p> +based on <tt style="white-space: nowrap;">fink-0.35.1</tt>, intended for use with OS X v.10.6 and later.</p> <p> This document does not apply to the "<a href="/download/index.php">binary</a>" distribution. </p> @@ -38,23 +38,22 @@ </p> <ul> <li><p> -An installed Mac OS X system, version 10.5 or later. +An installed Mac OS X system, version 10.6 or later. </p></li> <li><p> -Development tools. -For OS X versions up to 10.6, you should install the newest version -of Xcode available for your system, which can be downloaded from -connect.apple.com after registering. -For 10.7 and 10.8, installing the -Xcode Command Line Tools is mandatory to use the most current build applications. -This can be installed either by downloading it directly via connect.apple.com -or through the Xcode application via the Components page of the Downloads tab of -the Preferences. On 10.7 one can install an earlier monolithic Xcode (4.2.1 and earlier), -but this isn't recommended. +Development tools. For 10.6, you should install Xcode 3.2.6 or 4.2, +which can be downloaded from connect.apple.com after registering. +For 10.7 and 10.8, installing the Xcode Command Line Tools is mandatory to use +the most current build applications. This can be installed either by downloading +it directly via connect.apple.com or through the Xcode application via the Components +page of the Downloads tab of the Preferences. On 10.7 one can install an earlier +monolithic Xcode (4.2.1 and earlier), but this isn't recommended.</p> +<p>Make sure that the tools you install match your Mac OS X version. </p></li> <li><p>On 10.7 and 10.8 you will need to install Java. Entering</p> <pre>javac</pre> -<p>from a Terminal.app window should suffice to make the system download it for you.</p></li> +<p>from a Terminal.app window should suffice to make the system download it for you (10.7) +or open up a browser window from which you can download the latest Java JDK (10.8).</p></li> <li><p> Many other things that come with Mac OS X and the Developer Tools. This includes perl and curl. @@ -74,8 +73,8 @@ <h3><a name="install-fast.install">1.2 First Time Installation Fast Track</a></h3> <p> -Start out by copying the <tt style="white-space: nowrap;">fink-0.34.7.tar.gz</tt> -file to your home folder (it might also show up as <tt style="white-space: nowrap;">fink-0.34.7.tar</tt> if you +Start out by copying the <tt style="white-space: nowrap;">fink-0.35.1.tar.gz</tt> +file to your home folder (it might also show up as <tt style="white-space: nowrap;">fink-0.35.1.tar</tt> if you used Safari to download it). Then, open Terminal.app and follow the session below. Computer output is in <tt style="white-space: nowrap;">normal face</tt>, your input is in @@ -87,15 +86,15 @@ dialog windows asking whether you want to install Xquartz. If you want to do so, go ahead. You won't have to stop the Fink install to do that.</p> -<pre>[frodo:~] testuser% <b>tar xf fink-0.34.7.tar.gz</b> -[frodo:~] testuser% <b>cd fink-0.34.7</b> -[frodo:~/fink-0.34.7] testuser% <b>./bootstrap</b> +<pre>[frodo:~] testuser% <b>tar xf fink-0.35.1.tar.gz</b> +[frodo:~] testuser% <b>cd fink-0.35.1</b> +[frodo:~/fink-0.35.1] testuser% <b>./bootstrap</b> Fink must be installed and run with superuser (root) privileges ... Choose a method: [1] <b>1</b> -sudo /Users/testuser/fink-0.34.7/bootstrap .sudo '/sw' +sudo /Users/testuser/fink-0.35.1/bootstrap .sudo '/sw' Password: <b>(your normal password here)</b> ... OK, I'll ask you some questions and update the configuration file in @@ -141,8 +140,8 @@ ... You should now have a working Fink installation in '/sw'. -[frodo:~/fink-0.34.7] testuser% <b>cd</b> -[frodo:~] testuser% <b>rm -r fink-0.34.7</b> +[frodo:~/fink-0.35.1] testuser% <b>cd</b> +[frodo:~] testuser% <b>rm -r fink-0.35.1</b> [frodo:~] testuser% <b>/sw/bin/pathsetup.sh</b></pre> <p> The last command runs a little script to help set up your Unix paths @@ -315,16 +314,13 @@ </p> <ul> <li><p> -Development tools. -For OS X versions up to 10.6, you should install the newest version -of Xcode available for your system, which can be downloaded from -connect.apple.com after registering. -For 10.7 and 10.8, installing the -Xcode Command Line Tools is mandatory to use the most current build applications. -This can be installed either by downloading it directly via connect.apple.com -or through the Xcode application via the Components page of the Downloads tab of -the Preferences. On 10.7 one can install an earlier monolithic Xcode (4.2.1 and earlier), -but this isn't recommended. +Development tools. For 10.6, you should install Xcode 3.2.6 or 4.2, +which can be downloaded from connect.apple.com after registering. +For 10.7 and 10.8, installing the Xcode Command Line Tools is mandatory to use +the most current build applications. This can be installed either by downloading +it directly via connect.apple.com or through the Xcode application via the Components +page of the Downloads tab of the Preferences. On 10.7 one can install an earlier +monolithic Xcode (4.2.1 and earlier), but this isn't recommended. </p></li> <li><p>On 10.7 and 10.8 you will need to install Java. Entering</p> <pre>javac</pre> @@ -363,19 +359,19 @@ <h3><a name="install-first.install">2.3 Installation</a></h3> <p> -First, you need to unpack the fink-0.34.7.tar.gz tarball (it might also show up as <tt style="white-space: nowrap;">fink-0.34.7.tar</tt> if you +First, you need to unpack the fink-0.35.1.tar.gz tarball (it might also show up as <tt style="white-space: nowrap;">fink-0.35.1.tar</tt> if you used Safari to download it). So, in a terminal window, go to the directory where you put the tarball, and run this command: </p> -<pre>tar xf fink-0.34.7.tar.gz</pre> +<pr >tar xf fink-0.34.7.tar.gz</pre>