Ask Your Question
1

How do I install Praat on Fedora?

asked 2017-03-14 10:16:12 -0500

denielbori gravatar image

Hello world! I am new to Fedora and have installed Fedora 25 on my laptop. I don't have any knowledge about commands but am eager to learn them. But for now, please tell me how to install Praat, a software mostly used by language researchers to do phonetics by computer. I have downloaded the tar.gz file on my laptop but don't know how to install it. The site http://www.praat.org also doesn't show much of the installation process.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2017-03-14 11:50:25 -0500

hhlp gravatar image

updated 2017-03-14 17:10:44 -0500

  1. Downloading the Linux edition

64-bit edition: praat6026_linux64.tar.gz (2 March 2017; 7.0 MB)

32-bit edition: praat6026_linux32.tar.gz (2 March 2017; 8.8 MB)

Unpack with gunzip and tar xvf. This will create the executable file praat. or just use doble click and extract here in NAUTILUS

  1. Do I need the 64-bit edition or the 32-bit edition?

That depends on your operating system: if you have a 64-bit Linux, use the 64-bit edition, and if you have a 32-bit Linux, use the 32-bit edition. However, Praat's 64-bit edition can work with much larger sound files than the 32-bit edition and is not restricted to having 2 GB in its memory, so if you are still using a 32-bit operating system, consider upgrading to a 64-bit operating system if your computer supports it.

  1. How to start

Praat will work fine wherever it is on your disk; just type praat or click the icon. If you use Praat for the first time, choose Intro from the Help menu.

NOTE : Taken from this -> praat

Additional Step if you want : you can also move to opt directory

sudo mv praat6026_linux64 /opt/praat     ====> for 64 bits
sudo mv praat6026_linux32 /opt/praat     ====> for 32 bits

then create a desktop for gnome-shell :

open a terminal an execute :

nano .local/share/applications/praat.desktop

and paste this content there :

#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Type=Application
Name=Praat
Icon=/opt/praat/praat.png  <== *change this if you find any icon for Praat*
Exec="/opt/praat/praat" %f
Comment=write here a good description of praat 
Categories=IDE;
Terminal=false
StartupWMClass=Praat

and you can access trougth gnome-shell activities....

Regards.,

edit flag offensive delete link more

Comments

Thanks for the answer but this is what I got

$ cd Downloads
$ ls
praat6026_linux32.tar.gz
praat6026_linux64.tar.gz
$ tar -xvzf praat6026_linux64.tar.gz
praat
$ sudo mv praat6026_linux64 /opt/praat
**mv: cannot stat 'praat6026_linux64': No such file or directory**
$
denielbori gravatar imagedenielbori ( 2017-03-14 14:43:56 -0500 )edit

On my system, after decompressing, the program is simply named praat. Try $ sudo mv praat /opt/praat.

Entropy813 gravatar imageEntropy813 ( 2017-03-14 15:08:29 -0500 )edit

@denielbori try to descompress with nautilus gui

hhlp gravatar imagehhlp ( 2017-03-14 17:07:46 -0500 )edit
0

answered 2017-03-14 12:03:23 -0500

Entropy813 gravatar image

Welcome to Fedora!

This particular program seems to be distributed as precompiled binaries. To "install", simply click on the linux download link on the website you linked, and then click on the 64-bit or 32-bit link depending on your system (if you downloaded the standard workstation version of Fedora, you want the 64-bit version). Make sure to save the file to your disk (i.e. in Firefox select "Save File" in the pop-up menu). By default it should end up in your Downloads directory. Open a terminal window and type

$ cd ~/Downloads

(Note: Don't type the $, it just indicates that you enter the command in a terminal. Only type what follows the $). Then type

$ tar -xvzf praat6026_linux64.tar.gz

After that you can run the program simply by typing

$ ./praat

However, this is not the most convenient as you'd always have to have your terminal pointed to Downloads before running the software. To fix this, make a new directory called 'bin' in your home directory and move the program there

$ cd ~
$ mkdir bin
$ mv Downloads/praat bin

The program can now be launched by simply typing $ praat in any terminal window regardless of the current directory. This is useful it you are processing/creating files with the program and want to keep them in a special directory.

Hope this helps!

edit flag offensive delete link more

Comments

./praat didn't work

denielbori gravatar imagedenielbori ( 2017-03-14 14:44:17 -0500 )edit

It will only work from inside the directory where praat currently resides. Is there an error message in the terminal when running the command?

Entropy813 gravatar imageEntropy813 ( 2017-03-14 15:09:27 -0500 )edit

This was shown:

[...@.. ~]$ cd bin
[...@.. bin]$ ./praat
bash: ./praat: cannot execute binary file: Exec format error
[...@.. bin]$
denielbori gravatar imagedenielbori ( 2017-03-14 15:26:20 -0500 )edit

Is it possible that you are running the 32 bit version of Fedora? enter

$ uname -m

in a terminal window. If it says i686, then you have the 32-bit version, and will need to use the corresponding version of praat.

Entropy813 gravatar imageEntropy813 ( 2017-03-14 16:31:54 -0500 )edit

Question Tools

Stats

Asked: 2017-03-14 10:16:12 -0500

Seen: 316 times

Last updated: Mar 14 '17