Mint 19.3 vs 20 - different behaviour?
by GPGAgent from LinuxQuestions.org on (#55WYP)
When you run command in a terminal if the program isn't installed you get this message:Code:jonk@jonk-Len-usff:~$ abcde
Command 'abcde' not found, but can be installed with:
sudo apt install abcde
jonk@jonk-Len-usff:~$But with Mint 20 I don't, I get this:Code:jonk@dave:~$ abcde
bash: abcde: command not found
jonk@dave:~$Any suggestions folks?
Just to be clear $PATH is the same on both machines:Code:$ echo $PATH
/home/jonk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/gamesAnd the Mint versions are both 64bit:Code:jonk@jonk-Len-usff:~$ hostnamectl
Static hostname: jonk-Len-usff
Icon name: computer-desktop
Chassis: desktop
Machine ID: 775ccb91c8f84539a863dbbb02766c59
Boot ID: f75641338acb4ee0b2be2a59bbcf2ec6
Operating System: Linux Mint 19.3
Kernel: Linux 5.3.0-59-generic
Architecture: x86-64
jonk@dave:~$ hostnamectl
Static hostname: dave
Icon name: computer-desktop
Chassis: desktop
Machine ID: c4f2d44acf3c4564bf5a66409c42613f
Boot ID: e99257790f704765b4af79ba0a2af24d
Operating System: Linux Mint 20
Kernel: Linux 5.4.0-40-generic
Architecture: x86-64


Command 'abcde' not found, but can be installed with:
sudo apt install abcde
jonk@jonk-Len-usff:~$But with Mint 20 I don't, I get this:Code:jonk@dave:~$ abcde
bash: abcde: command not found
jonk@dave:~$Any suggestions folks?
Just to be clear $PATH is the same on both machines:Code:$ echo $PATH
/home/jonk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/gamesAnd the Mint versions are both 64bit:Code:jonk@jonk-Len-usff:~$ hostnamectl
Static hostname: jonk-Len-usff
Icon name: computer-desktop
Chassis: desktop
Machine ID: 775ccb91c8f84539a863dbbb02766c59
Boot ID: f75641338acb4ee0b2be2a59bbcf2ec6
Operating System: Linux Mint 19.3
Kernel: Linux 5.3.0-59-generic
Architecture: x86-64
jonk@dave:~$ hostnamectl
Static hostname: dave
Icon name: computer-desktop
Chassis: desktop
Machine ID: c4f2d44acf3c4564bf5a66409c42613f
Boot ID: e99257790f704765b4af79ba0a2af24d
Operating System: Linux Mint 20
Kernel: Linux 5.4.0-40-generic
Architecture: x86-64