However i received this error: The repository 'http://ppa.launchpad.net/nathan-renniewaldock/flux/ubuntu focal Release' does not have a Release file. Then i tried manual installation by entering commands below:
As mentioned in this other thread, flux is not very well maintained anymore (it's the very first warning you see in the readme). I suggest you switch to Redshift instead which is what flux uses under the hood anyway:
This means that the project does not have a release for this version.
To put this in comparison with an example...
Ubuntu 16.04 was named Xenial, Ubuntu 18.04 was named Bionic, Ubuntu 20.04 was named Focal.
Let's say that a developer for a project uploaded their project into the version Xenial, and then updated it for BIonic, but before Focal, he moved on to other projects and stopped maintaining and updating this one, then he would not have uploaded an update for Focal causing there to be no release file for Focal.