def get_pandoc
      return if has_pandoc
      Dir.mktmpdir do |dir|
        Dir.chdir(dir) do
          system("wget #{PANDOC_URL} -O pandoc.deb")
          system("sudo dpkg -i pandoc.deb")
        end
      end
    end
def get_pandoc
      return if has_pandoc
      Dir.mktmpdir do |dir|
        Dir.chdir(dir) do
          system("wget #{PANDOC_URL} -O pandoc.deb")
          system("sudo dpkg -i pandoc.deb")
        end
      end
    end
FIXME make this conditional to different types of platforms