eGuideDog
free software for the blind

How to Install Ekho (for Linux and Raspberry Pi)

(updated on Nov 1, 2016)

To build from source, following commands will work if you are lucky enough.

$ sudo apt-get install libsndfile1-dev libpulse-dev libncurses5-dev libmp3lame-dev libespeak-dev
$ tar xJvf ekho-xxx.tar.xz
$ cd ekho-xxx
$ ./configure
$ make
$ sudo make install
$ ekho "hello 123"

For Raspberry Pi, please use Ubuntu MATE version since Jessie version has something wrong with PulseAudio.

Please refer to file INSTALL for more information.

If you want to make Ekho work with Speech-dispatcher, which is the API for screen reader like Orca, you should `configure --enable-speechd`.

For usage of ekho, please try:

$ ekho -h

补充一下CENTOS6安装ekho的方法

因为默认CENTOS的GC版本太低,需要升级,当然可以自己源码升级的童鞋就可以忽略了,这里我提供一个解决方案。原文来自https://www.douban.com/note/526035983/?type=rec

具体命令如下:

cd /etc/yum.repos.d
wget http://people.centos.org/tru/devtools-1.1/devtools-1.1.repo
echo 'enaled=1'>> devtools-1.1.repo
yum install -y devtoolset-1.1-gcc devtoolset-1.1-gcc-c++
./configure CC=/opt/centos/devtoolset-1.1/root/usr/bin/gcc CPP=/opt/centos/devtoolset-1.1/root/usr/bin/cpp CXX=/opt/centos/devtoolset-1.1/root/usr/bin/c++
make && make install