树莓派3B安装Dueros

23.4cf9eba9eca87fde56a164fc081a2ec3.2592000.1505394565.4010134393-10011615
https://openapi.baidu.com/oauth/2.0/authorize?client_id=KFbzgU7xDW1jw8rdXCEl90GG7ofRYvgf&response_type=token&redirect_uri=oob

sudo apt-get install sox
sudo apt-get install libsox-fmt-mp3
sudo apt-get install libasound2 libasound2-dev alsa-utils
sudo apt-get install python
sudo apt-get install libatlas-base-dev
sudo apt-get install libatlas-dev

#### build mplayer, raspberrypi的仓库里面没有
sudo apt-get install libmpg123-dev
wget http://www.mplayerhq.hu/MPlayer/releases/MPlayer-1.3.0.tar.xz
tar xvf MPlayer-1.3.0.tar.xz
cd MPlayer-1.3.0
./configure;
make
sudo make install
cd –

#### build libiconv, raspberrypi的仓库里没有
wget https://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.15.tar.gz
tar xzvf libiconv-1.15.tar.gz
cd libiconv-1.15
./configure –prefix=/usr
make
sudo make install
cd –

#### 使用nvm 安装node
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash
. ~/.bashrc
nvm install –lts
nvm use –lts

赞 (0) 评论 分享 ()