Unix & Linux Stack Exchange
Q&A for users of Linux, FreeBSD and other Unix-like operating systems
Latest Questions
1
votes
0
answers
449
views
Error while installing Wolfram-Engine
I'm trying to install [wolfram-engine](https://www.wolfram.com/engine/). However I'm facing some error. After executing `sudo bash WolframEngine_13.1.0_LINUX.sh` I got following: -------------------------------------------------------------------------------------------------------------------------...
I'm trying to install [wolfram-engine](https://www.wolfram.com/engine/) . However I'm facing some error. After executing
sudo bash WolframEngine_13.1.0_LINUX.sh
I got following:
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Wolfram Engine 13.1 Installer
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Copyright (c) 1988-2022 Wolfram Research, Inc. All rights reserved.
WARNING: Wolfram Engine is protected by copyright law and international treaties. Unauthorized reproduction or distribution may result in severe civil and criminal penalties and will be prosecuted to the maximum
extent possible under law.
Enter the installation directory, or press ENTER to select /usr/local/Wolfram/WolframEngine/13.1:
>
The selected directory contains files and/or directories that may be overwritten during installation. If you have any files you wish to keep in this directory, you should exit the installer and move the files to a
separate directory before continuing.
Overwrite directory (y/n)?
> y
Now installing...
[**********************************************************************************************************************************************************************************************************************************]
Type the directory path in which the Wolfram Engine script(s) will be created, or press ENTER to select /usr/local/bin:
>
(1) Overwrite
(2) Rename
(3) Cancel
Type your selection, or press ENTER to select (1):
> 1
NOTE: Unable to determine the package manager used by the system--skipping the install of WolframScript system integration. Installer packages in the RPM and DEB formats have been left in
"/usr/local/Wolfram/WolframEngine/13.1/SystemFiles/Installation". Consult your system documentation on how such packages might be installed.
Installation failed. See /usr/local/Wolfram/WolframEngine/13.1/InstallErrors.
A copy of the previous contents of the directory "/usr/local/Wolfram/WolframEngine/13.1" can be found at "/usr/local/Wolfram/WolframEngine/13.1/BackupDir-216407".
In the .../InstallErrors
, There is nothing more than just warning about egrep
.
$ cat /usr/local/Wolfram/WolframEngine/13.1/InstallErrors
egrep: warning: egrep is obsolescent; using grep -E
egrep: warning: egrep is obsolescent; using grep -E
egrep: warning: egrep is obsolescent; using grep -E
egrep: warning: egrep is obsolescent; using grep -E
egrep: warning: egrep is obsolescent; using grep -E
egrep: warning: egrep is obsolescent; using grep -E
egrep: warning: egrep is obsolescent; using grep -E
egrep: warning: egrep is obsolescent; using grep -E
Garid Z.
(552 rep)
Nov 25, 2022, 07:14 AM
2
votes
0
answers
53
views
Are there different formats for Mathematica Notebooks and how are MIME types defined in them?
I use Mathematica 12.3 on Xubuntu 20.4. The computer runs with German localization. I wondered, why one of my notebooks is displayed with the icon usually used for LibreOfficeWriter documents. In the file browser Thunar, this file is shown having the type "Mathematica-Notebook-Datei". Since I know t...
I use Mathematica 12.3 on Xubuntu 20.4. The computer runs with German localization.
I wondered, why one of my notebooks is displayed with the icon usually used for LibreOfficeWriter documents. In the file browser Thunar, this file is shown having the type "Mathematica-Notebook-Datei".
Since I know that Mathematica notebooks are plain ASCII files, I looked at its very beginning with an ASCII-editor. Before the big
Notebook
expression, it looks like this:
(*CacheID: 234*)
(* Internal cache information:
NotebookFileLineBreakTest
NotebookFileLineBreakTest
NotebookDataPosition[ 0, 0]
NotebookDataLength[ 66787, 1565]
NotebookOptionsPosition[ 59602, 1429]
NotebookOutlinePosition[ 60781, 1460]
CellTagsIndexPosition[ 60738, 1457]
WindowFrame->Normal*)
(* Beginning of Notebook Content *)
I was able to open this notebook im Mma 12.3, mark all its content, copy it to the clipboard, open a new notebook and paste the clipboard there. In the frontend, the new notebook looked like the old one.
After I stored this new notebook under a different name, the usual Mathematica notebook-icon was assigned to it. I could be happy with that. I wonder how I got to the notebook with the wrong icon.
Thunar displayed the type of the new notebook as "Wolfram Notebook" rather than "Mathematica-Notebook-Datei". When looking at the beginning of this new notebook, its content before the big "Notebook" expression looks like this in a plain ASCI editor:
(* Content-type: application/vnd.wolfram.mathematica *)
(*** Wolfram Notebook File ***)
(* http://www.wolfram.com/nb *)
(* CreatedBy='Mathematica 12.3' *)
(*CacheID: 234*)
(* Internal cache information:
NotebookFileLineBreakTest
NotebookFileLineBreakTest
NotebookDataPosition[ 158, 7]
NotebookDataLength[ 66111, 1551]
NotebookOptionsPosition[ 59760, 1436]
NotebookOutlinePosition[ 60263, 1453]
CellTagsIndexPosition[ 60220, 1450]
WindowFrame->Normal*)
(* Beginning of Notebook Content *)
The difference between the two representations is the absence for the header lines before the line (*Cache ID: xxx*)
in the former representation (the one with the wrong icon).
I think I did nothing special with the original notebook. But I am curious, what may have caused the maze.
If there is no disadvantage associated to the stripped format version (the one without the lines before (*CacheID: xxx*)
), would it be possible to use xfce4-mime-settings
to assign the right MIME type to it?
Adalbert Hanßen
(303 rep)
May 7, 2022, 01:13 PM
• Last activity: Jun 12, 2022, 01:56 PM
0
votes
1
answers
210
views
Installing WolframEngine on WSL. Shell script won't run
I'm currently trying to install WolframEngine to Ubuntu 20.04.2 LTS which is Linux Subsystem on my Windows computer. This is a ultimately to be able to use wolframscript from within my WSL command line. I've downloaded the WolframScript from [here][1], and installed it with no problems. However, whe...
I'm currently trying to install WolframEngine to Ubuntu 20.04.2 LTS which is Linux Subsystem on my Windows computer. This is a ultimately to be able to use wolframscript from within my WSL command line. I've downloaded the WolframScript from here , and installed it with no problems. However, when I try to test it, (e.g. running
wolframscript -code 2+2
) I'm prompted with this output:
A WolframKernel location could not be determined.
Use -configure to set WOLFRAMSCRIPT_KERNELPATH.
Alternatively, export WolframKernel=/yourpath/WolframKernel.
If you have no Wolfram product currently installed,
the free Wolfram Engine for developers can be downloaded
at https://www.wolfram.com/engine/ .
I do in fact have a licensed kernal for Wolfram on my computer but since that runs off of Windows, I thought I would install the WolframEngine to my WSL. So I followed the link in the output prompt and downloaded the shell script titled: WolframEngine_12.3.1_LINUX.sh
. I've tried running this script (from multiple locations in my system) but each time I run source WolframEngine_12.3.1_LINUX.sh
. I always get the output
bash: source: WolframEngine_12.3.1_LINUX.sh: cannot execute binary file
I'm not sure why my system can't run the shell script. I'm running it using bash, as that is the shell interpreter for my Ubuntu distro. How can I get my system to run this file so I can start using wolframscript from my command line?
David G.
(197 rep)
Sep 27, 2021, 12:04 AM
• Last activity: Sep 27, 2021, 05:59 AM
1
votes
1
answers
61
views
I ran kdialog from Wolfram Mathematica and it gives a cryptic error
I ran ```RunProcess[{"/usr/bin/kdialog", "--yesno", "Yes?"}]``` in Mathematica on a raspberry pi with kde and it gives me: ``` 127, "StandardOutput" -> "", "StandardError" -> "/usr/bin/kdialog: relocation error: \ /opt/Wolfram/WolframEngine/12.1/SystemFiles/Libraries/Linux-ARM/Qt/\ plugins/platforms...
I ran
[{"/usr/bin/kdialog", "--yesno", "Yes?"}]
in Mathematica on a raspberry pi with kde and it gives me:
127, "StandardOutput" -> "",
"StandardError" ->
"/usr/bin/kdialog: relocation error: \
/opt/Wolfram/WolframEngine/12.1/SystemFiles/Libraries/Linux-ARM/Qt/\
plugins/platforms/../../lib/libQt5XcbQpa.so.5: symbol \
_ZN22QWindowSystemInterface25handleWindowScreenChangedEP7QWindowP7QScr\
een version Qt_5_PRIVATE_API not defined in file libQt5Gui.so.5 with \
link time reference
"|>
The command works fine in Konsole.
Emergency Temporal Shift
(11 rep)
Sep 22, 2020, 03:26 PM
• Last activity: Sep 23, 2020, 01:50 AM
0
votes
0
answers
16
views
mathematica in Konsole can't access last input with keyboard
Here is my configuration :-------------------:: ----------------------------- :-----------/shhOHbmp---:\ OS: Fedora 32 (Thirty Two) x86_64 /-----------omMMMNNNMMD ---: Host: HP EliteBook 840 G5 :-----------sMMMMNMNMP. ---: Kernel: 5.6.15-300.fc32.x86_64 :-----------:MMMdP------- ---\ Uptime: 36 mins...
Here is my configuration
:-------------------:: -----------------------------
:-----------/shhOHbmp---:\ OS: Fedora 32 (Thirty Two) x86_64
/-----------omMMMNNNMMD ---: Host: HP EliteBook 840 G5
:-----------sMMMMNMNMP. ---: Kernel: 5.6.15-300.fc32.x86_64
:-----------:MMMdP------- ---\ Uptime: 36 mins
,------------:MMMd-------- ---: Packages: 6700 (rpm)
:------------:MMMd------- .---: Shell: zsh 5.8
:---- oNMMMMMMMMMNho .----: Resolution: 1920x1080
:-- .+shhhMMMmhhy++ .------/ DE: Plasma
:- -------:MMMd--------------: WM: KWin
:- --------/MMMd-------------; Theme: Breeze Dark [Plasma], Adwaita [GTK2]
:- ------/hMMMy------------: Icons: breeze-dark [Plasma], breeze-dark [GTK2/3]
:-- :dMNdhhdNMMNo------------; Terminal: konsole
:---:sdNMMMMNds:------------: Terminal Font: Monospace 11
:------:://:-------------:: CPU: Intel i7-8550U (8) @ 4.000GHz
:---------------------:// GPU: Intel UHD Graphics 620
I lauched mathematica in konsole, here is what I did to explan you the problem
➜ ~ bmathematica
Mathematica 12.0.0 Kernel for Linux x86 (64-bit)
Copyright 1988-2019 Wolfram Research, Inc.
In:= eq=x^2-1
2
Out= -1 + x
In:= ^[[A
Until Out, everything is fine.
At In, I wanted to use the previous input :In, so I pressed the key "up" and I couldn't retrieve the input. Instead I have this character:
^[[A
It happens with other program like matlab in console or maxima in console.
What is wrong with my configuration ?
Smilia
(312 rep)
Jun 6, 2020, 08:25 PM
0
votes
1
answers
1130
views
Installing a .sh and .sh.part file
I want to install Mathematica 11, a version from my university. I have two files, Mathematica11_1_1_LINUX.sh and Mathematica11_1_1_LINUX.sh.part. What do I have to do in order to install the program?
I want to install Mathematica 11, a version from my university. I have two files, Mathematica11_1_1_LINUX.sh and Mathematica11_1_1_LINUX.sh.part.
What do I have to do in order to install the program?
Valerie D.
(1 rep)
Feb 14, 2018, 09:17 PM
• Last activity: Feb 14, 2018, 10:15 PM
0
votes
1
answers
45
views
Why Mouse Activates 3D Image in non-evaluated NB of Debian Mathematica?
Condition: controlling 3D Image output of test code by mouse cause all CPUs to 100%; differential solutions do not help; no clicking of mouse on image Motivation: to understand why mouse activates 3D Image process even when no evaluation of the notebook in Debian Mathematica Fig. 1 My Desktop where...
Condition: controlling 3D Image output of test code by mouse cause all CPUs to 100%; differential solutions do not help; no clicking of mouse on image
Motivation: to understand why mouse activates 3D Image process even when no evaluation of the notebook in Debian Mathematica
Fig. 1 My Desktop where trying to overlay the figure and delete it causes the CPUs to max; doing
I need the notebook but the object keeps locking its use.
Test code
(* system info for WRI *)
SystemInformation[]
(* http://mathematica.stackexchange.com/q/38305/9815 *)
data = Table[
Exp[-3 (x^2 + y^2 + z^2)], {x, -1., 1, .01}, {y, -1.,
1, .01}, {z, -1., 1, .01}];
Image3D[data, ClipRange -> {{100, 200}, {0, 200}, {100, 200}},
ColorFunction -> Automatic] (* default colour function *)
System characteristics
masi@masi:~$ glxinfo | grep OpenGL
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.5, 256 bits)
OpenGL version string: 3.0 Mesa 10.3.2
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
masi@masi:~$ echo $LD_LIBRARY_PATH
masi@masi:~$
Mathematica startup option as instructed by Wolfram but still unsuccessful output
1. I run
masi@masi:~$ rm .Mathematica/
masi@masi:~$ su
root@masi:/home/masi# rm -r /usr/share/Mathematica/
2. Do clean start
masi@masi:~$ mathematica -cleanstart
3. Get a new university licence for Mathematica and activate
4. Start mathematica with the option
mathematica -mesa
I contacted Wolfram student support with a link to this thread, waiting their answer for three days.
OS: Debian 8.5
Linux kernel: 4.6 of backports set up as described here
Graphics: modesetting set up as described in the thread How Smooth is Upgrading Linux kernel in Debian 8.5?
Mathematica: 11 student edition
Mathematica documentation: How can I address broken 3D graphics on Linux with certain graphics cards
Hardware: Asus Zenbook UX303UA
Differential solutions:
Clear[data]
before that does not help

Clear[data]
, Quit kernel
in Menu *Evaluation*
Léo Léopold Hertz 준영
(7138 rep)
Sep 23, 2016, 05:54 PM
• Last activity: Dec 30, 2016, 01:45 PM
0
votes
1
answers
62
views
Why Blank Output in Debian Mathematica with Intel Graphics?
I am experimenting my Debian 8.5 Intel graphics with Mathematica 11 student edition, and I cannot find a reason why many of the basic graphic objects are blank, although I have cleared (`Clear[pic]`) objects and killed the kernel (`Quit kernel`) from the menu *Evaluation* again and again. Test code...
I am experimenting my Debian 8.5 Intel graphics with Mathematica 11 student edition, and I cannot find a reason why many of the basic graphic objects are blank, although I have cleared (
},
ParametricPlot3D[surf[u, v], {u, -0.4, 0.4}, {v, -0.4, 0.4},
PlotStyle -> Texture[pic], MeshStyle -> Opacity[0.15], Axes -> None,
Boxed -> False, Lighting -> "Neutral"]]
Fig. 1 Blank Output and Expected example on Left-hand-side and Right-hand-side, respectively
OS: Debian 8.5
Linux kernel: 4.6 of backports
Hardware: Asus Zenbook UX303UA
Mathematica: 11
Clear[pic]
) objects and killed the kernel (Quit kernel
) from the menu *Evaluation* again and again.
Test code
pic = Image[{{0., 1., 0.}, {1., 0., 1.}, {0., 1., 0.}}];
(* https://reference.wolfram.com/language/ref/SurfaceData.html > last Neat Example*)
With[{surf =
SurfaceData[Entity["Surface", "PeriodicSurface"],
"ParametricEquations"]

Léo Léopold Hertz 준영
(7138 rep)
Sep 23, 2016, 08:06 PM
• Last activity: Oct 3, 2016, 08:05 PM
Showing page 1 of 8 total questions