How did Lebanon get its name?

lebanon name was derived from the word "liban" which is a name of a tree which was popular in lebanon a long time ago