tôi có thể tìm thấy hai tài liệu này đã giúp:
Cài đặt mới tải Eclipse Classic:
sudo tar -xvzf eclipse-SDK-3.7-linux-gtk.tar.gz -C /usr/local/
Để cài đặt tính năng CDT mong muốn (tài liệu tham khảo tìm thấy bằng cách sử dụng "Trợ giúp của Eclipse" > Cài đặt phần mềm mới" công cụ)
- C/C++ Công cụ phát triển (org.eclipse.cdt.feature.group)
- C/C++ Công cụ phát triển SDK (org.eclipse.cdt.sdk.feature.group)
- C/C++ nền tảng phát triển (org.eclipse.cdt.platform.feature.group)
- C/C++ Memory Xem Enhancements (org.eclipse.cdt.debug.ui.memory.feature.group)
- Trình gỡ lỗi Eclipse cho C/C++ (org.eclipse.cdt.debug.edc.feature.group)
- Khác C/C++ Utilities (org.eclipse.cdt.util.feature.group)
chạy:
sudo /usr/local/eclipse/eclipse -nosplash \
-application org.eclipse.equinox.p2.director \
-repository http://download.eclipse.org/releases/indigo/,http://download.eclipse.org/tools/cdt/releases/helios/ \
-destination /usr/local/eclipse \
-installIU org.eclipse.cdt.feature.group \
-installIU org.eclipse.cdt.sdk.feature.group \
-installIU org.eclipse.cdt.platform.feature.group \
-installIU org.eclipse.cdt.debug.ui.memory.feature.group \
-installIU org.eclipse.cdt.debug.edc.feature.group \
-installIU org.eclipse.cdt.util.feature.group
Để cài đặt PyDev, đầu tiên chúng ta cần phải chèn giấy tự động ký của họ (có thể tìm thấy ở đây: http://pydev.org/pydev_certificate.cer)
#!/usr/bin/env python
# add PyDev's certificate to Java's key and certificate database
# Certificate file can be downloaded here : http://pydev.org/pydev_certificate.cer
import os, sys
import pexpect
print "Adding pydev_certificate.cer to /usr/lib/jvm/java-6-openjdk/jre/lib/security/cacerts"
cwd = os.path.abspath (os.path.dirname(sys.argv[0]))
child = pexpect.spawn("keytool -import -file ./pydev_certificate.cer -keystore /usr/lib/jvm/java-6-openjdk/jre/lib/security/cacerts")
child.expect("Enter keystore password:")
child.sendline("changeit")
if child.expect(["Trust this certificate?", "already exists"]) == 0:
child.sendline("yes")
try:
child.interact()
except OSError:
pass
print "done"
để chạy nó:
sudo ./add_pydev_certificate.py
Các tính năng PyDev mong muốn là:
- PyDev for Eclipse (org.python.pydev.feature.feature.nhóm)
chạy:
sudo /usr/local/eclipse/eclipse -nosplash \
-application org.eclipse.equinox.p2.director \
-repository http://pydev.org/updates/ \
-destination /usr/local/eclipse \
-installIU org.python.pydev.feature.feature.group
Ý tưởng hay. Tôi đang tìm cách thực sự có thể thực hiện được để có thể sử dụng một phần (ví dụ: chỉ CDT) hoặc mở rộng sau này bằng cách thêm một tính năng của Eclipse khác. – samb