« rpm vs. dpkg 常用參數對照 | 首頁 | 解決 FC4 X 桌面無法正常顯示的一個不是很好的好方法 »
2005年08月22日
在 Linux 安裝 aMule (eMule-Like P2P Software)
eMule 是 Windows 平台的熱門 P2P 軟體之一, 簡單的操作介面讓許多初次接觸 P2P 軟體的人也能輕鬆上手.
雖然 eMule 沒有 for Linux 的版本, 不過在 Linux 平台還是可以找到許多 eMule-Like 的 P2P 軟體. 如: aMule、LMule、xMule... 操作介面都和 eMule 大同小異.
範例環境
- Fedora Core 3 with GNOME Desktop Environment
安裝需求套件
摘自 aMule-2.0.3/docs/INSTALL:
You will need glib/gtk-1.2.10 (package names like glib and glibdev or glib-devel, gtk and gtkdev or gtk-devel or similar) or gtk2 (package names correspond to gtk ones), libexpat (package name should be expat) and gettext to compile aMule. Also wxWidgets-2.4.2 or greater (wxGTK-2.6.x is recommended), linked against glib/gtk-1.2.10 is needed (package names wxGTK and wxGTK-devel or similar).
我的套件清單:
- glib-1.2.10-15
- glib-devel-1.2.10-15
- gtk+-1.2.10-33
- gtk+-devel-1.2.10-33
- gtk2-2.4.14-3.fc3
- gtk2-devel-2.4.14-3.fc3
- expat-1.95.7-4
- gettext-0.14.1-12
- gcc-3.4.4-2.fc3
(以上皆可使用 yum、apt-get 安裝)
- wxGTK-2.6.1 (下載點: http://www.wxwindows.org/dl_gtk.htm#stable)
ps. ldconfig 執行前須確認 /etc/ld.so.conf 內容含有 /usr/local/lib
./configure --with-gtk
make
make install
ldconfig
下載 / 安裝 aMule
下載點: http://www.amule.org/dl/index.php (以 aMule-2.0.3.tar.gz 為例)
tar -zxf aMule-2.0.3.tar.gz
cd aMule-2.0.3
./configure --prefix=/usr --disable-gtk2 --with-gtk
make
make install
桌面 → 按滑鼠右鍵 → 新增啟動圖示 → 名稱: aMule、指令: /usr/bin/amule → 圖示: 騾子 (amule.xpm)./configure 可使用的參數:
--disable-debug disable additional debugging output --enable-optimize enable code optimizing --enable-profile enable code profiling --enable-static produce a statically linked executable --enable-embedded_crypto use embedded Crypto code (default) --enable-amulecmd compile aMule command line client --enable-amulecmdgui compile aMule command line client (GUI version) --enable-amule-gui compile aMule remote GUI (EXPERIMENTAL) --enable-amule-daemon compile aMule daemon version --enable-webserver compile aMule WebServer --enable-webservergui compile aMule WebServer GUI --enable-cas compile C aMule Statistics --enable-wxcas compile aMule GUI Statistics --disable-ed2k don't compile aMule ed2k links handler --enable-alc compile aMuleLinkCreator GUI version --enable-alcc compile aMuleLinkCreator for console --disable-gsocket disable gsocket.c linking --disable-gtk disable pure GTK code in amule --enable-utf8-systray use UTF-8 encoded strings in the systray --disable-systray disable SysTray compilation --disable-monolithic disable building of the monolithic aMule app --disable-gtktest do not try to compile and run a test GTK+ program --disable-gtktest do not try to compile and run a test GTK program --disable-rpath do not hardcode runtime library paths --disable-nls do not use Native Language Support --enable-ccache enable ccache support for fast recompilation
使用 aMule
- 雙擊桌面上的 aMule 圖示
- 點選「伺服器」左側的按鈕, 下載伺服器清單 (第一次使用時操作)
- 畫面左上角的「中斷連線」按鈕亮起表示已連線伺服器
- 點選「搜尋」, 設定「類型」為 “全球搜尋” 即可輸入關鍵字搜尋檔案 (可以輸入中文搜尋)
- 其他的部份都跟 Windows 版的 eDonkey、eMule 差不多
- 下載完成的檔案置放在 ~/.aMule/Incoming/
相關網頁:
- aMule Project
- xMule.ws - Inspiring P2P for Geeks
- LMule - eMule for Linux
- wxWidgets - Cross-Platform GUI Library
- The Official BitTorrent Home Page
- Gnome BitTorrent
本站 Linux PC 應用相關文章:
- 從 Fedora Core 3 最小安裝開始
- 在 Linux 系統安裝 Internet Explorer
- MPlayer on Fedora Core 3 安裝實錄
- GmailFS on Linux & Windows 試用心得
- 調整 IIIMF 繁體中文輸入法設定
- xcin 中文輸入法的設定
- RealVNC vs. Linux
- 從 Linux 發送訊息到 Windows 作業系統
- 在 Linux 使用 PCMCIA 網卡
- 在 Linux 使用 Samba + CUPS 分享印表機
- Linux Bluetooth 檔案傳輸
- Linux on Centrino Notebook -- 無線網路無痛安裝法 for Redhat Linux
Posted by Jamyy at 2005年08月22日 19:32
Trackback Pings
TrackBack URL for this entry:
http://cha.homeip.net/cgi-bin/mt/mt-tb.cgi/117
Comments
Good!雖然我還在make install中,不過這篇文章確實引導我到正確的方向去。
Posted by: aTimWu at 2005年08月30日 22:44
謝謝! 很高興這篇內容能對您有助益
祝你順利安裝成功
Posted by: Jamyy at 2005年08月31日 09:58
這位大大......
我還是不會用~~可不可以交交我....
我是新手~
我的yahoo即時通是jack*****
MSN是jack*****@hotmail.com
感激~
Posted by: Jack at 2006年02月19日 02:56
我在mandriva2007下載的是aMule-2.1.3-wxGtk2.6.3_mdv.i586.rpm
安裝完成後卻找不到程式裝到哪裡去了
無處可執行
可否指點指點...
謝謝!!
Posted by: usher at 2006年11月16日 10:53
rpm -ql aMule | less
或是
rpm -qlp aMule-2.1.3-wxGtk2.6.3_mdv.i586.rpm | less
就能知道它安裝了哪些檔案
Posted by: Jamyy at 2006年11月17日 09:45
請問大大如何設定AMULE的接收檔案夾
Posted by: JOHNNY3688 at 2007年10月12日 15:53
請點選: 設定 → 目錄
即可設定 『接收資料夾』
Posted by: Jamyy at 2007年10月12日 22:17
not sure if latest wxget not compatible? would you please help.
my email please see above
MuleGifCtrl.cpp: In member function ‘bool MuleGifCtrl::LoadData(const char*, int)’:
MuleGifCtrl.cpp:69: error: no matching function for call to ‘wxGIFDecoder::wxGIFDecoder(wxMemoryInputStream*, int)’
/usr/local/include/wx-2.8/wx/gifdecod.h:105: note: candidates are: wxGIFDecoder::wxGIFDecoder(const wxGIFDecoder&)
/usr/local/include/wx-2.8/wx/gifdecod.h:53: note: wxGIFDecoder::wxGIFDecoder()
MuleGifCtrl.cpp:70: error: ‘class wxGIFDecoder’ has no member named ‘ReadGIF’
MuleGifCtrl.cpp:76: error: ‘class wxGIFDecoder’ has no member named ‘GoFirstFrame’
MuleGifCtrl.cpp:78: error: no matching function for call to ‘wxGIFDecoder::ConvertToImage(wxImage*)’
/usr/local/include/wx-2.8/wx/gifdecod.h:83: note: candidates are: virtual bool wxGIFDecoder::ConvertToImage(unsigned int, wxImage*) const
MuleGifCtrl.cpp: In member function ‘void MuleGifCtrl::Start()’:
MuleGifCtrl.cpp:89: error: ‘class wxGIFDecoder’ has no member named ‘GoLastFrame’
MuleGifCtrl.cpp: In member function ‘virtual wxSize MuleGifCtrl::GetBestSize()’:
MuleGifCtrl.cpp:105: error: ‘class wxGIFDecoder’ has no member named ‘GetLogicalScreenWidth’
MuleGifCtrl.cpp:105: error: ‘class wxGIFDecoder’ has no member named ‘GetLogicalScreenHeight’
MuleGifCtrl.cpp: In member function ‘void MuleGifCtrl::OnTimer(wxTimerEvent&)’:
MuleGifCtrl.cpp:113: error: ‘class wxGIFDecoder’ has no member named ‘GoNextFrame’
MuleGifCtrl.cpp:116: error: no matching function for call to ‘wxGIFDecoder::ConvertToImage(wxImage*)’
/usr/local/include/wx-2.8/wx/gifdecod.h:83: note: candidates are: virtual bool wxGIFDecoder::ConvertToImage(unsigned int, wxImage*) const
MuleGifCtrl.cpp:122: error: no matching function for call to ‘wxGIFDecoder::GetDelay()’
/usr/local/include/wx-2.8/wx/gifdecod.h:66: note: candidates are: virtual long int wxGIFDecoder::GetDelay(unsigned int) const
MuleGifCtrl.cpp: In member function ‘void MuleGifCtrl::OnPaint(wxPaintEvent&)’:
MuleGifCtrl.cpp:132: error: ‘class wxGIFDecoder’ has no member named ‘GetLogicalScreenWidth’
MuleGifCtrl.cpp:133: error: ‘class wxGIFDecoder’ has no member named ‘GetLogicalScreenHeight’
MuleGifCtrl.cpp:137: error: ‘class wxGIFDecoder’ has no member named ‘GetLeft’
MuleGifCtrl.cpp:137: error: ‘class wxGIFDecoder’ has no member named ‘GetTop’
make[3]: *** [libmuleappgui_a-MuleGifCtrl.o] Error 1
make[3]: Leaving directory `/root/work/aMule-2.1.3/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/work/aMule-2.1.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/work/aMule-2.1.3'
make: *** [all] Error 2
[root@localhost aMule-2.1.3]#
Posted by: blue at 2008年04月08日 11:53