I can’t even tell you what us Gen Xers did because I am not sure if the statutes of limitations have run.
Vaguely, it involved ftp and file repositories hosted unwittingly by large companies plus restricted IRC channels to discuss the locations of such places.
Linux came out after I graduated. In my era I had 100s of 3.5inch floppy disks to hold the plunder from sailing the high seas.