-----------------------------------------------------------------------------------------------------------------------------------------
以下がドライバーのインストールです。
# apt update
# apt install cifs-utils
# apt install avahi-daemon
# apt install cmake
# apt install git
# aot install xz-utils
# apt install wget
# apt install net-tools
# aot install apt-utils
# apt-get install python3-sphinx needs to be installed.
# apt-get install c ++
# pip installation
# apt-get install python3.9 #Bullseye is now 3.9
# apt install python3-pip # pip installation
# apt-get install libmpdclient2-dev if can not .. # apt-get install libmpdclient *
# apt-get install libboost1.74-dev libboost1.67-dev
# python3 -m pip install ninja # (1.11.1)(****Carefully)
# python3 -m pip install meson # (0.60)more than 0.60( ****Carefully )
# ninja-build and meson install by apt install.would you.
Now it's time to compile and install mpd. As always, you will have to download and compile the mpd source. The compilation and installation methods have changed.
This is a change in the method of installing mpd from source, which has changed since 0.21.XX. In the case of Dietpi, there is only a route, so please add a general user. In this state
#. sudo cannot be recognized. Please install git, g ++, C ++ 17 C ++ 20 cmake sox ffmpeg curl etc. before doing the following. Please note that it takes a long time to compile.
# apt install libfmt-dev when you had mpd compile error. 0.23.~ mpd.
# apt install build-essential libicu-dev
almost above but a little bit different now .meson and ninja can install apt install .ninja is replaced name ninja-build instead of ninja.
please do not install by pip becuase confrict application each other. no more ninja install only ninja-build. please do not use install by pip.
----------------------------------------------------------------------------------------------------------------------------------------
以上です。OSをインストール時に自動的にインストールされているアプリケーションもあります。Ninja とmeson やCmakeはバージョンが合ってないと
ソースからのコンパイルが出来ませんので各自勉強して最新にしておきましょう。なるべくなら pip は使いません、pipはソースなどからインストールしたバイナリーと競合します。
ninja-build と meson はapt install でインストールしましょう若しくはソースをコンパイルしてインストールします。
最終的には以下のコマンドで音のドライバーを確認しましょう。
$ sudo aplay -l で音のドライバーを確認しましょう。各 使う Editor はデフォルトのnano でも構いませんが emacs が大変使い安いと思う。
$ sudo apt install emacs で emacs を インストール出来ます。大変便利です。
for exsample $ sudo nkdir src then make compile to work src is place for work ,not only src and download . tem etc then start work.
src 以下のファイルは全て残して置きます。ソースをコンパイルしてバイナリーを作った場合インストールしていきます。アンインストールもこのスレッドが残っていれば削除も出来ます。