查看执行文件位置,以下分别查看python3.11版本和dotnet
[root@192 Python-3.11.0rc2]# which python3.11 /usr/local/bin/python3.11 [root@192 Python-3.11.0rc2]# which dotnet /usr/bin/dotnet
查看安装目录python和dotnet
[root@192 Python-3.11.0rc2]# whereis python3.11 python3: /usr/bin/python3.6 /usr/bin/python3.6m /usr/bin/python3 /usr/lib/python3.6 /usr/lib64/python3.6 /usr/local/bin/python3 /usr/local/bin/python3.11 /usr/local/bin/python3.11-config /usr/local/lib/python3.11 /usr/local/lib/python3.6 /usr/include/python3.6m /usr/share/man/man1/python3.1.gz [root@192 Python-3.11.0rc2]# whereis dotnet dotnet: /usr/bin/dotnet /usr/lib64/dotnet /etc/dotnet /usr/share/man/man1/dotnet.1.gz
本文来自 www.luofenming.com