Hope I am not creating a double post. I checked but did not find.I am running Ubuntu 22.04 on my Lenovo and I installed Pandoc bysudo apt-get install pandoc
(found it here )
Installation went without any error messages. Here is what the terminal showed
Reading package lists... DoneBuilding dependency tree... DoneReading state information... DoneThe following additional packages will be installed: libcmark-gfm-extensions0.29.0.gfm.3 libcmark-gfm0.29.0.gfm.3 pandoc-dataSuggested packages: texlive-xetex pandoc-citeproc context wkhtmltopdf librsvg2-bin groff ghc nodejs php python r-base-core libjs-katex citation-style-language-stylesThe following NEW packages will be installed libcmark-gfm-extensions0.29.0.gfm.3 libcmark-gfm0.29.0.gfm.3 pandoc pandoc-data0 to upgrade, 4 to newly install, 0 to remove and 22 not to upgrade.Need to get 20,6 MB of archives.After this operation, 156 MB of additional disk space will be used.Do you want to continue? [Y/n] YGet:1 http://de.archive.ubuntu.com/ubuntu jammy/universe amd64 libcmark-gfm0.29.0.gfm.3 amd64 0.29.0.gfm.3-3 [115 kB]Get:2 http://de.archive.ubuntu.com/ubuntu jammy/universe amd64 libcmark-gfm-extensions0.29.0.gfm.3 amd64 0.29.0.gfm.3-3 [25,1 kB]Get:3 http://de.archive.ubuntu.com/ubuntu jammy/universe amd64 pandoc-data all 2.9.2.1-3ubuntu2 [81,8 kB]Get:4 http://de.archive.ubuntu.com/ubuntu jammy/universe amd64 pandoc amd64 2.9.2.1-3ubuntu2 [20,3 MB]Fetched 20,6 MB in 1min 25s (242 kB/s) Selecting previously unselected package libcmark-gfm0.29.0.gfm.3:amd64.(Reading database ... 327293 files and directories currently installed.)Preparing to unpack .../libcmark-gfm0.29.0.gfm.3_0.29.0.gfm.3-3_amd64.deb ...Unpacking libcmark-gfm0.29.0.gfm.3:amd64 (0.29.0.gfm.3-3) ...Selecting previously unselected package libcmark-gfm-extensions0.29.0.gfm.3:amd64.Preparing to unpack .../libcmark-gfm-extensions0.29.0.gfm.3_0.29.0.gfm.3-3_amd64.deb ...Unpacking libcmark-gfm-extensions0.29.0.gfm.3:amd64 (0.29.0.gfm.3-3) ...Selecting previously unselected package pandoc-data.Preparing to unpack .../pandoc-data_2.9.2.1-3ubuntu2_all.deb ...Unpacking pandoc-data (2.9.2.1-3ubuntu2) ...Selecting previously unselected package pandoc.Preparing to unpack .../pandoc_2.9.2.1-3ubuntu2_amd64.deb ...Unpacking pandoc (2.9.2.1-3ubuntu2) ...Setting up libcmark-gfm0.29.0.gfm.3:amd64 (0.29.0.gfm.3-3) ...Setting up libcmark-gfm-extensions0.29.0.gfm.3:amd64 (0.29.0.gfm.3-3) ...Setting up pandoc-data (2.9.2.1-3ubuntu2) ...Setting up pandoc (2.9.2.1-3ubuntu2) ...Processing triggers for man-db (2.10.2-1) ...Processing triggers for libc-bin (2.35-0ubuntu3.8) ...
When I ran pandoc --version
I got this message
bash: /usr/local/bin/pandoc: cannot execute binary file: Exec format error
What might be wrong? What can I do to install pandoc without a hitch and use it?