docs: Update package installation instructions

Update supported Ubuntu and Fedora versions
Fix minor flake8 errors