def linux_debian_install(package_name):
    qt = qt_available()
    try:
        import apt
        import apt_pkg
    except __HOLE__:
        qt = False
    hide_splash_if_necessary()

    if qt:
        cmd = shell_escape(vistrails_root_directory() +
                           '/gui/bundles/linux_debian_install.py')
    else:
        cmd = '%s install -y' % ('aptitude'
                                 if executable_is_in_path('aptitude')
                                 else 'apt-get')

    return run_install_command(qt, cmd, package_name)
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/gui/bundles/installbundle.py/linux_debian_install