linux命令安装中英文插件,linux – 如何使用命令行自动安装Eclipse插件?

我可以找到这两个帮助的文档:

安装新下载的Eclipse Classic:

sudo tar -xvzf eclipse-SDK-3.7-linux-gtk.tar.gz -C /usr/local/

要安装所需的CDT功能(使用Eclipse的“帮助>安装新软件”工具)

> C/C++开发工具(org.eclipse.cdt.feature.group)

> C/C++开发工具SDK(org.eclipse.cdt.sdk.feature.group)

> C/C++开发平台(org.eclipse.cdt.platform.feature.group)

> C/C++内存查看增强功能(org.eclipse.cdt.debug.ui.memory.feature.group)

> C/C++的Eclipse Debugger(org.eclipse.cdt.debug.edc.feature.group)

>其他C/C++实用程序(org.eclipse.cdt.util.feature.group)

跑 :

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

#!/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"

所以运行它:

sudo ./add_pydev_certificate.py

所需的PyDev功能有:

> PyDev for Eclipse(org.python.pydev.feature.feature.group)

跑 :

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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值