[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnuastro-commits] master 47dabf8 1/3: Installation of dependencies with
From: |
Mohammad Akhlaghi |
Subject: |
[gnuastro-commits] master 47dabf8 1/3: Installation of dependencies with YUM described in book |
Date: |
Tue, 10 Jul 2018 23:01:02 -0400 (EDT) |
branch: master
commit 47dabf82c7489fc55959dd57600c28d1af4e54bf
Author: Mohammad Akhlaghi <address@hidden>
Commit: Mohammad Akhlaghi <address@hidden>
Installation of dependencies with YUM described in book
Many astronomers use Red Hat-based OSs, so after a test installation of
Fedora on a virtual machine, the necessary command to install all of
Gnuastro's dependencies with YUM has been added to the "Dependencies from
package managers" section of the book.
Also, the description of Debian-based OSs has been edited to be more clear.
---
doc/gnuastro.texi | 52 +++++++++++++++++++++++++++++++++++++++++++++-------
1 file changed, 45 insertions(+), 7 deletions(-)
diff --git a/doc/gnuastro.texi b/doc/gnuastro.texi
index 7a92f8f..edc1e7e 100644
--- a/doc/gnuastro.texi
+++ b/doc/gnuastro.texi
@@ -5140,17 +5140,22 @@ mandatory dependencies with your package manager, just
ignore the empty
line.
@table @asis
address@hidden @command{apt-get} (Debian-based OSs: Ubuntu, Linux Mint and etc)
address@hidden @command{apt-get} (Debian-based OSs: Debian, Ubuntu, Linux Mint
and etc)
@cindex Debian
@cindex Ubuntu
address@hidden Linux Mint
@cindex @command{apt-get}
@cindex Advanced Packaging Tool (APT, Debian)
address@hidden://en.wikipedia.org/wiki/Debian,Debian}-based GNU/Linux
address@hidden@url{https://en.wikipedia.org/wiki/List_of_Linux_distributions#Debian-based}}
-(for example Ubuntu or its derivatives) are arguably the largest, and most
-used, class of GNU/Linux distributions. All such GNU/Linux distributions
-use Debian's Advanced Packaging Tool (APT, for example @command{apt-get})
-for managing packages.
address@hidden://en.wikipedia.org/wiki/Debian,Debian} is one of the oldest
+GNU/Linux
address@hidden@url{https://en.wikipedia.org/wiki/List_of_Linux_distributions#Debian-based}}.
It
+thus has a very extended user community and a robust internal structure and
+standards. All of it is free software and based on the work of volunteers
+around the world. Many distributions are thus derived from it, for example
+Ubuntu and Linux Mint. This arguably makes Debian-based OSs the largest,
+and most used, class of GNU/Linux distributions. All of them use Debian's
+Advanced Packaging Tool (APT, for example @command{apt-get}) for managing
+packages.
@example
$ sudo apt-get install ghostscript libtool-bin libjpeg-dev \
libtiff-dev libgit2-dev \
@@ -5158,6 +5163,39 @@ $ sudo apt-get install ghostscript libtool-bin
libjpeg-dev \
libgsl0-dev libcfitsio-dev wcslib-dev
@end example
address@hidden @command{yum} (Red Hat-based OSs: Red Hat, Fedora, CentOS,
Scientific Linux and etc)
address@hidden RHEL
address@hidden Fedora
address@hidden CentOS
address@hidden Red Hat
address@hidden @command{yum}
address@hidden Scientific Linux
address@hidden://en.wikipedia.org/wiki/Red_Hat,Red Hat Enterprise Linux} (RHEL)
+is released by Red Hat Inc. RHEL requires paid subscriptions for use of
+binaries and support. But since it is free software, many other teams use
+its code to spin-off their own distributions based on RHEL. All Red
+Hat-based GNU/Linux distributions use the Yellowdog Updated, Modifier (YUM)
+package manager.
address@hidden
+$ sudo yum install ghostscript libtool libjpeg-devel \
+ libtiff-devel libgit2-devel \
+ \
+ gsl-devel cfitsio-devel wcslib-devel
address@hidden example
+
address@hidden
address@hidden
address@hidden's header installation directory:} As of July 2018, by
+default YUM puts CFITSIO's headers in @file{/usr/include/cfitsio}. This is
+not in the default search directories for headers (see @ref{Installation
+directory}). If you have installed CFITSIO with YUM, but Gnuastro's
+configure complains about not finding CFITSIO, please configure Gnuastro
+with an additional @code{CFLAGS} environment variable like this:
address@hidden
+$ ./configure CFLAGS="-I/usr/include/cfitsio"
address@hidden example
address@hidden cartouche
+
@item @command{brew} (macOS)
@cindex macOS
@cindex Homebrew