歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> 如何在Ubuntu中通過編譯源碼包安裝軟件Pidgin

如何在Ubuntu中通過編譯源碼包安裝軟件Pidgin

日期:2017/2/28 16:44:41   编辑:Linux教程

首先,通過Ubuntu“菜單->添加/刪除”或者是Ubuntu新立得軟件包管理程序(通過搜索pidgin卸載已經安裝的相關文檔)刪除老版本的Pidgin.

然後使用下面命令配置相關編譯環境:

sudo apt-get build-dep pidgin

接下來下載源碼包並解壓,打開終端,通過cd命令進入源碼包解壓的目錄;

運行./configure配置編譯環境,如果成功,最後會有個“complete”並請運行“make”的提示;如果沒有,如出現quote “XScreenSaver extension development headers not found.

Use –disable-screensaver if you do not need XScreenSaver extension support, this is required for detecting idle time by mouse and keyboard usage.

” end of quote

說明缺少“XScreenSaver”關聯文件,可以通過新立得軟件包管理程序搜索“XScreenSaver”安裝相關的“XScreenSaver.dev”文件;實在沒有XScreenSaver的dev文件,就按提示運行./configure --disable-screensaver;

接下來就make;

再 make check

再 sudo make install

再 make clean

再 make distclean

最後 菜單->互聯網-> Pidgin,即可。

Copyright © Linux教程網 All Rights Reserved