[root@localhost ~]# cat /etc/fedora-release ; uname -ri Fedora release 18 (Spherical Cow) 3.7.2-204.fc18.x86_64 x86_64 |
you can install eclipse with yum groupinstall.
[root@localhost ~]# yum grouplist | grep -i eclipse Fedora Eclipse [root@localhost ~]# yum groupinfo eclipse Loaded plugins: langpacks, presto, refresh-packagekit Group: Fedora Eclipse Group-Id: eclipse Description: Integrated Development Environments based on Eclipse. Mandatory Packages: eclipse-cdt eclipse-jdt Default Packages: eclipse-callgraph eclipse-changelog eclipse-collabnet-merge eclipse-dtp eclipse-egit eclipse-fedorapackager eclipse-mpc eclipse-mylyn eclipse-mylyn-context-cdt eclipse-mylyn-context-java eclipse-mylyn-tasks-bugzilla eclipse-mylyn-tasks-trac eclipse-mylyn-tasks-web eclipse-oprofile eclipse-packagekit eclipse-pde eclipse-pydev eclipse-rpm-editor eclipse-subclipse eclipse-valgrind Optional Packages: eclipse-cmakeed eclipse-dltk-ruby eclipse-dltk-tcl eclipse-eclemma eclipse-epic eclipse-findbugs eclipse-moreunit eclipse-mylyn-fedora-integration eclipse-photran eclipse-phpeclipse eclipse-quickrex eclipse-rpmstubby eclipse-shelled eclipse-texlipse eclipse-veditor [root@localhost ~]# |
install Fedora Eclipse
# yum groupinstall "Fedora Eclipse" -y |
start eclipse via GUI Icon.
[ add PyDev plugin ]
Eclipse GUI -> help -> eclipse marketplace
search “python” and install PyDev
after installing the plugin , restart eclipse to reflect the config.
GUI -> WIndow -> Preference -> PyDev -> Editor -> Interpreter - Python
auto config -> select all -> OK
create a project
GUI -> file -> new project -> PyDev Project
click next
enter a project name and check “create src folder …”
create a python file under src directory ( GUI -> test01 -> src -> right click -> New -> File )
right click “test01.py” -> Run as