且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

从java小程序检查程序是否安装在linux机器上

更新时间:2023-11-19 20:45:58

使用

which file

命令来查明软件是否安装在路径中.如果没有任何结果,那么你可以做一个

command to find out if the software is installed in the path. If that comes up with nothing then you could do a

find ./ -name "file"

还要检查他们的本地 bin 或 .bin,如果它不包含在路径中.

Also check their local bin or .bin if its not included in the path.