首页 > 解决方案 > How to get the python3 path in ubuntu without which command

问题描述

Problem: I want to get the python3 path in my Ubuntu VM. Like /usr/xyz/python3

More Information: I dont see the 'which' command present in my envt. I tried to 'sudo apt install which', but it fails saying that no such package found.

标签: linux

解决方案


sudo apt install which失败是因为which属于debianutils; 大多数可执行文件不是作为它们自己的包来的。

sudo apt install debianutils


推荐阅读