Open main menu

Changes

Installation linux

844 bytes added, 20:42, 27 October 2017
Switched to the {{relax source}} template for repository links, and removed all SVN references.
yum install grace
yum install subversion
yum install python-matplotlibƒmatplotlib
# We can manage python package installations with pip
Before installing relax, it is best to be sure that the Python modules are functional by importing them:
<source {{collapsible script| type = Python commands| title = Testing modules by importing them.| lang ="python">| script =
$ python
Python 2.6.6 (r266:84292, Oct 12 2012, 14:23:48)
>>> mpi4py.__file__
'...'
</source>}}
== Checking out a relax branch ==
If you would like to play with relax branch rather than the main [http://www.nmr-relax.com/download.html relax downloads], the [httphttps://subversiongit-scm.tigris.orgcom/ SubversionGit] program should first be installed. <br>You can see the different branches [http://svn.gna.org/viewcvs/{{relax/ source|text=here}}.] <br>
First the relax sources can be checked out of the source code repository and the C modules compiled:
=== Using subversion git ===To check out the relax trunk using the subversion git client, simply type:<{{#tag:source lang="bash">|svn co svn://svn.gna.org/svn/{{relax/trunk relax_trunk</source>clone}}If this svn command does not work, try:<source | lang="bash">svn co http://svn.gna.org/svn/relax/trunk relax_trunk</source>}}
=== Compilation of the C modules ===
For the {{:R1 }} and {{:R2 }} and relaxation dispersion analyses, the relax C modules must be compiled. This is done using the scons program, by simply typing:
<source lang="bash">
cd relax_trunk
</source>
== TEST INSTALLATION Test installation =={{caution|After an installation you should really run an [[Installation_test]].}}
== Trouble shooting ==
gconftool-2 --get /desktop/gnome/interface/menus_have_icons
gconftool-2 --type boolean --set /desktop/gnome/interface/menus_have_icons true
 
For GNOME 3
# Get schemas
gsettings list-schemas
gsettings list-schemas | grep org.gnome.desktop
gsettings list-schemas | grep org.gnome.desktop.interface
 
# Get keys
gsettings list-keys org.gnome.desktop.interface
gsettings list-keys org.gnome.desktop.interface | grep icon
gsettings list-keys org.gnome.desktop.interface | grep desktop
 
# Get value
gsettings get org.gnome.desktop.interface icon-theme
 
# https://wiki.archlinux.org/index.php/GNOME/Tips_and_tricks#Enable_button_and_menu_icons
# Since GTK+ 3.10, the GSettings key 'menus-have-icons' has been deprecated. Icons in buttons and menus can still be enabled by setting the following overrides:
gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "{'Gtk/ButtonImages': <1>, 'Gtk/MenuImages': <1>}"
 
# Check
gsettings list-keys org.gnome.settings-daemon.plugins.xsettings
gsettings get org.gnome.settings-daemon.plugins.xsettings overrides
== See also ==
[[Category:Installation]]
Trusted, Bureaucrats
4,223

edits