Originally Posted by Bevdeforges
Check the specific requirements for that one. It sounds very much like one of the residence permits here in France - which requires you to have 5 years of residence in France on any combination of specific single-year residence permits. Once you have the 5 year permit, you can then relocate to another country within the EU and just need to apply for the appropriate residence permit in that country (i.e. without having to get a visa).
Yes, you need 5 years of residence in Germany first to get that permit, and also need to have health insurance, basic knowledge of Germany, sufficient German language skills, work if you're of working age, be contributing to the pension system, etc.
Once you're a permanent resident in an EU country (that is, after 5 years of residence AND getting the permanent residence permit, which is not automatic) you do have some rights to settle on other EU countries.
In Germany, you'd need an Aufenhaltserlaubnis renewable for the first 5 years, then apply for and be granted the permanent residence version, the Niederlassungserlaubnis.