Saturday, October 18, 2014

Install ChromeDriver and PhantomJS on Ubuntu

http://yizeng.me/2014/04/20/install-chromedriver-and-phantomjs-on-linux-mint/

Install ChromeDriver

  1. Install unzip
    sudo apt-get install unzip
    
  2. Download latest version from official website and upzip it (here for instance, to ~/Downloads)
    wget -N http://chromedriver.storage.googleapis.com/2.9/chromedriver_linux64.zip -P ~/Downloads
    unzip ~/Downloads/chromedriver_linux64.zip -d ~/Downloads
    
  3. Make it executable and move to /usr/local/share
    chmod +x ~/Downloads/chromedriver
    sudo mv -f ~/Downloads/chromedriver /usr/local/share/chromedriver
    
  4. Create symbolic links
    sudo ln -s /usr/local/share/chromedriver /usr/local/bin/chromedriver
    sudo ln -s /usr/local/share/chromedriver /usr/bin/chromedriver
    

Install PhantomJS

  1. Download latest version from official website and extract it (here for instance, to ~/Downloads)
    wget -N https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.7-linux-x86_64.tar.bz2 -P ~/Downloads
    tar xjf ~/Downloads/phantomjs-1.9.7-linux-x86_64.tar.bz2 -C ~/Downloads
    
  2. Move the folder to /usr/local/share
    sudo mv -f ~/Downloads/phantomjs-1.9.7-linux-x86_64 /usr/local/share/phantomjs-1.9.7-linux-x86_64
    
  3. Create symbolic links
    sudo ln -s /usr/local/share/phantomjs-1.9.7-linux-x86_64/bin/phantomjs /usr/local/bin/phantomjs
    sudo ln -s /usr/local/share/phantomjs-1.9.7-linux-x86_64/bin/phantomjs /usr/bin/phantomjs

Thursday, October 2, 2014

Install SCID vs PC on Ubuntu

sudo apt-get install auto-apt
sudo auto-apt update-local
sudo auto-apt update
sudo auto-apt updatedb

download and install 'Scid vs PC'

wget http://sourceforge.net/projects/scidvspc/files/latest/download
tar -xzf scid_vs_pc-4.12.tgz
cd scid_vs_pc-4.12

sudo auto-apt run ./configure
sudo auto-apt run make
sudo auto-apt run make install

start the program type 'scid'