|
The most straightforward way to obtain the newest version of the Linux edition of Praat is to download Praat from this page. Click on the appropriate compressed archive:
Unpack with gunzip and tar xvf. This will create the executable file praat. You can remove the tar file.
You could also simply do sudo apt install praat if you are on Ubuntu, although you may obtain a years-old version. Or you may get Praat from Debian, or compile it yourself (64-bit or 32-bit) from the source code.Praat will work fine wherever it is on your disk; just type ./praat into a terminal window.
If Praat doesn’t start immediately (i.e. it may complain about missing .so
files),
then you may have to install one or more standard (system or audio) libraries on which Praat depends:
sudo apt install libc++1 # the C++ standard library
sudo apt install libgtk-3-0 # the graphics toolkit
sudo apt install libpulse0 # the Pulse audio server
sudo apt install libasound2 # the ALSA audio library
sudo apt install libjack0 # the Jack audio library
sudo apt install libcanberra-gtk-module # needed only if your system complains about missing this
or click the icon.
If you use Praat for the first time, choose Intro from the Help menu.
If you want to see good phonetic characters, you have to install the Charis SIL and Doulos SIL fonts, for instance from the packages fonts-sil-charis and fonts-sil-doulos on Debian or Ubuntu:
sudo apt install fonts-sil-charis
sudo apt install fonts-sil-doulos
If you cannot install those packages, you can download the two fonts from Summer Institute of Linguistics and follow the installation instructions there.
To run Praat from a terminal window, write a Praat script and specify that script on the command line, optionally with arguments, e.g.:
praat --run playsinewave.praat 377 0.9
For details see Calling from the command line in the Scripting manual.
1. Sound not working?
Audio on Linux is notoriously fragile. Praat either uses PulseAudio or Alsa, and you choose between these with Praat -> Preferences -> Sound playing preferences. If neither option works, the Ubuntu website suggests 16 steps that you may try to get audio to work.
Praat is included in the Debian distribution. To install Praat on your Debian computer, do
aptitude install praat
The Debian package includes a praat-open-files
command that allows opening files from the command line inside a Praat
process that is already running.
Recent upstream versions of the Praat package backported to the stable and testing distributions of Debian are available in an APT repository.