[math][mathematica] archlinux 下 mathematica 的安裝 (科學計算軟件 mathematica/matlab/sagemath)

 

ONLINE: http://www.wolframalpha.com/php

GPL: segamath: http://www.sagemath.org/html

famous and not free: linux

  mathematica: http://www.wolfram.com/mathematica/?source=navgit

  matlab: https://cn.mathworks.com/products/matlab.html  github

  來自網絡的評價: mathematica很學院很嚴謹很漂亮. matlab很實用很強大很工程可是不優美.   比如lisp與C的區別.shell

GUN:windows

  https://www.gnu.org/software/octave/網絡

  兼容matlab語法.ide

 

秉持着少走彎路(GUN/GPL老是bug比較多的--!!!), 不怕盜版(  whatever no free ), 好看最重要. 的三個原則.工具

首選 mathematica 來作入門嘗試, 並且比較上學的時候學過. 固然學過也等於沒學過......

 

https://wiki.archlinux.org/index.php/Mathematica

 

安裝:

/home/tong [tong@T7] [10:24]
> yaourt -S mathematica 

 

這樣裝是很差使的.

1.

到AUR下載下來 PKGBUILD文件, 打開看會發現須要一個Mathematica_11.2.0_LINUX.sh的安裝腳本.

https://aur.archlinux.org/packages/mathematica/

2.

到官方網站註冊賬號, 能夠申請下載免費的試用版本, 也就是那個.sh, 共4.5GB

https://www.wolfram.com/mathematica/trial/

 

3.  安裝

  仍是yaourt, 把PKGBUILD改一改, 讓他找到sh腳本, 再也不贅述.

  以後, 定然安裝成功.

  方法二: 手動安裝 (其實是由於我PKGBUILD沒改對, 因此沒成功....)  

/home/tong/makepkg/mathematica [tong@T7] [11:48]
>wget https://aur.archlinux.org/cgit/aur.git/snapshot/mathematica.tar.gz
/home/tong/makepkg/mathematica [tong@T7] [11:48]
> ln -s ../../Software/Mathematica_11.2.0/Mathematica_11.2.0_LINUX.sh Mathematica_11.2.0_LINUX.sh
/home/tong/makepkg/mathematica [tong@T7] [11:48]
> makepkg

 

做爲以後, 會在當前目錄生成安裝包:

/home/tong/makepkg/mathematica [tong@T7] [11:52]
> ls
mathematica-11.2.0-1-x86_64.pkg.tar  Mathematica_11.2.0_LINUX.sh  pkg  PKGBUILD  src

 

用pacman安裝, 居然有8個G這麼大...

/home/tong/makepkg/mathematica [tong@T7] [11:54]
> sudo pacman -U mathematica-11.2.0-1-x86_64.pkg.tar
loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) mathematica-11.2.0-1

Total Installed Size:  8116.28 MiB

至此, 安裝成功:

 進入下一步, 激活....

 

4. 破解, 固然我但願你們都去支持正版.... (捂臉)

  簡單的說, 就是用個windows下的註冊機, 拿到註冊碼, 就能夠了, 方法以下:

  如此好的教程, 怒轉 https://tiebamma.github.io/InstallTutorial/

  http://tieba.baidu.com/p/4024190694

  

  第一次執行 mathematica 以後會要求系列碼, 這時點擊左下角的 "使用其餘方式激活" -> "手動激活", 這是能看見一排數字 "MathID"

  將它們輸入到keygen中,  會產生 activation key 和 password.

  

  輸入到mathematica中, 即完成激活.

 

最後, 免費贈送一篇, 入門教程.

http://www.guokr.com/post/568105/  

 

--------------------------------------   更新兩個問題  --------------------------------

1.  安裝過程當中, 根目錄下新建了一個文件夾  'Wolfram Mathematica'

這很醜, 放在這個地方, 那麼怎麼改了它呢. 首先他是由xdg決定的.

Mathematica 11 automatically creates a document folder 'Wolfram Mathematica' in $UserDocumentsDirectory, which is set by Mathematica according to XDG user directories.

再看xdg, 有一個工具包能夠自動設置,xdg-user-dirs , 安裝它

/home/tong [tong@T7] [18:09]
> sudo pacman -S xdg-user-dirs

運行以後, 產生以下效果:

/home/tong [tong@T7] [18:18]
> xdg-user-dirs-update                                               

/home/tong [tong@T7] [18:18]
> cat .config/user-dirs.dirs 
# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
# 
XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_TEMPLATES_DIR="$HOME/Templates"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_MUSIC_DIR="$HOME/Music"
XDG_PICTURES_DIR="$HOME/Pictures"
XDG_VIDEOS_DIR="$HOME/Videos"

 

2. fcitx輸入法不能使用, 也就是說不能輸入中文.

fixed @2017-11-08 

[daily][mathematica][fcitx] mathematica 沒法輸入中文的問題

相關文章
相關標籤/搜索