Fetching details from the dictionary...
tenement house; row house
江戸には長屋が多かった。
Edo had many row houses.
長屋の暮らしは隣人との距離が近い。
Living in a row house means being close to your neighbors.
江戸時代の下町の長屋を舞台にした落語を聴いた。
I listened to a rakugo set in the row houses of an Edo-era downtown.