Read Deuteronomy 12:21 Using Other Translations
If the place which the LORD thy God hath chosen to put his name there be too far from thee, then thou shalt kill of thy herd and of thy flock, which the LORD hath given thee, as I have commanded thee, and thou shalt eat in thy gates whatsoever thy soul lusteth after.
If the place that the LORD your God will choose to put his name there is too far from you, then you may kill any of your herd or your flock, which the LORD has given you, as I have commanded you, and you may eat within your towns whenever you desire.
It might happen that the designated place of worship—the place the LORD your God chooses for his name to be honored—is a long way from your home. If so, you may butcher any of the cattle, sheep, or goats the LORD has given you, and you may freely eat the meat in your hometown, as I have commanded you.