<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi all (and especially Peter),</p>
<p>I have a short question/remark concerning the installation of
McStas 2.7. 1 on Ubuntu (22.04 in my case) <br>
</p>
<p>Following the instructions on:<br>
<a class="moz-txt-link-freetext" href="https://github.com/McStasMcXtrace/McCode/blob/master/INSTALL-McStas-2.x/Linux/debian/README.md">https://github.com/McStasMcXtrace/McCode/blob/master/INSTALL-McStas-2.x/Linux/debian/README.md</a><br>
</p>
<p>The two commands <br>
</p>
<pre style="box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 13.6px; margin-top: 0px; margin-bottom: 0px; overflow-wrap: normal; padding: 16px; overflow: auto; line-height: 1.45; background-color: var(--color-canvas-subtle); border-radius: 6px; word-break: normal; color: rgb(36, 41, 47); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">sudo apt-get install mcstas-suite-python
sudo apt-get install mcstas-suite-python-ng
</pre>
<p></p>
both install McStas 3.1. <br>
<p>To get the 2.7.1 install one can use the command:<br>
</p>
<pre style="margin-top: 0px; margin-right: 0px; margin-bottom: calc(var(--s-prose-spacing) + 0.4em); margin-left: 0px; padding: var(--su12); border: 0px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-weight: 400; font-stretch: inherit; line-height: var(--lh-md); font-family: var(--ff-mono); font-size: var(--fs-body1); vertical-align: baseline; box-sizing: inherit; width: auto; max-height: 600px; overflow: auto; background-color: var(--highlight-bg); border-radius: var(--br-md); overflow-wrap: normal; color: var(--highlight-color); letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"><font size="4"> <font face="Menlo,monospace">sudo apt-get install mcstas-suite-python=2.7.1</font></font>
The downside: during a regular SW-update McStas thinks it is out-dated and installs the (the most current) 3.1. version and the 2.7.1 becomes broken.
To fix it McStas (3.1.) has to be un-installed and 2.7.1 re-installed (with the command as above).
Can this be fixed somehow from your side : i.e. the repository maintainers?
Thanks in advance,
Best,
Richard
</pre>
<p></p>
<div class="moz-signature">-- <br>
<b>Richard Wagner</b><br>
Postdoctoral Research Engineer<br>
Nuclear and Particle Physics Group<br>
Institut Laue-Langevin - ILL<br>
71, avenue des Martyrs<br>
CS 20156<br>
38042 Grenoble Cedex 9<br>
France <br>
<br>
<a href="www.ill.eu"><font color="#3984c6">www.ill.eu</font></a>
<p><br>
</p>
</div>
</body>
</html>