[f16a988] | 1 | @comment -*-texinfo-*- |
---|
[3afeb9] | 2 | @comment $Id: INSTALL_rpm.texi,v 1.10 2002-07-01 13:00:43 Singular Exp $ |
---|
[f16a988] | 3 | @c FILE: INSTALL_rpm.texi |
---|
| 4 | @c PURPOSE: Installation instruction for Singular on RPM based Linux systems |
---|
| 5 | @c |
---|
| 6 | |
---|
| 7 | @ifclear VERSION |
---|
| 8 | @include version.texi |
---|
| 9 | @end ifclear |
---|
| 10 | |
---|
| 11 | @ifclear singularmanual |
---|
[743bd9] | 12 | @majorheading Installation of @sc{Singular} @value{RPM_VERSION} on @sc{rpm} based @sc{Linux} systems |
---|
[f16a988] | 13 | @end ifclear |
---|
| 14 | |
---|
[608866] | 15 | @sc{rpm} is a powerful package manager, which can be used to build, install, query, verify, update, and erase individual software packages. |
---|
| 16 | @sc{Singular} can be installed on an @sc{rpm} based @sc{Linux} system. |
---|
[dd2be3b] | 17 | The installation of @sc{Singular} on a general @sc{Unix} system is described in @code{INSTALL_unix}. |
---|
[608866] | 18 | |
---|
[f16a988] | 19 | @heading @sc{Singular} @sc{rpm} packages |
---|
| 20 | |
---|
| 21 | There are the following @sc{Singular} @sc{rpm} packages. |
---|
| 22 | |
---|
| 23 | @table @code |
---|
[e0e320] | 24 | @item @uref{Singular-@value{RPM_VERSION}-1.i386.rpm} |
---|
[f16a988] | 25 | contains architecture dependend executables like the Singular program. |
---|
[e0e320] | 26 | @item @uref{Singular-static-@value{RPM_VERSION}-1.i386.rpm} |
---|
[f16a988] | 27 | contains the static version of the architecture dependend executables. |
---|
[e0e320] | 28 | @item @uref{Singular-share-@value{RPM_VERSION}-1.noarch.rpm} |
---|
[f16a988] | 29 | contains architecture independend data like documentation and libraries. |
---|
[3afeb9] | 30 | @item @uref{Singular-desktop-@value{RPM_VERSION}-1.noarch.rpm} |
---|
| 31 | contains icons and menues for @sc{gnome} and @sc{kde}. |
---|
[f16a988] | 32 | @end table |
---|
| 33 | |
---|
| 34 | The above @sc{rpm} packages are available at |
---|
| 35 | @display |
---|
| 36 | @uref{ftp://www.mathematik.uni-kl.de/pub/Math/Singular}. |
---|
| 37 | @end display |
---|
| 38 | |
---|
| 39 | @include register.texi |
---|
| 40 | |
---|
| 41 | @heading Usage of @sc{rpm} packages |
---|
| 42 | @enumerate |
---|
| 43 | @item |
---|
[608866] | 44 | You can only use the @sc{Singular} @sc{rpm} packages for an @sc{rpm} based @sc{Linux} system like @sc{RedHat Linux} or @sc{SuSE Linux}. |
---|
[f16a988] | 45 | You can check this by typing |
---|
| 46 | @smallexample |
---|
| 47 | rpm |
---|
| 48 | @end smallexample |
---|
| 49 | in a command shell. This should produce an output like |
---|
| 50 | @smallexample |
---|
| 51 | RPM Version 4.0.3 |
---|
| 52 | Copyright (C) 1998-2000 - Red Hat, Inc. |
---|
| 53 | This program may be freely redistributed under the terms of the GNU GPL |
---|
| 54 | |
---|
[dd2be3b] | 55 | Usage: rpm @{--help@} |
---|
| 56 | rpm @{--version@} |
---|
[f16a988] | 57 | @end smallexample |
---|
| 58 | @item |
---|
[de5e1f] | 59 | To deal with @sc{rpm} packages, you can either use the @sc{rpm} command line tool @code{rpm} or a graphical @sc{rpm} frontend like e.g. @code{gnorpm} under @sc{gnome} or @code{kpackage} under @sc{kde}. |
---|
[f16a988] | 60 | For a description of the usage of @code{rpm}, type |
---|
| 61 | @smallexample |
---|
| 62 | rpm -h |
---|
| 63 | @end smallexample |
---|
| 64 | in a command shell. |
---|
| 65 | @item |
---|
[318895] | 66 | To install or deinstall @sc{rpm} packages, you have to be superuser. |
---|
| 67 | To become superuser, type |
---|
[f16a988] | 68 | @smallexample |
---|
| 69 | su |
---|
| 70 | @end smallexample |
---|
| 71 | in a command shell and enter the root password. |
---|
| 72 | @end enumerate |
---|
| 73 | |
---|
| 74 | |
---|
| 75 | @heading Installation of @sc{Singular} @sc{rpm} packages |
---|
| 76 | |
---|
[dd2be3b] | 77 | In the following, we describe how to install @sc{Singular} using the @sc{rpm} command line tool @code{rpm}. |
---|
[de5e1f] | 78 | Alternatively, you can use a graphical @sc{rpm} frontend like e.g. @code{gnorpm} under @sc{gnome} or @code{kpackage} under @sc{kde}. |
---|
[dd2be3b] | 79 | |
---|
[f16a988] | 80 | @enumerate |
---|
| 81 | @item |
---|
[dd2be3b] | 82 | The installation requires about 20MB of free disk space under @code{/opt}. |
---|
[f16a988] | 83 | You can check the free disk space by typing |
---|
| 84 | @smallexample |
---|
[dd2be3b] | 85 | df -h |
---|
[f16a988] | 86 | @end smallexample |
---|
| 87 | in a command shell. |
---|
| 88 | @item |
---|
| 89 | Different versions of @sc{Singular} @sc{rpm} packages coexist without conflicts. |
---|
| 90 | @item |
---|
| 91 | To install the @sc{Singular} binary @sc{rpm} package, type |
---|
| 92 | @smallexample |
---|
[608866] | 93 | rpm -ivh Singular-@value{RPM_VERSION}-1.i386.rpm |
---|
[f16a988] | 94 | @end smallexample |
---|
| 95 | in a command shell. |
---|
[dd2be3b] | 96 | |
---|
[f16a988] | 97 | This requires several shared libraries. |
---|
| 98 | If these are not present in your system, @code{rpm} will give an error report. |
---|
[318895] | 99 | In this case, you have to install @sc{rpm} packages providing these shared libraries and retry. |
---|
[f16a988] | 100 | Alternatively, you can install the @sc{Singular} static binary @sc{rpm} package by typing |
---|
| 101 | @smallexample |
---|
[608866] | 102 | rpm -ivh Singular-static-@value{RPM_VERSION}-1.i386.rpm |
---|
[f16a988] | 103 | @end smallexample |
---|
| 104 | in a command shell. |
---|
| 105 | @item |
---|
| 106 | To install the @sc{Singular} shared @sc{rpm} package, type |
---|
| 107 | @smallexample |
---|
[645285b] | 108 | rpm -ivh Singular-share-@value{RPM_VERSION}-1.noarch.rpm |
---|
[f16a988] | 109 | @end smallexample |
---|
| 110 | in a command shell. |
---|
| 111 | @item |
---|
[de5e1f] | 112 | To install a @sc{Singular} menu @sc{rpm} package, @sc{gnome} or @sc{kde} have to be installed under @code{/usr} like for @sc{RedHat Linux} or under @code{/opt} like for @sc{SuSE Linux}. |
---|
[f16a988] | 113 | You can check this by typing |
---|
| 114 | @smallexample |
---|
[de5e1f] | 115 | rpm -ql gnome-core |
---|
[f16a988] | 116 | rpm -ql kdebase |
---|
| 117 | @end smallexample |
---|
| 118 | in a command shell. |
---|
[de5e1f] | 119 | In the first case (@code{/usr}), you type |
---|
[f16a988] | 120 | @smallexample |
---|
[de5e1f] | 121 | rpm -ivh Singular-redhat-@value{RPM_VERSION}-1.noarch.rpm |
---|
[f16a988] | 122 | @end smallexample |
---|
[de5e1f] | 123 | and, in the second case (@code{/opt}), |
---|
[f16a988] | 124 | @smallexample |
---|
[de5e1f] | 125 | rpm -ivh Singular-suse-@value{RPM_VERSION}-1.noarch.rpm |
---|
[f16a988] | 126 | @end smallexample |
---|
| 127 | in a command shell. |
---|
| 128 | @item |
---|
| 129 | To deinstall a @sc{Singular} @sc{rpm} package, type |
---|
| 130 | @smallexample |
---|
| 131 | rpm -e Singular-...-@value{RPM_VERSION} |
---|
| 132 | @end smallexample |
---|
| 133 | in a command shell. |
---|
| 134 | @end enumerate |
---|
| 135 | |
---|
| 136 | @heading Starting @sc{Singular} |
---|
| 137 | @enumerate |
---|
| 138 | @item |
---|
[de5e1f] | 139 | To run @sc{Singular} @value{RPM_VERSION}, type |
---|
[f16a988] | 140 | @smallexample |
---|
| 141 | Singular-@value{VERSION} |
---|
| 142 | @end smallexample |
---|
| 143 | in a command shell. |
---|
[de5e1f] | 144 | To run @sc{Singular} @value{RPM_VERSION} under @sc{Emacs}, type |
---|
[f16a988] | 145 | @smallexample |
---|
| 146 | ESingular-@value{VERSION} |
---|
| 147 | @end smallexample |
---|
| 148 | in a command shell. |
---|
| 149 | @item |
---|
[5426dd8] | 150 | There is a menu @code{Singular @value{RPM_VERSION}} in the @sc{gnome} and @sc{kde} menu with menu items @code{TSingular}, @code{ESingular}, and @code{Manual}. |
---|
| 151 | Click on the menu item @code{TSingular} to run @sc{Singular} @value{RPM_VERSION} in a terminal, on the menu item @code{ESingular} to run @sc{Singular} @value{RPM_VERSION} under @sc{Emacs}, and on the menu item @code{Manual} to read the @sc{Singular} @value{RPM_VERSION} manual. |
---|
[f16a988] | 152 | @end enumerate |
---|
| 153 | |
---|
| 154 | |
---|
| 155 | @include info.texi |
---|
| 156 | |
---|
| 157 | @ifclear singularmanual |
---|
| 158 | Good luck and enjoy! Your @sc{Singular} team. |
---|
| 159 | @end ifclear |
---|