There is no installation needed to use these functions; they are part of the PHP core.
To enable Argon2 password hashing, however, PHP must be build with libargon2 support using the --with-password-argon2[=DIR] configure option.