The pinion will either be a push fit or it will have a grubscrew which will no doubt be embalmed in threadlock.
If it's a push fit you'll want one like the "large vice" version here https://www.ant-supplies.uk/assorted-tools/motor-pinion-gear-tool.html because the type you have linked to will only pull the pinion off, it won't help putting it back on.