From 3792083214c18fd33fc01c05c116184573a7bc45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Georges=20Dup=C3=A9ron?= Date: Tue, 12 Jun 2018 22:25:27 +0200 Subject: [PATCH] docs: guide on how to upgrade from one version of Racket to another --- .../getting-started/upgrading.scrbl | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 pkgs/racket-doc/scribblings/getting-started/upgrading.scrbl diff --git a/pkgs/racket-doc/scribblings/getting-started/upgrading.scrbl b/pkgs/racket-doc/scribblings/getting-started/upgrading.scrbl new file mode 100644 index 0000000000..a0a6b1fe19 --- /dev/null +++ b/pkgs/racket-doc/scribblings/getting-started/upgrading.scrbl @@ -0,0 +1,37 @@ +#lang scribble/manual + +@title{Upgrading from earlier 6.x and 7.x versions of Racket} + +@section{Linux} + +@subsection{Upgrading from a release version to a newer release versions, or from a nightly to a newer nightly} + +@itemlist[ + @item{Download the newer release from @url{https://download.racket-lang.org/}.} + @item{@code{chmod +x racket-X.Y-PLATFORM.sh}} + @item{@code{./racket-X.Y-PLATFORM.sh} and answer the questions to choose where the new version should be installed.} + @item{@code{raco setup}}] + +@subsection{Upgrading from a release version to a nightly} + +@itemlist[ + @item{Download the newer release from @url{https://download.racket-lang.org/}.} + @item{@code{chmod +x racket-X.Y-PLATFORM.sh}} + @item{@code{./racket-X.Y-PLATFORM.sh} and answer the questions to choose where the new version should be installed.} + @item{@code{mv ~/.racket/snapshot ~/.racket/snapshot.bak} remove and make a backup of the old "snapshot" folder if one existed} + @item{@code{mv ~/.racket/OLD_VERSION ~/.racket/snapshot}} + @item{@code{raco setup}}] + +@subsection{Upgrading from a nightly to a release version} + +@itemlist[ + @item{Download the newer release from @url{https://download.racket-lang.org/}.} + @item{@code{chmod +x racket-X.Y-PLATFORM.sh}} + @item{@code{./racket-X.Y-PLATFORM.sh} and answer the questions to choose where the new version should be installed.} + @item{@code{mv ~/.racket/SOME_VERSION} remove and make a backup of the old "snapshot" folder if one existed} + @item{@code{mv ~/.racket/snapshot ~/.racket/SOME_VERSION}} + @item{@code{raco setup}}] + +@section{Upgrading from earlier versions} + +If I'm not mistaken, @code{raco} was introduced at some point durign the 5.x series? \ No newline at end of file