[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnuastro-commits] master 5a0d4b58: Book: more general link to DS9's bin

From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master 5a0d4b58: Book: more general link to DS9's binary download in itemized list
Date: Sun, 5 Feb 2023 12:33:50 -0500 (EST)

branch: master
commit 5a0d4b5891db51487f4f1ca3b81f8e51dc5bd0c3
Author: Faezeh Bidjarchian <>
Commit: Mohammad Akhlaghi <>

    Book: more general link to DS9's binary download in itemized list
    Until now, for the installation of DS9 (in an appendix) we were guiding the
    readers to the top Google-based page of DS9. However, that page has many
    limiations (for example it does not open in some countries!) and generally
    has a terrible interface making it hard to find the download link.
    With this commit, the direct download page is
    now given and we have a simple checklist for the steps to check the
    downloaded file and to install it.
    This commit and its message were edited by Mohammad Akhlaghi.
 doc/gnuastro.texi | 34 ++++++++++++++++++++++++++--------
 1 file changed, 26 insertions(+), 8 deletions(-)

diff --git a/doc/gnuastro.texi b/doc/gnuastro.texi
index f57d830a..1b5cdedd 100644
--- a/doc/gnuastro.texi
+++ b/doc/gnuastro.texi
@@ -41936,21 +41936,39 @@ It is therefore a useful tool to visually inspect the 
images/cubes of your Gnuas
 In Gnuastro we have an installed script to run DS9 or TOPCAT on any number of 
FITS files (depending on it being an image or table), see @ref{Viewing FITS 
file contents with DS9 or TOPCAT} (which also includes a @file{.desktop} file 
for GUI integration).
 After installing DS9, you can easily use that script to open any FITS file 
(table, image or cube).
-Like the other packages, it might already be available in your distribution's 
-It is also already pre-compiled in the download section of its web page.
-Once you download it you can unpack and install (move it to a system 
recognized directory) with the following commands (@code{x.x.x} is the version 
+Like the other packages, it might already be available in your distribution's 
repositories; but these may be outdated.
+DS9 is also already pre-compiled for many common operating systems in the 
download section of its own web page:
+Find your operating system in @url{}.
+Note that many GNU/Linux operating systems are compatible with Debian or 
Fedora, so if you don't find your operating system's name, probably the latest 
Debian or Fedora will also work for you.
+With the operating system directories, you will find a compressed tarball that 
you need to download (choose the latest one).
+Unpack the tarball with a command like below:
+$ tar -xf ds9.debian11.X.X.X.tar.gz
+@end example
+This should produce a simple @file{ds9} file.
+Before installing, it is good to actually test it like below:
+$ ./ds9
+@end example
+If the command above opened DS9 with no error, you can safely install it with 
this command:
-$ tar xf ds9.linux64.x.x.x.tar.gz
 $ sudo mv ds9 /usr/local/bin
 @end example
-To test the build (as long as @file{/usr/local/bin} is in your @code{PATH}, 
see @ref{Installation directory}), you can simply run the command below.
+Go to your home directory and try running DS9 with the two commands below.
+If it doesn't find it, then you need to add @file{/usr/local/bin} to your 
@file{PATH}, see @ref{Installation directory}.
+$ cd
 $ ds9
 @end example
+@end enumerate

reply via email to

[Prev in Thread] Current Thread [Next in Thread]