[x86] Make the package installation automated

Currently, while installing the required packages,
the script asks for the password. Make it automated.

Signed-off-by: Himanshu Chauhan <hschauhan@nulltrace.org>