If we can do B, A doesn’t provide many benefits.
A 1km diameter, 30km cylinder would provide enough area to feed ~140k people. 95km^2 of space.
That is assuming no imported food etc, based on 7000m^2 per person which is almost 2 acres each.
140k people is a small city.
You could have most people in a relatively small area with the rest for farming.
There would be little need for the equivalent of roads, almost all travel would be walk or bike. The longest distance between two points is less than 34km. If the main settlement is in a ring around the middle of the cylinder, it is less than 17km to any point.