Kindles are really hard to root. Use XDA Developers forum for this kind of thing. xdaforums.com/…/fire-hd-8-2018-only-unbrick-downg…, which is what that guide is based on, looks like it only works for the 2018 version and seems way more difficult and risky than most ROM installations. Also, that won’t install Linux, just a different Android version.