sudo apt-get install autoconf automake libtool curl make g++ unzip -y
git clone https://github.com/google/protobuf.git
cd protobuf
git submodule update --init --recursive
./autogen.sh
make
make check
sudo make install
sudo ldconfig
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Useful links | |
| # https://stackoverflow.com/questions/42904441/pipe-sox-play-command-to-stdout | |
| # http://www.zoharbabin.com/how-to-do-noise-reduction-using-ffmpeg-and-sox/ | |
| # Record some noise | |
| sox -t alsa default -b 16 -r 44100 -e signed -t wav - -t wav /tmp/noise.wav | |
| # or alternative with arecord |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| wget https://storage.googleapis.com/golang/go1.11.5.linux-armv6l.tar.gz | |
| sudo tar -C /usr/local -xvf go1.11.5.linux-armv6l.tar.gz | |
| cat >> ~/.bashrc << 'EOF' | |
| export GOPATH=$HOME/go | |
| export PATH=/usr/local/go/bin:$PATH:$GOPATH/bin | |
| EOF | |
| source ~/.bashrc |