설치 가이드에 따라 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
종속성으로 설치되지 않습니다.