
{"id":34060,"date":"2021-06-26T15:50:42","date_gmt":"2021-06-26T15:50:42","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=34060"},"modified":"2022-05-13T09:31:17","modified_gmt":"2022-05-13T09:31:17","slug":"install-audacity-3-from-ppa-ubuntu-20-04","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2021\/06\/install-audacity-3-from-ppa-ubuntu-20-04\/","title":{"rendered":"Install Audacity 3.0.2 From PPA in Ubuntu 20.04, Ubuntu 21.04"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/06\/audacity-icon.png\" alt=\"\" width=\"250\" height=\"250\" class=\"alignleft size-full wp-image-34062\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/06\/audacity-icon.png 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/06\/audacity-icon-150x150.png 150w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/p>\n<p>Audacity audio editor and recorder is easy to install in Ubuntu Software via Snap package. For those prefer the classic <i>deb<\/i> package, the Ubuntu PPA has updated for the latest Audacity 3.0.2.<\/p>\n<p>Since Audacity 3.0, it requires the development branch of wxWidgets toolkit 3.1.x. However, Ubuntu provides only the stable v3.0 series packages. <\/p>\n<p>Thanks to <a href=\"https:\/\/launchpad.net\/~pmjdebruijn\" rel=\"noopener\" target=\"_blank\">Pascal de Bruijn<\/a>, I&#8217;ve successfully built <a href=\"https:\/\/github.com\/audacity\/wxWidgets\" rel=\"noopener\" target=\"_blank\">wxWidgets 3.1.3 for Audacity<\/a>. So the audio editor packages updated for <b>Ubuntu 18.04<\/b>, <b>Ubuntu 20.04<\/b>, <b>Ubuntu 21.04<\/b>, and <b>Linux Mint 20<\/b>.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/06\/audacity-wxwidget31.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/06\/audacity-wxwidget31-600x368.jpg\" alt=\"\" width=\"600\" height=\"368\" class=\"aligncenter size-large wp-image-34063\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/06\/audacity-wxwidget31-600x368.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/06\/audacity-wxwidget31-300x184.jpg 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/06\/audacity-wxwidget31-768x471.jpg 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/06\/audacity-wxwidget31.jpg 1139w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<h3>Known issues:<\/h3>\n<p>There are however known issues in the PPA build. When starting Audacity in Ubuntu 21.04 or Linux Mint 20, it will popup &#8220;<i><b>An assertion failed<\/b><\/i>&#8221; dialog, which indicates:<\/p>\n<blockquote><p>.\/src\/widgets\/FileConfig.cpp(98): assert &#8220;mDirty == false&#8221; failed in ~FileConfig().<\/p><\/blockquote>\n<p>Just click on &#8220;<b>continue<\/b>&#8221; button, and the software should start.<\/p>\n<p>Another issue is that the app window slow to open. It takes a few seconds to start due to AlSA issues and warning. However, <i><b>it works once app window opens!<\/b><\/i><\/p>\n<h3>Install Audacity 3.0.2 via PPA:<\/h3>\n<p>Open terminal either from system application menu or by pressing <b>Ctrl+Alt+T<\/b> on keyboard. When terminal opens, run following commands one by one:<\/p>\n<p><b>1.)<\/b> Run command in terminal to add the <a href=\"https:\/\/launchpad.net\/~ubuntuhandbook1\/+archive\/ubuntu\/audacity\" rel=\"noopener\" target=\"_blank\">Ubuntu PPA<\/a>: <\/p>\n<pre style=\"border:none;\">sudo add-apt-repository ppa:ubuntuhandbook1\/audacity<\/pre>\n<p><i>Type user password (no asterisk feedback due to security reason) when it prompts and hit Enter to continue.<\/i><\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/06\/audacity-ppa-focal.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/06\/audacity-ppa-focal-600x224.jpg\" alt=\"\" width=\"600\" height=\"224\" class=\"aligncenter size-large wp-image-34066\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/06\/audacity-ppa-focal-600x224.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/06\/audacity-ppa-focal-300x112.jpg 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/06\/audacity-ppa-focal.jpg 754w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p><b>2.<\/b> Then either upgrade from an old release (if exist) via Software Updater, or run following commands one by one to check updates and install (or upgrade) audacity 3.0.2:<\/p>\n<pre style=\"border:none;\">sudo apt update\r\n\r\nsudo apt install audacity<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/06\/apt-audacity-focal.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/06\/apt-audacity-focal-600x262.jpg\" alt=\"\" width=\"600\" height=\"262\" class=\"aligncenter size-large wp-image-34065\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/06\/apt-audacity-focal-600x262.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/06\/apt-audacity-focal-300x131.jpg 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/06\/apt-audacity-focal.jpg 754w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p><b>Uninstall:<\/b><\/p>\n<p>To remove the PPA repository, launch <b>Software &#038; Updates<\/b> utility and remove relevant line under &#8216;Other Software&#8217; tab. Or simply run command in terminal:<\/p>\n<pre style=\"border:none;\">sudo add-apt-repository --remove ppa:ubuntuhandbook1\/audacity<\/pre>\n<p>To remove Audacity audio software, either use system package manager or run command in terminal:<\/p>\n<pre style=\"border:none;\">sudo apt-get remove --autoremove audacity audacity-data<\/pre>","protected":false},"excerpt":{"rendered":"<p>Audacity audio editor and recorder is easy to install in Ubuntu Software via Snap package. For those prefer the classic deb package, the Ubuntu PPA has updated for the latest Audacity 3.0.2. Since Audacity 3.0, it requires the development branch of wxWidgets toolkit 3.1.x. However, Ubuntu provides only the stable v3.0 series packages. Thanks to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":34061,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[576],"class_list":["post-34060","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-audacity"],"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/34060","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=34060"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/34060\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/34061"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=34060"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=34060"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=34060"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}