Das Ubuntu Software Center hat eine ältere Version und beim Herunterladen von Audacity von der Website wurde mir ein Ordner angezeigt, der anscheinend keine Binärdatei zum Starten des Programms enthält. Wie installiere ich Version 2.1.0 in Ubuntu 14.10?
Antwort1
Führen Sie diese Befehle in einem Terminal aus
sudo add-apt-repository ppa:ubuntuhandbook1/audacity
sudo apt-get update
sudo apt-get install audacity
Quelle:http://ubuntuhandbook.org/index.php/2015/04/install-audacity-audio-editor-2-1-0-in-ubuntu-from-ppa/
Antwort2
Sie müssen Audacity aus dem Quellcode kompilieren. Die Datei „README.txt“ im Paket 2.1.0 besagt Folgendes:
Zum Kompilieren unter Linux, Mac OS X und anderen Unix-Systemen führen Sie diese Befehle aus:
./configure make make install # as root
Wenn Sie diese Befehle ausführen, sollte Audacity 2.1.0 auf Ihrem System installiert werden, vorausgesetzt, Sie verfügen über die erforderlichen Abhängigkeiten zum Kompilieren und Installieren. DieAudacity-QuellenschmiedeSeite besagt:
Abhängigkeiten
Die wxWidgets-Bibliothek ist erforderlich. Audacity 2.1.0 erfordert wxGTK 2.8.12. Die libsndfile-Bibliothek ist ebenfalls erforderlich und in Audacity enthalten, das von SVN bezogen wird. Die Installation anderer Bibliotheken ist optional.
CMake wird zum Erstellen von libsoxr benötigt, das mittlerweile die Standard-Resampling-Bibliothek von Audacity ist.
Ubuntu sollte bereits über die erforderlichen Abhängigkeiten für Audacity verfügen, Sie benötigen jedoch Entwicklungspakete zum Kompilieren. Sie könnten dies manuell tun, apt-get install
aber da Audacity bereits in den Ubuntu-Repositorys vorhanden ist, können wir apt-get build-dep audacity
alle erforderlichen Entwicklungspakete für uns installieren.
Jetzt müssen Sie Audacity nur noch wie in der Readme-Datei beschrieben konfigurieren, erstellen und installieren.
Antwort3
Mit diesen Schritten kompilieren Sie Audacity auf Ubuntu 20.04
... sehenhttps://wiki.audacityteam.org/wiki/Building_On_Linux
vorläufige Installation von Conan https://conan.io/downloads.html
Laden Sie das Deb über den obigen Link herunter und installieren Sie es mit
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)
FERTIG, also lasst es uns jetzt starten
~/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
Bonus ... wenn Sie diese Popup-Nachricht vermeiden möchten
Projekt vor dem Schließen speichern
Beim Schließen von Audacity können wir den Code bearbeiten und neu kompilieren:
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
Suchen Sie in Ihrem Editor nach der Zeichenfolge „Projekt speichern“, bevor Sie es schließen
depending on your source code version prior releases had this
alt wenn (!sbSkipPromptingForSave
neu sbSkipPromptingForSave = true; wenn (!sbSkipPromptingForSave
current audacity release 3.2.x have this
altes bool ProjectManager::sbSkipPromptingForSave = false;
neuer bool ProjectManager::sbSkipPromptingForSave = true;
OK, jetzt Datei speichern und neu kompilieren
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