インストールガイドに従ってDebian 12で以下を実行しました。
sudo apt-get install python3 python3-pip python3-setuptools python3-wheel ninja-build
sudo apt install build-essential
meson
私のシステムにインストールする必要があります。
sudo updatedb
私が+をするとlocate meson | xargs -I {} dirname {} | sort | uniq
私は多くの出力を持っています:
/data/docker/overlay2/a7ad1e9d584e8675ba05ab724dbf033bd1d83d907756e429f0c2d40f1a919cec/diff/usr/share/mime/text
/data/sauvegardes_par_rsync/home/lebihan/dev/apprentissageDev/python/python_pour_les_mathématiques/ch01/venv/lib/python3.9/site-packages/scipy
/home/lebihan/Bureau/anaconda3/pkgs/fribidi-1.0.10-h7b6447c_0/info/recipe
/home/lebihan/Bureau/anaconda3/pkgs/glib-2.68.1-h36276a3_0/info/recipe/patches
/home/lebihan/dev/apprentissageDev/python/python_pour_les_mathématiques/ch01/venv/lib/python3.9/site-packages/scipy
/home/lebihan/dev/Java/opensource/openapi-generator/samples/server/petstore/cpp-pistache/build/PISTACHE-prefix/src/PISTACHE
/home/lebihan/.local/share/JetBrains/Toolbox/apps/clion/plugins
/home/lebihan/.local/share/JetBrains/Toolbox/apps/clion/plugins/clion-meson-plugin
/home/lebihan/.local/share/JetBrains/Toolbox/apps/clion/plugins/clion-meson-plugin/lib
/home/lebihan/.mozilla/firefox/eolge1mk.default-esr/storage/default
/home/lebihan/.mozilla/firefox/eolge1mk.default-esr/storage/default/https+++mesonbuild.com
/home/lebihan/.steam/debian-installation/ubuntu12_64/steam-runtime-sniper/sniper_platform_0.20240307.80401/files/share/mime/text
/snap/gnome-3-28-1804/194/usr/share/gtksourceview-3.0/language-specs
/snap/gnome-3-28-1804/194/usr/share/mime/text
/snap/gnome-3-28-1804/198/usr/share/gtksourceview-3.0/language-specs
/snap/gnome-3-28-1804/198/usr/share/mime/text
/snap/gnome-3-38-2004/140/usr/share/gtksourceview-3.0/language-specs
/snap/gnome-3-38-2004/140/usr/share/gtksourceview-4/language-specs
/snap/gnome-3-38-2004/140/usr/share/mime/text
/snap/gnome-3-38-2004/143/usr/share/gtksourceview-3.0/language-specs
/snap/gnome-3-38-2004/143/usr/share/gtksourceview-4/language-specs
/snap/gnome-3-38-2004/143/usr/share/mime/text
/usr/lib/python3/dist-packages/pygments/lexers
/usr/lib/python3/dist-packages/pygments/lexers/__pycache__
/usr/pgadmin4/venv/lib/python3.11/site-packages/pygments/lexers
/usr/share/doc/libdav1d-dev/examples
/usr/share/gtksourceview-4/language-specs
/usr/share/gtksourceview-5/language-specs
/usr/share/mime/text
/usr/share/vim/vim90/ftplugin
/usr/share/vim/vim90/indent
/usr/share/vim/vim90/syntax
/usr/src/linux-headers-6.1.0-18-common/arch/arm/include/debug
/usr/src/linux-headers-6.1.0-18-common/include/dt-bindings/clock
/usr/src/linux-headers-6.1.0-18-common/include/dt-bindings/gpio
/usr/src/linux-headers-6.1.0-18-common/include/dt-bindings/power
/usr/src/linux-headers-6.1.0-18-common/include/dt-bindings/reset
/usr/src/linux-headers-6.1.0-18-common/include/dt-bindings/sound
/usr/src/linux-headers-6.1.0-18-common/include/linux/firmware
/usr/src/linux-headers-6.1.0-18-common/include/linux/firmware/meson
/usr/src/linux-headers-6.1.0-18-common/include/linux/soc/amlogic
/usr/src/linux-headers-6.1.0-20-common/arch/arm/include/debug
/usr/src/linux-headers-6.1.0-20-common/include/dt-bindings/clock
/usr/src/linux-headers-6.1.0-20-common/include/dt-bindings/gpio
/usr/src/linux-headers-6.1.0-20-common/include/dt-bindings/power
/usr/src/linux-headers-6.1.0-20-common/include/dt-bindings/reset
/usr/src/linux-headers-6.1.0-20-common/include/dt-bindings/sound
/usr/src/linux-headers-6.1.0-20-common/include/linux/firmware
/usr/src/linux-headers-6.1.0-20-common/include/linux/firmware/meson
/usr/src/linux-headers-6.1.0-20-common/include/linux/soc/amlogic
正常に見える経路があります。
echo $PATH
/home/lebihan/anaconda3/bin:/home/lebihan/.local/bin:/home/lebihan/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin:/opt/apache-maven-3.9.4/bin:/opt/zeppelin-0.10.0-bin-all/bin:/opt/spark-3.3.0-bin-hadoop3/bin:/opt/gradle/gradle-6.9.1/bin:/opt/kafka_2.12-3.4.0/bin:/home/lebihan/.local/share/coursier//bin:/home/lebihan/.local/bin/bin:/usr/local/go/bin:/home/lebihan/.local/share/JetBrains/Toolbox/scripts:/home/lebihan/.local/share/coursier/bin
しかし、私のコマンドmeson
はどこにもありません...
$meson
bash: meson : commande introuvable
どこですか?
答え1
あなたはそれをインストールする必要があります:
sudo apt install meson
インストールしたパッケージはに依存しないため、依存関係meson
としてインストールされません。