...assuming there is a main pipe in the street in the first place. Many areas don't have a gas pipe for miles.
Around here there are no mains for gas, but gas is one of the most popular forms of heating. Most of us just have tanks in our yards (or buried in the yard) and the nice gas man drives up in his big truck to fill us up. FWIW, approx €3000 will last about a year and a half for a family of four. It goes fast because it gets very, very cold in winter. It can be -10 degrees for a few weeks at a time during the winter.