A. Ubuntu
Versi ubuntu yg saya pakai adalah Ubuntu 15.04 Vivid Vervet.
copas aja perintah berikut ini. Link Download Ngspice 26
1. Extract file source tarbal ngspice-26.tar.gz yang udah di download. Lalu buka terminal.
2. Pindah directory kerja ke hasil extract tadi.
3. Update repository :
sudo apt-get update
4. Install package gcc compiler dkk :
sudo apt-get install build-essential linux-headers-`uname -r`
5.Install beberapa dependency ngspice :
sudo apt-get install libtool automake autoconf flex bison texinfo libx11-dev libxaw7-dev
6. Install gnu readlines :
sudo apt-get install libreadline-gplv2-dev lib64readline-gplv2-dev
7. Compile sourcenya :
mkdir release && cd release && ../configure --with-x --enable-xspice --disable-debug --enable-cider --with-readline=yes --enable-openmp && make 2>&1 | tee make.log
8. Install hasil compile :
sudo make install
B. Arch
1. Buka terminal dan update pacman.
sudo pacman -Sy
sudo pacman -S ngspice
Semoga Bermanfaat...