How long will the sun support life on earth?

Our sun is about halfway through its life cycle. It will be a few more billion years before it becomes a red giant that will engulf the earth and kill all life on it. Then after that it will explode into a super nova and scatter all the remaining planets into interstellar dust. Our sun, called, Sol, originated from several other stars that lived out their lives and exploded into cosmic debri. After millions of years this debri condensed and formed our solar system with the sun at the center and the planets revolving around it. Unless we find a way to transport ourselves, including all aspects of nature with us to another star, all life on earth will be extinguished, forever.