Install Mathematica
Install
avahi-daemon
service is needed.
sudo systemctl enable --now avahi-daemon
- two commnads
hostname
andegrep
can’t work in Arch Linux.
- /usr/local/bin/hostname
#!/bin/bash
hostnamectl hostname "$@"
- make two scripts executable
sudo chmod +x /usr/local/bin/hostname
- install
sudo sh Mathematica_12.3.1_LINUX_CN.sh
Path
- The default installation directory is
/usr/local/Wolfram/Mathematica/12.3
. - The default scripts directory is
/usr/local/bin
. I change it tousr/local/bin/Wolfram
.