今天在debian下安装了thunderbird [转]

今天在debian下安装了thunderbird。

  下载地址:http://www.mozilla.com/en-US/thunderbird/

  一、下载thunderbird-2.0.0.0.tar.gz到/home/lana/downloads

  >cd /home/lana/downloads

  >tar -xzf thunderbird-2.0.0.0.tar.gz

  解压后在/home/lana下产生thunderbird目录,进入该目录发现里没有configure文件,而且该目录下有一个thunderbird执行文件。可见thunderbird已经被编译过了。

  >./thunderbird

  执行提示出错:

  lanazou:/home/lana/downloads/thunderbird# ./thunderbird

  ./thunderbird-bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory

  解决方法:

  apt-get install -u libstdc++5

  再执行./thunderbird就可以正常运行thunderbird

  二、都正常运行之后,在“应用程序”并没有出现thunderbird的快捷图标。

  到/usr/share/applications/下查找也没有thunderbird.desktop文件,所以“应用程序”就不会有thunderbird的图标了。

  解决方法:

  >cd /usr/share/applications

  >vi thunderbird.desktop

  在thunderbird.desktop中输入如下内容:

  [Desktop Entry]

  Name=Thunderbird

  Comment=Read/Write Mail/News with Mozilla Thunderbird

  Exec=/usr/bin/thunderbird

  Icon=/home/lana/downloads/thunderbird-2.0.0.0/icons/mozicon50.xpm

  Terminal=false

  Type=Application

  Categories=Application;Network;

  注意:里面的文件路径根据自己文件存放位置不同来写的。

  退出thunderbird.desktop,保存。再打开“应用程序”--“internet”就会发现thunderbird的图标,点击可以正常运行。