I am unable to generate the hash for the netbeans 8.2 for Ubuntu 16.04 after I write the command:
ravi@Dell:~/Downloads$ sha256 netbeans-8.2-linux.sh
mlockall: Cannot allocate memory
Warning: couldn't lock memory, are you root?
Enter passphrase:
Now what is this passphrase?
What should I do now?
I suspect that you should have execute
sha256sum
which calculate the checksum.I also found NetBeans 8.2 C / C ++ for Linux Xubuntu 16.04 64/32 which specify:
See below the difference between
sha256
andsha256sum
From
man sha256
passphrase
is just used to produce the hashing any thing is fine.it hashes from
std in
, so perhaps this would work:However, you have another issue there, you must set the the memory allocation, to get rid of the
mlockall
error.