DEV Community

Patrick Schanen
Patrick Schanen

Posted on

sudo apt-get install pandoc

# Update System & Install Pandoc
➜  ~ sudo apt-get update && sudo apt-get install pandoc
[sudo] password for webdev: 
Hit:1 xenial InRelease
Hit:2 xenial InRelease                                                                       
Get:3 xenial-security InRelease [102 kB]                                                                                           
Ign:4 sonya InRelease                                                                                                      
Get:5 xenial-updates InRelease [102 kB]                                                                                                  
Hit:6 xenial InRelease                                                                                           
Get:7 sonya Release [24,1 kB]                                                                                   
Hit:8 xenial InRelease                                                                     
Get:9 sonya Release.gpg [819 B]                                                                            
Hit:10 xenial InRelease                                                                             
Get:11 xenial-backports InRelease [102 kB]                                              
Get:12 xenial InRelease [11,5 kB]                                                               
Hit:13 xenial InRelease                     
Get:14 xenial-security/main amd64 Packages [374 kB] 
Get:15 sonya/main amd64 Packages [18,1 kB]                 
Get:16 sonya/main i386 Packages [17,5 kB]                                
Get:17 xenial-updates/main amd64 Packages [643 kB]            
Get:18 xenial-security/main i386 Packages [348 kB]                                
Get:19 xenial-security/main Translation-en [165 kB]                                            
Get:20 xenial-security/universe amd64 Packages [176 kB]                                   
Get:21 xenial-security/universe i386 Packages [152 kB]                                    
Get:22 xenial-security/universe Translation-en [93,5 kB]                                  
Get:23 xenial-security/multiverse amd64 Packages [3.208 B]                                  
Get:24 xenial-security/multiverse i386 Packages [3.388 B]                    
Get:25 xenial/partner amd64 Packages [3.120 B]                       
Get:26 xenial/partner i386 Packages [3.120 B]   
Get:27 xenial-updates/main i386 Packages [611 kB]  
Get:28 xenial-updates/main Translation-en [269 kB]
Get:29 xenial-updates/universe amd64 Packages [540 kB]
Get:30 xenial-updates/universe i386 Packages [516 kB]
Get:31 xenial-updates/universe Translation-en [220 kB]
Get:32 xenial-updates/multiverse amd64 Packages [15,8 kB]
Get:33 xenial-updates/multiverse i386 Packages [15,0 kB]
Fetched 4.531 kB in 4s (1.047 kB/s)                          
Reading package lists... Done
Reading package lists... Done
Building dependency tree        
Reading state information... Done
The following additional packages will be installed:
  liblua5.1-0 libluajit-5.1-2 libluajit-5.1-common pandoc-data
Suggested packages:
  texlive-latex-recommended texlive-xetex texlive-luatex pandoc-citeproc etoolbox wkhtmltopdf
The following NEW packages will be installed:
  liblua5.1-0 libluajit-5.1-2 libluajit-5.1-common pandoc pandoc-data
0 upgraded, 5 newly installed, 0 to remove and 2 not upgraded.
Need to get 7.028 kB of archives.
After this operation, 55,2 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 xenial/main amd64 liblua5.1-0 amd64 5.1.5-8ubuntu1 [102 kB]
Get:2 xenial/universe amd64 libluajit-5.1-common all 2.0.4+dfsg-1 [35,3 kB]
Get:3 xenial/universe amd64 libluajit-5.1-2 amd64 2.0.4+dfsg-1 [205 kB]
Get:4 xenial/universe amd64 pandoc-data all [84,0 kB]
Get:5 xenial/universe amd64 pandoc amd64 [6.601 kB]
Fetched 7.028 kB in 7s (908 kB/s)                                                                                                                                         
Selecting previously unselected package liblua5.1-0:amd64.
(Reading database ... 239350 files and directories currently installed.)
Preparing to unpack .../liblua5.1-0_5.1.5-8ubuntu1_amd64.deb ...
Unpacking liblua5.1-0:amd64 (5.1.5-8ubuntu1) ...
Selecting previously unselected package libluajit-5.1-common.
Preparing to unpack .../libluajit-5.1-common_2.0.4+dfsg-1_all.deb ...
Unpacking libluajit-5.1-common (2.0.4+dfsg-1) ...
Selecting previously unselected package libluajit-5.1-2:amd64.
Preparing to unpack .../libluajit-5.1-2_2.0.4+dfsg-1_amd64.deb ...
Unpacking libluajit-5.1-2:amd64 (2.0.4+dfsg-1) ...
Selecting previously unselected package pandoc-data.
Preparing to unpack .../pandoc-data_1.16.0.2~dfsg-1_all.deb ...
Unpacking pandoc-data ( ...
Selecting previously unselected package pandoc.
Preparing to unpack .../pandoc_1.16.0.2~dfsg-1_amd64.deb ...
Unpacking pandoc ( ...
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up liblua5.1-0:amd64 (5.1.5-8ubuntu1) ...
Setting up libluajit-5.1-common (2.0.4+dfsg-1) ...
Setting up libluajit-5.1-2:amd64 (2.0.4+dfsg-1) ...
Setting up pandoc-data ( ...
Setting up pandoc ( ...
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Enter fullscreen mode Exit fullscreen mode
➜  ~ dpkg -L pandoc
Enter fullscreen mode Exit fullscreen mode
# Pandoc Version
➜  ~ pandoc -v
Compiled with texmath, highlighting-kate 0.6.1.
Syntax highlighting is supported for the following languages:
    abc, actionscript, ada, agda, apache, asn1, asp, awk, bash, bibtex, boo, c,
    changelog, clojure, cmake, coffee, coldfusion, commonlisp, cpp, cs, css,
    curry, d, diff, djangotemplate, dockerfile, dot, doxygen, doxygenlua, dtd,
    eiffel, email, erlang, fasm, fortran, fsharp, gcc, glsl, gnuassembler, go,
    haskell, haxe, html, idris, ini, isocpp, java, javadoc, javascript, json,
    jsp, julia, kotlin, latex, lex, lilypond, literatecurry, literatehaskell,
    llvm, lua, m4, makefile, mandoc, markdown, mathematica, matlab, maxima,
    mediawiki, metafont, mips, modelines, modula2, modula3, monobasic, nasm,
    noweb, objectivec, objectivecpp, ocaml, octave, opencl, pascal, perl, php,
    pike, postscript, prolog, pure, python, r, relaxng, relaxngcompact, rest,
    rhtml, roff, ruby, rust, scala, scheme, sci, sed, sgml, sql, sqlmysql,
    sqlpostgresql, tcl, tcsh, texinfo, verilog, vhdl, xml, xorg, xslt, xul,
    yacc, yaml, zsh
Default user data directory: /home/webdev/.pandoc
Copyright (C) 2006-2015 John MacFarlane
This is free software; see the source for copying conditions.
There is no warranty, not even for merchantability or fitness
for a particular purpose.
Enter fullscreen mode Exit fullscreen mode
# To remove the pandoc following command is used:

sudo apt-get remove  pandoc
Enter fullscreen mode Exit fullscreen mode
# Following command is used to remove the pandoc
# package along with its dependencies:

sudo apt-get remove --auto-remove pandoc
Enter fullscreen mode Exit fullscreen mode
# Following command should be used with care as it deletes all the 
# configuration files and data:

sudo apt-get purge pandoc

# or you can use following command also:

sudo apt-get purge --auto-remove pandoc
Enter fullscreen mode Exit fullscreen mode


Top comments (1)

mutu profile image
Murat Tunç

Many Thanks Patrick