Artifacts suggest that the area was settled before theQin dynasty but acommandery by the name ofYulin was not established until earlyHan dynasty. The urban centre of Yulin became azhou in 996 AD. Since ancient times, Yulin has been important for trade and communications between central China and the south, especially along the coast of theTonkin Gulf.
As of the2020 Chinese census, its total population was 5,796,766 inhabitants and its built-up (or metro) area made of two urban districts and Beiliu City was home to 2,438,467 inhabitants. The majority of Yulin's population isHan but also includesZhuang,Miao, and other ethnic minorities, totaling more than 100,000 people.
Yulin is also infamous for its annualdog meat andlychee festival which takes place on 21 June, over the course of 10 days or so. Over 10,000 dogs are slaughtered at this festival for human consumption. The festival also includes consuming cat and lychee. Many of the dogs are stolen pets.[6][7]
Yulin is rich in natural resources. Important mineral resources include granite, limestone, iron, and gemstones. It is also Guangxi's biggest source of porcelain clay. Major agricultural products are rice, bananas, tomatoes, mandarin oranges, mangoes, longan, anise, tea, sugarcane, livestock such as cattle, pigs, geese, chickens and dogs. Industrial goods include machinery, construction materials, processed food, chemicals, pharmaceuticals, cigarettes, and ceramics.
Yulin is served byYulin railway station, which sees both high-speed and conventional services. Typical trains take approximately 2 hours to reachNanning, capital of Guangxi.
Yulin is home toYulin Normal University, where there are 13 departments with 38 four-year undergraduate specialties, 14 three-year specialties, more than 17,200 students including 12,000 full-time students and 5,200 higher education students.
Guangxi Yulin High School[8] is a high-level key middle school in Guangxi Zhuang Autonomous Region and an advanced unit of national spiritual civilization construction. It is also the first demonstration ordinary high school in Guangxi.