showmount command

I am using Kali 2017.3 version. Not getting results for showmount command.
showmount: command not found
Tried apt-get install showmount but no luck…
Let me know if there is any other way or any other alternative way to get such results.

@strangerspy said:

I am using Kali 2017.3 version. Not getting results for showmount command.
showmount: command not found
Tried apt-get install showmount but no luck…
Let me know if there is any other way or any other alternative way to get such results.

I think you can track it down with apt-cache search showmount and if memory serves it is in nfs-common but you may need to verify this.

Try apt-get install nfs-common and see if that solves the issue.

root@kali:~/Desktop# apt-cache search showmount
nfs-common - NFS support files common to client and server
root@kali:~/Desktop# apt-get install nfs-common
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following additional packages will be installed:
keyutils libnfsidmap2 libtirpc1 rpcbind
Suggested packages:
open-iscsi watchdog
The following NEW packages will be installed:
keyutils libnfsidmap2 libtirpc1 nfs-common rpcbind
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 463 kB of archives.
After this operation, 1,372 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err:2 Index of /kali kali-rolling/main i386 libtirpc1 i386 0.2.5-1.2
404 Not Found
Err:3 Index of /kali kali-rolling/main i386 keyutils i386 1.5.9-9
404 Not Found
Err:4 Index of /kali kali-rolling/main i386 rpcbind i386 0.2.3-0.6
404 Not Found
Err:5 Index of /kali kali-rolling/main i386 nfs-common i386 1:1.3.4-2.1+b1
404 Not Found
Get:1 http://ftp.harukasan.org/kali kali-rolling/main i386 libnfsidmap2 i386 0.25-5.1 [33.3 kB]
Fetched 33.3 kB in 4s (8,279 B/s)
E: Failed to fetch http://http.kali.org/kali/pool/main/libt/libtirpc/libtirpc1_0.2.5-1.2_i386.deb 404 Not Found
E: Failed to fetch http://http.kali.org/kali/pool/main/k/keyutils/keyutils_1.5.9-9_i386.deb 404 Not Found
E: Failed to fetch http://http.kali.org/kali/pool/main/r/rpcbind/rpcbind_0.2.3-0.6_i386.deb 404 Not Found
E: Failed to fetch http://http.kali.org/kali/pool/main/n/nfs-utils/nfs-common_1.3.4-2.1+b1_i386.deb 404 Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
root@kali:~/Desktop# apt-cache search showmount
nfs-common - NFS support files common to client and server

Are there anyone can suggest on this ?

Just as it wrote, run apt update to update the package information, then try again with apt install nfs-common

@strangerspy said:

Are there anyone can suggest on this ?

Like @HomeSen said, it’s worth reading the output - for example this bit seems relevant E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Also, Kali 2017 is pretty old, is there a reason why you don’t want to update it to 2019? (I don’t like 2020 but…)

actually due to less RAM i was using 2017, now upgraded the system and using 2020.1b. Its working now.