The German compound joins wandern with Lust. English borrowed the whole word for the desire to travel; the second component has the broad sense of desire or pleasure here.
wanderlust
A strong desire to travel.
A longing that wants to move
How wanderlust reached English
oldest first- wandern‘to wander’
- Lust‘desire; pleasure’
combined
German
Wanderlust
‘Desire to wander’
into English
English
wanderlust
‘Desire to travel’
The story of wanderlust
Related
German wandern resembles the English movement verb wander.