Tunisia on Friday urged its estimated 50,000 to 60,000 nationals in neighbouring Libya to leave "as soon as possible" because of violence that has raged there since mid-July.