LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 01-09-2021, 09:18 AM   #1
Shaggy1
Member
 
Registered: Oct 2010
Posts: 111

Rep: Reputation: 3
How to install audacity on centos 8


System info:

Code:
$ cat /etc/centos-release
CentOS Linux release 8.3.2011

$ uname -a
Linux localhost.localdomain 4.18.0-240.1.1.el8_3.x86_64 #1 SMP Thu Nov 19 17:20:08 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
--------------------------

Hi

I tried to install audacity by following the instructions on this link:
https://www.how2shout.com/how-to/how...n_on_CentOS_87

which tells you to install snap, then use that to install audacity.

All seemed to go well, but when I try to run audacity I get the following error:
Code:
$ audacity
Warning: GTK2 does not support Wayland!
Trying to route ALSA through PulseAudio...
Gtk-Message: 15:01:34.948: Failed to load module "pk-gtk-module"
The first time I did it a warning dialog with an exclamation mark in a triangle comes up with a message, which I did not manage to capture (after the first time it did not repeat), and an option to 'Wait' or 'Cancel'.

When I waited long enough the audacity window came up after a while with further errors spat out at the command line:
Code:
$ audacity
Warning: GTK2 does not support Wayland!
Trying to route ALSA through PulseAudio...
Gtk-Message: 15:05:38.709: Failed to load module "pk-gtk-module"
ALSA lib control.c:1373:(snd_ctl_open_noupdate) Invalid CTL hw:0
ALSA lib control.c:1373:(snd_ctl_open_noupdate) Invalid CTL hw:1
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
ALSA lib seq.c:935:(snd_seq_open_noupdate) Unknown SEQ default
ALSA lib control.c:1373:(snd_ctl_open_noupdate) Invalid CTL hw:0
ALSA lib control.c:1373:(snd_ctl_open_noupdate) Invalid CTL hw:0
Expression 'stream->capture.pcm' failed in '/build/audacity/parts/audacity/src/lib-src/portaudio-v19/src/hostapi/alsa/pa_linux_alsa.c', line: 4611
ALSA lib control.c:1373:(snd_ctl_open_noupdate) Invalid CTL hw:0
ALSA lib control.c:1373:(snd_ctl_open_noupdate) Invalid CTL hw:0
Can anyone tell me if this is the correct way to install audacity on centos 8 ?

Does anyone know what these errors mean ? It looks like I have some dependencies missing (though the audacity app still comes up - I have not tried to use it yet).
 
Old 01-09-2021, 09:22 AM   #2
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
Well, why go down the Snap route at all? Audacity 2.3.3 is provided by EPEL8 repo, and their version is linked against GTK3.
Code:
sudo dnf --enablerepo=extras install epel-release
sudo dnf -y --refresh upgrade
sudo dnf install audacity
Or it absolutely must be the latest version? Even then, for CentOS, I'd choose Flatpak over Snap.

Last edited by shruggy; 01-09-2021 at 09:44 AM.
 
Old 01-10-2021, 04:24 AM   #3
Shaggy1
Member
 
Registered: Oct 2010
Posts: 111

Original Poster
Rep: Reputation: 3
Re: How to install audacity on centos 8

Thank you very much for the reply.

I think I was mis-led by the fact that almost all my searches indicated that snap should be used to install audacity on centos, combined with the the fact that attempting to use dnf came back with No packages available.

I should get into the habit of upgrading before trying to install - and yes, after that, the install worked.

Apologies for the spam.

I did not know about flathub, so thank you for the tip there.
 
  


Reply

Tags
audacity, centos8



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Audacity playback is way too fast - slackware current, audacity 2.4.1/2.4.2 Ook Slackware 11 01-01-2021 08:10 AM
Cannot run Audacity : "Audacity is already running" tuanito Linux - Software 8 03-17-2016 02:05 PM
Audacity install rogk Linux - Newbie 5 04-06-2006 04:52 PM
sound is off with audacity install bosewicht Linux - Newbie 0 04-10-2004 10:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 04:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration