AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题 / 608187
Accepted
Nick Bailuc
Nick Bailuc
Asked: 2015-04-12 15:05:34 +0800 CST2015-04-12 15:05:34 +0800 CST 2015-04-12 15:05:34 +0800 CST

如何安装 Audacity 2.1.0

  • 772

Ubuntu 软件中心有一个旧版本,从网站下载 Audacity 给了我一个似乎没有启动程序的二进制文件的文件夹。如何在 Ubuntu 14.10 中安装 2.1.0 版本?

14.10
  • 3 3 个回答
  • 34700 Views

3 个回答

  • Voted
  1. Sepero
    2015-06-09T01:58:51+08:002015-06-09T01:58:51+08:00

    在终端中运行这些命令

    sudo add-apt-repository ppa:ubuntuhandbook1/audacity
    sudo apt-get update
    sudo apt-get install audacity
    

    来源:http ://ubuntuhandbook.org/index.php/2015/04/install-audacity-audio-editor-2-1-0-in-ubuntu-from-ppa/

    • 15
  2. Best Answer
    Michael Lindman
    2015-04-12T15:19:01+08:002015-04-12T15:19:01+08:00

    您必须从源代码编译 Audacity。作为 2.1.0 包一部分的“README.txt”指出:

    要在 Linux、Mac OS X 和其他 Unix 系统上编译,请执行以下命令:

      ./configure
      make
      make install  # as root
    

    运行这些命令应该将 Audacity 2.1.0 安装到您的系统上,前提是您具有编译和安装它所需的依赖项。Audacity Sourceforge页面指出:

    依赖关系

    wxWidgets 库是必需的。Audacity 2.1.0 需要 wxGTK 2.8.12。libsndfile 库也是必需的,它包含在从 SVN 获得的 Audacity 中。其他库的安装是可选的。

    需要 CMake 来构建 libsoxr,它现在是 Audacity 默认的重采样库。

    Ubuntu 应该已经具有 Audacity 所需的依赖项,但是您需要开发包才能编译。您可以使用手动执行此操作,apt-get install但因为 Audacity 已经在 Ubuntu 存储库中,我们可以运行apt-get build-dep audacity它来为我们安装所有必需的开发包。

    现在您需要做的就是按照自述文件中的描述配置、制作和安装 Audacity。

    • 0
  3. Scott Stensland
    2022-02-20T04:48:09+08:002022-02-20T04:48:09+08:00

    这些步骤在 Ubuntu 20.04 上编译 audacity

    ...请参阅https://wiki.audacityteam.org/wiki/Building_On_Linux

    初步安装柯南 https://conan.io/downloads.html

    从上面的链接下载它的 deb 然后使用安装它

    sudo apt install ./conan-ubuntu-64.deb 
    
    sudo apt-get build-dep -y   audacity  # now install dependencies 
    
    mkdir -p ~/src/github.com/audacity # create parent dir of git repo 
    
    cd ~/src/github.com/audacity
    
    git clone  [email protected]:audacity/audacity.git
    
    cd ~/src/github.com/audacity/audacity
    
    git submodule update --init
    
    git clone --recurse-submodules   [email protected]:audacity/wxWidgets.git
    
    cd ~/src/github.com/audacity/audacity/wxWidgets/
    
    mkdir buildgtk
    
    cd ~/src/github.com/audacity/audacity/wxWidgets/buildgtk
    
    ../configure --with-cxx=14 --with-gtk=2
    
    sudo make -j$(nproc)  install
    
    sudo ldconfig
    
    cd ~/src/github.com/audacity/audacity
    
    mkdir build
    
    cd build
    
    cmake -DCMAKE_BUILD_TYPE=Release -Daudacity_use_ffmpeg=loaded ..
    
    make -j$(nproc) 
    

    完成,现在让我们启动它

    ~/src/github.com/audacity/audacity/build/bin/Release/audacity  #  execute to confirm it runs OK
    
    
    cd ~/src/github.com/audacity/audacity/build
    
    sudo make -j8 install   #  install binary
    

    奖金......如果你想避免看到那个弹出消息

    关闭前保存项目

    关闭 audacity 时让我们编辑代码并重新编译:

    cd ~/src/github.com/audacity/audacity
    
    grep -r 'Save project before closing' * | grep cpp  #  find source code file which contains offending popup
    
    vi  src/ProjectManager.cpp   #  edit file
    

    在您的编辑器中搜索字符串 Save project before closing

      depending on your source code version prior releases had this 
    

    旧 if (!sbSkipPromptingForSave

    新的 sbSkipPromptingForSave = true; 如果(!sbSkipPromptingForSave

       current audacity release 3.2.x  have this 
    

    old bool ProjectManager::sbSkipPromptingForSave = false;

    new bool ProjectManager::sbSkipPromptingForSave = true;

    好的,现在保存文件并重新编译

    cd ~/src/github.com/audacity/audacity/build  #  now lets recompile
    
    make -j$(nproc)
    
    
    ~/src/github.com/audacity/audacity/build/bin/Release/audacity  #  execute and confirm popup does not happen
    
    
    cd ~/src/github.com/audacity/audacity/build
    
    sudo make -j8 install   #  install binary
    
    • 0

相关问题

  • 阻止“x”的 Viber 图标 [重复]

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve