Skip to content

Commit

Permalink
Removed binary installation
Browse files Browse the repository at this point in the history
  • Loading branch information
semmerson committed Dec 27, 2017
1 parent f3feab4 commit 1e8fb86
Showing 1 changed file with 10 additions and 62 deletions.
72 changes: 10 additions & 62 deletions udunits2.texi
Expand Up @@ -115,67 +115,15 @@ with the unit gram in version 2 of the package.
@chapter Installing this Package
@cindex installation

@menu
* Binary:: Installing from a binary distribution
* Source:: Installing from a source distribution
@end menu

@node Binary, Source, , Installation
@section Installing from a Binary Distribution
@cindex Installation, binary

@subsection 64-bit CentOS 6.4
If your operating system is compatible with 64-bit CentOS 6.4 (e.g., your system
is 64-bit CentOS, Fedora, or RedHat), then create the file
@code{/etc/yum.repos.d/unidata.repo} with the following contents:

@example
[unidata]
name=Unidata Repository
baseurl=http://www.unidata.ucar.edu/repos/yum/CentOS/6/$basearch
enabled=1
@end example

You should then be able to install this package in the usual manner.
For example,

@example
su -
yum install udunits
@end example

@subsection 32-bit Ubuntu 12
If your operating system is compatible with 32-bit Ubuntu 12 (precious pangolin)
(e.g., your system is 32-bit Debian or Ubuntu), then add the following line to
the file @code{/etc/apt/sources.list} or
@code{/etc/apt/sources.list.d/unidata.list}:

@example
deb http://www.unidata.ucar.edu/repos/apt i386/
@end example

You should then be able to install this package in the usual manner.
For example,

@example
su -
apt-get update
apt-get install udunits
@end example

@node Source, , Binary, Installation
@section Installing from a Source Distribution
@cindex Installation, source

@menu
* Prerequisites:: Prerequisites for this package
* Obtain:: Obtaining this package
* Unix:: Installing on Unix-like environments
* Windows:: Installing on Windows environments
@end menu

@node Prerequisites, Obtain, , Source
@subsection Prerequisites for This Package
@node Prerequisites, Obtain, , Installation
@section Prerequisites for This Package
@cindex prerequisites for this package

The Expat library and header-files must be installed. Look for the library
Expand All @@ -189,8 +137,8 @@ If this package is to be built on a Windows system, then the CMake and MinGW
packages must be installed. Look for the utility "cmake" and the
directory/folder "MinGW".

@node Obtain, Unix, Prerequisites, Source
@subsection Obtaining this Package
@node Obtain, Unix, Prerequisites, Installation
@section Obtaining this Package
@cindex obtaining this package

Get the source for this package from its download-page at
Expand All @@ -204,16 +152,16 @@ wget -O - ftp://ftp.unidata.ucar.edu/pub/udunits/udunits-@value{VERSION}-Source.
gunzip -c | pax -r
@end example

@node Unix, Windows, Obtain, Source
@subsection Unix Installation Instructions
@node Unix, Windows, Obtain, Installation
@section Unix Installation Instructions

@menu
* Autoconf:: Autoconf-based installation
* CMake:: CMake-based installation
@end menu

@node Autoconf, CMake, , Unix
@subsubsection Autoconf-based Installation
@subsection Autoconf-based Installation

Short instructions:

Expand Down Expand Up @@ -313,7 +261,7 @@ from step 2:
@end enumerate

@node CMake, , Autoconf, Unix
@subsubsection CMake-based Installation
@subsection CMake-based Installation

@example
cmake
Expand All @@ -322,8 +270,8 @@ make all [test] install [install_test]

where the arguments in square brackets are optional.

@node Windows, , Unix, Source
@subsection Windows Installation Instructions
@node Windows, , Unix, Installation
@section Windows Installation Instructions

Currently, only a 32-bit @uref{http://www.mingw.org,MinGW}-based installation is
supported:
Expand Down

0 comments on commit 1e8fb86

Please sign in to comment.