Skip to content

Commit

Permalink
[doc] Synchronize install page with ctseg and tprf
Browse files Browse the repository at this point in the history
  • Loading branch information
Wentzell committed Oct 1, 2024
1 parent 5503116 commit 94951d3
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions doc/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,32 +5,36 @@
Install CTHYB
*************

Packaged Versions of CTHyb
Packaged Versions of CTHYB
==========================

.. _ubuntu_debian:
Ubuntu Debian packages
----------------------

We provide a Debian package for the Ubuntu LTS Version 22.04 (jammy), which can be installed by following the steps outlined :ref:`here <triqslibs:ubuntu_debian>`, and the subsequent command::
We provide a Debian package for the Ubuntu LTS Version 24.04 (noble).
Please first install TRIQS using the :ref:`Ubuntu Install Instructions<triqslibs:ubuntu_debian>`.
After the TRIQS setup the command::

sudo apt-get install -y triqs_cthyb
sudo apt-get install -y triqs_cthyb

can be used to install the CTSEG package.

.. _anaconda:
Anaconda (experimental)
-----------------------
Anaconda
--------

We provide Linux and OSX packages for the `Anaconda <https://www.anaconda.com/>`_ distribution. The packages are provided through the `conda-forge <https://conda-forge.org/>`_ repositories. After `installing conda <https://docs.conda.io/en/latest/miniconda.html>`_ you can install CTHYB with::

conda install -c conda-forge triqs_cthyb
conda install -c conda-forge triqs_cthyb

See also `github.com/conda-forge/triqs_cthyb-feedstock <https://github.com/conda-forge/triqs_cthyb-feedstock/>`_.

.. _docker:
Docker
------

A Docker image including the latest version of CTHyb is available `here <https://hub.docker.com/r/flatironinstitute/triqs>`_. For more information, please see the page on :ref:`TRIQS Docker <triqslibs:triqs_docker>`.
A Docker image including the latest version of CTHYB is available `here <https://hub.docker.com/r/flatironinstitute/triqs>`_. For more information, please see the page on :ref:`TRIQS Docker <triqslibs:triqs_docker>`.


Compiling CTHYB from source
Expand All @@ -41,7 +45,7 @@ Compiling CTHYB from source
Prerequisites
-------------

#. The :ref:`TRIQS <triqslibs:welcome>` library, see :ref:`TRIQS installation instruction <triqslibs:installation>`.
#. The :ref:`TRIQS <triqslibs:welcome>` library, see :ref:`TRIQS installation instruction <triqslibs:triqs_install>`.
In the following, we assume that TRIQS is installed in the directory ``path_to_triqs``.

#. Optional: The NFFT3 library for non-uniform Fourier transformations https://www-user.tu-chemnitz.de/~potts/nfft/.
Expand Down Expand Up @@ -84,7 +88,7 @@ To use a particular version, go into the directory with the sources, and look at

Checkout the version of the code that you want::

$ git checkout 2.2.0
$ git checkout 3.3.0

and follow steps 2 to 4 above to compile the code.

Expand Down

0 comments on commit 94951d3

Please sign in to comment.