On 2019-12-15 15:01, Samuel Sieb wrote:
On 12/14/19 4:38 PM, Tom Horsley wrote:
> I have no idea why things like blender depend on modules junk.
Strange. This is one of my computers:
# cat /etc/fedora-release
Fedora release 31 (Thirty One)
# rpm -q blender
blender-2.81-2.fc31.x86_64
# rpm -q environment-modules
package environment-modules is not installed
Equally "strange"...
[root@f31k ~]# cat /etc/fedora-release
Fedora release 31 (Thirty One)
[root@f31k ~]# rpm -q environment-module blender
package environment-module is not installed
package blender is not installed
[root@f31k ~]# dnf install blender
.
.
.
============================================================
Install 103 Packages
None of which is environment-modules
And, FWIW, on my system
/etc/profile.d/modules.sh is a symlink to /etc/alternatives/modules.sh which is a symlink
to
/usr/share/lmod/lmod/init/profile
And,
[egreshko@meimei profile.d]$ dnf whatprovides /usr/share/lmod/lmod/init/profile
But one has to find the actual file to learn that....
[egreshko@meimei init]$ dnf whatprovides /usr/share/lmod/8.1.17/init/profile
Last metadata expiration check: 0:05:32 ago on Sun 15 Dec 2019 05:50:56 PM CST.
Lmod-8.1.17-3.fc31.x86_64 : Environmental Modules System in Lua
Repo : @System
Matched from:
Filename : /usr/share/lmod/8.1.17/init/profile
--
The key to getting good answers is to ask good questions.