public boolean installForLinux() {
        boolean result = false;
        File installer = extractInstaller();
        if(installer!=null) {
            if(label!=null) {
                label.setText("<html>Installing driver...");
            }
            if(installer!=null) {
                try {
                    Process p = Runtime.getRuntime().exec("xterm +hold -e sudo dpkg -i "
                            + installer.getAbsolutePath());
                    OutputStream os = p.getOutputStream();
                    os.flush();
                    os.close();
                    TextStreamConsumer stdout = new TextStreamConsumer(p.getInputStream());
                    stdout.start();
                    TextStreamConsumer stderr = new TextStreamConsumer(p.getErrorStream());
                    stderr.start();
                    result = (p.waitFor()==0);
                    stdout.waitFor();
                    stderr.waitFor();
                    installer.delete();
                    result = true;
                } catch (Exception e) {
                    System.err.println("Unable to install " + driver.file());
                    e.printStackTrace();
                }
            }
        }
        return result;
    }