Tuesday, 13 November 2012

Ubuntu - adding and removing ppas

Install

sudo apt-add-repository ppa:user/repository 

Uninstall

sudo apt-add-repository -r ppa:user/repository

Monday, 12 November 2012

Scid vs PC installation guide - Ubuntu (Mint, Debian etc.)

Scid vs PC

Scid vs PC is definitely the best and most comprehensive chess software for Linux.  Unfortunately I struggled quite a bit to get it up and running.

Before I start: You might prefer to watch the video. Otherwise keep on reading.


Open a terminal and execute the following commands

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

Now make sure you got both tcl8.5-dev and tk8.5-dev installed

sudo apt-get install tcl8.5-dev tcl8.5
sudo apt-get install tk8.5-dev tk8.5

Some users are reporting problems on Ubuntu 14.04.
sudo apt-get install tcl8.6-dev tcl8.6
sudo apt-get install tk8.6-dev tk8.6 libgcj15-dev

The 'x' refers to the current release: e.g. 4.9.tgz
download scid vs pc: http://sourceforge.net/projects/scidvspc/files/source/scid_vs_pc-4.9.tgz/download
tar -xzf scid_vs_pc-4.xx.tgz
cd scid_vs_pc-4.x 
sudo auto-apt run ./configure
sudo auto-apt run make
sudo auto-apt run make install
This should work. If you encounter any problems, please let me know.

Kernel driver not installed (rc=-1908) - Ubuntu 12.10 (Virtualbox)

try this:


sudo apt-get install linux-headers-3.5.0-17-generic
sudo apt-get remove virtualbox-dkms
sudo apt-get install virtualbox-dkms

How to download a portion of Youtube Video with youtube-dl

First make you have both youtube-dl and ffmpeg installed: sudo apt install youtube-dl ffmpeg Then download a portion of your desired...