diff --git a/download-and-install-Arch.sh b/download-and-install-Arch.sh new file mode 100644 index 0000000..e5d2f0c --- /dev/null +++ b/download-and-install-Arch.sh @@ -0,0 +1,57 @@ +#! /bin/bash +clear +echo DSD-FME Digital Speech Decoder - Florida Man Edition Auto Installer For Arch Linux +echo This will install the required packages, clone, build, and install DSD-FME only. +echo This has been tested on Arch 2023.08.01 and Manjaro XFCE 22.1.3 Minimal. +echo +echo MBELib is considered a requirement on this build. +echo You must view this notice prior to continuing. +echo The Patent Notice can be found at the site below. +echo https://github.com/lwvmobile/mbelib#readme +echo Please confirm that you have viewed the patent notice by entering y below. +echo +echo y/N +read ANSWER +Y='y' +if [[ $Y == $ANSWER ]]; then + +sudo pacman -Syu #always run a full update first, partial upgrades aren't supported in Arch -- including downloading dependencies, that may require an updated dependency, and breaks same dependency on another package, a.k.a, dependency hell +sudo pacman -S libpulse cmake ncurses lapack perl fftw rtl-sdr codec2 base-devel libsndfile git wget + +echo Installing itpp 4.3.1 from Arch Strike --Tested on Arch 2023.08.01 and Manjaro XFCE 22.1.3 Minimal +wget https://mirror.archstrike.org/x86_64/archstrike/itpp-4.3.1-3-x86_64.pkg.tar.xz +sudo pacman -U itpp-4.3.1-3-x86_64.pkg.tar.xz +sudo rm -R itpp-4.3.1-3-x86_64.pkg.tar.xz + +git clone https://github.com/lwvmobile/mbelib +cd mbelib +git checkout ambe_tones +mkdir build +cd build +cmake .. +make -j `nproc` +sudo make install +sudo ldconfig +sudo cp /usr/local/lib/libmbe.so /usr/lib/libmbe.so + +cd .. +cd .. + +git clone https://github.com/lwvmobile/dsd-fme +cd dsd-fme +git checkout audio_work +mkdir build +cd build +cmake .. +make -j `nproc` +sudo make install +sudo ldconfig + +echo Any issues, Please report to either +echo https://github.com/lwvmobile/dsd-fme/issues +echo https://forums.radioreference.com/threads/dsd-fme.438137/ + +else +echo +echo Sorry, you cannot build DSD-FME without acknowledging the Patent Notice. +fi diff --git a/examples/Install_Notes.md b/examples/Install_Notes.md index 9333f19..4c0f0ad 100644 --- a/examples/Install_Notes.md +++ b/examples/Install_Notes.md @@ -11,8 +11,18 @@ wget https://raw.githubusercontent.com/lwvmobile/dsd-fme/main/download-and-insta chmod +x download-and-install.sh ./download-and-install.sh ``` -f -If you have dependencies already installed (i.e. need a fresh clean install on a system with DSD-FME already or using system other than Debian/Ubuntu, etc), please run this instead: + +### Arch Based Distros: + +``` +wget https://raw.githubusercontent.com/lwvmobile/dsd-fme/audio_work/download-and-install-Arch.sh +chmod +x download-and-install-Arch.sh +./download-and-install-Arch.sh +``` + +### Other: + +If you have dependencies already installed, please run this instead: ``` wget https://raw.githubusercontent.com/lwvmobile/dsd-fme/main/download-and-install-nodeps.sh @@ -31,11 +41,22 @@ sudo apt update sudo apt install libpulse-dev pavucontrol libsndfile1-dev libfftw3-dev liblapack-dev socat libusb-1.0-0-dev libncurses5 libncurses5-dev rtl-sdr librtlsdr-dev libusb-1.0-0-dev cmake git wget make build-essential libitpp-dev libncursesw5-dev libcodec2-dev ``` -Fedora (Recent Releases) -- from https://github.com/lwvmobile/dsd-fme/issues/99 +Fedora 36/37 -- from https://github.com/lwvmobile/dsd-fme/issues/99 ``` +sudo dnf update sudo dnf install libsndfile-devel fftw-devel lapack-devel rtl-sdr-devel pulseaudio-libs-devel libusb-devel cmake git ncurses ncurses-devel gcc wget pavucontrol gcc-c++ codec2-devel ``` + +Arch -- https://github.com/lwvmobile/dsd-fme/issues/153 and https://github.com/lwvmobile/dsd-fme/issues/153 + +``` +sudo pacman -Syu +sudo pacman -S libpulse cmake ncurses lapack perl fftw rtl-sdr codec2 base-devel libsndfile git wget rtl-sdr +wget https://mirror.archstrike.org/x86_64/archstrike/itpp-4.3.1-3-x86_64.pkg.tar.xz +sudo pacman -U itpp-4.3.1-3-x86_64.pkg.tar.xz +``` + ## Headless Ubuntu Server/Pi If running headless, swap out pavucontrol for pulsemixer, and also install pulseaudio as well. Attempting to install pavucontrol in a headless environment may attempt to install a minimal desktop environment. Note: Default behavior of pulseaudio in a headless environment may be to be muted, so check by opening pulsemixer and unmuting and routing audio appropriately.