Skip to main content

Installing and building the right whisper.cpp

Cloning the Github repository locally
cd ~
git clone https://github.com/ggerganov/whisper.cpp
cd
Build whisper.cppadditional libraries
sudo apt install -y libsdl2-dev

 

Building whisper-stream
cd ~/whisper.cpp
rm -rf build
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DWHISPER_SDL2=ON
cmake --build build -j
ls -l build/bin/whisper-stream