Skip to main content
Redhat Developers  Logo
  • AI

    Get started with AI

    • Red Hat AI
      Accelerate the development and deployment of enterprise AI solutions.
    • AI learning hub
      Explore learning materials and tools, organized by task.
    • AI interactive demos
      Click through scenarios with Red Hat AI, including training LLMs and more.
    • AI/ML learning paths
      Expand your OpenShift AI knowledge using these learning resources.
    • AI quickstarts
      Focused AI use cases designed for fast deployment on Red Hat AI platforms.
    • No-cost AI training
      Foundational Red Hat AI training.

    Featured resources

    • OpenShift AI learning
    • Open source AI for developers
    • AI product application development
    • Open source-powered AI/ML for hybrid cloud
    • AI and Node.js cheat sheet

    Red Hat AI Factory with NVIDIA

    • Red Hat AI Factory with NVIDIA is a co-engineered, enterprise-grade AI solution for building, deploying, and managing AI at scale across hybrid cloud environments.
    • Explore the solution
  • Learn

    Self-guided

    • Documentation
      Find answers, get step-by-step guidance, and learn how to use Red Hat products.
    • Learning paths
      Explore curated walkthroughs for common development tasks.
    • Guided learning
      Receive custom learning paths powered by our AI assistant.
    • See all learning

    Hands-on

    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.
    • Interactive labs
      Learn by doing in these hands-on, browser-based experiences.
    • Interactive demos
      Click through product features in these guided tours.

    Browse by topic

    • AI/ML
    • Automation
    • Java
    • Kubernetes
    • Linux
    • See all topics

    Training & certifications

    • Courses and exams
    • Certifications
    • Skills assessments
    • Red Hat Academy
    • Learning subscription
    • Explore training
  • Build

    Get started

    • Red Hat build of Podman Desktop
      A downloadable, local development hub to experiment with our products and builds.
    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.

    Download products

    • Access product downloads to start building and testing right away.
    • Red Hat Enterprise Linux
    • Red Hat AI
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat Developer Toolset

    References

    • E-books
    • Documentation
    • Cheat sheets
    • Architecture center
  • Community

    Get involved

    • Events
    • Live AI events
    • Red Hat Summit
    • Red Hat Accelerators
    • Community discussions

    Follow along

    • Articles & blogs
    • Developer newsletter
    • Videos
    • Github

    Get help

    • Customer service
    • Customer support
    • Regional contacts
    • Find a partner

    Join the Red Hat Developer program

    • Download Red Hat products and project builds, access support documentation, learning content, and more.
    • Explore the benefits

Using DTS Eclipse, PyDev, and Python 2.7

October 1, 2013
Langdon White
Related topics:
Developer toolsLinuxPython
Related products:
Developer ToolsetRed Hat Enterprise Linux

    Red Hat intended for developers to integrate Developer Toolset 2.0 (DTS) and Red Hat Software Collections 1.0 (RHSCL). As you may not realize, inside the DTS is a copy of Eclipse and you can use that with any software collection. In other words, you can use PyDev, with the Python 2.7 Software Collection from RHSCL in the Eclipse from DTS. Let's find out how.

    First, let's make sure you have the right repos,

    [lwhite@lwhite-laptop ~]$ sudo yum repolist
    Loaded plugins: product-id, security, subscription-manager
    This system is receiving updates from Red Hat Subscription Management.
    
    rhel-server-dts2-6-rpms                                                                                             | 2.8 kB    00:00
    rhel-server-rhscl-6-rpms                                                                                            | 2.8 kB     00:00
    
    repo id                             repo name                                                                                        status
    
    rhel-server-dts2-6-rpms             Red Hat Developer Toolset 2 RPMs for Red Hat Enterprise Linux 6 Server                              235
    rhel-server-rhscl-6-rpms            Red Hat Software Collections RPMs for Red Hat Enterprise Linux 6 Server                             440
    
    repolist: 32,446

    If not, add the channel (using rhn commands) or the repo (using yum), here is yum:

    sudo yum-config-manager --enable rhel-server-dts2-6-rpms
    sudo yum-config-manager --enable rhel-server-rhscl-6-rpms

    Ok, once you have those, we need to install Eclipse and Python.

    sudo yum install devtoolset-2-eclipse python27

    Now we need to get PyDev, first step of which is getting the certificate and installing it. However, note, if you are using the alternatives system in RHEL, you don't need to start Eclipse and find java_home, you can use the alternatives keytool directly. If you are not, you can just run eclipse with "scl enable devtoolset-2 eclipse".
    Here is what worked on my machine, YMMV. See PyDev Install for more ideas.

    [lwhite@lwhite-laptop ~]$ cd /tmp
    [lwhite@lwhite-laptop tmp]$ wget http://pydev.org/pydev_certificate.cer
    [lwhite@lwhite-laptop tmp]$ keytool -import -file /tmp/pydev_certificate.cer
    Enter keystore password:
    Owner: CN=Brainwy Software, OU=PyDev, O=Brainwy, L=Florianopolis, ST=SC, C=Brazil
    
    Trust this certificate? [no]:  yes
    Certificate was added to keystore

    After the certificate is installed, you can now actually run eclipse and install the plugin the "normal" way.

    scl enable devtoolset-2 python27 eclipse

    Go to "Help | Install New Software..." Add the update site.
    Screenshot: Add Repository
    Skipping many "next" buttons and "confirms" (if you want a step by step, check out the PyDev Install).

    When you get to the restart step, you may want to say "no," then exit, and restart with the scl enable command. We will make this easier later.

    We need to setup the interpreter now, so startup Eclipse again. Then, go to "Window | Preferences", Then "PyDev | Interpreter - Python" and then click on "New..." ("Auto Config" may not work). Once there, give it an appropriate name then browse to the interpreter installed by SCL Python27 ("/opt/rh/python27/root/usr/bin/python").

    Screenshot: Select interpreter

    OK, now once you hit OK, you need to select all of the libraries (Eclipse may just figure it out). See below:

    Screenshot: Selection needed

    Now, click OK/Confirm/What-have-you, until you get out of Preferences and everything should be set.

    To make things easier you can create an alias and maybe add it to your .bashrc, try

    alias eclipse-python="scl enable devtoolset-2 python27 eclipse"
    Last updated: November 2, 2023

    Recent Posts

    • Trusted software factory: Building trust in the agentic AI era

    • Build a zero trust AI pipeline with OpenShift and RHEL CVMs

    • Red Hat Hardened Images: Top 5 benefits for software developers

    • How EvalHub manages two-layer Kubernetes control planes

    • Tekton joins the CNCF as an incubating project

    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Platforms

    • Red Hat AI
    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Build

    • Developer Sandbox
    • Developer tools
    • Interactive tutorials
    • API catalog

    Quicklinks

    • Learning resources
    • E-books
    • Cheat sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site status dashboard
    • Report a security problem

    RED HAT DEVELOPER

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit
    © 2026 Red Hat

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility

    Chat Support

    Please log in with your Red Hat account to access chat support.