{"id":16035,"date":"2024-09-18T13:07:37","date_gmt":"2024-09-18T17:07:37","guid":{"rendered":"https:\/\/kb.n0c.com\/?post_type=ht_kb&#038;p=16035"},"modified":"2026-09-28T10:08:08","modified_gmt":"2026-09-28T14:08:08","slug":"how-to-install-ghostscript","status":"publish","type":"ht_kb","link":"https:\/\/kb.n0c.com\/en\/knowledge-base\/how-to-install-ghostscript\/","title":{"rendered":"How to Install GhostScript"},"content":{"rendered":"\n<p>This article explains how to install GhostScript as a N0C user.<\/p>\n\n\n\n<p>Ghostscript is an interpreter for PostScript and PDF files. Among other things, it is used to convert JPG and PDF files. Many webmasters need to use it.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Procedure<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"etape-2-connexion-en-ssh\">Step 1 \u2014 Connexion to N0C<\/h3>\n\n\n\n<p>If you wish to perform the rest of the operations in SSH, please refer to the article <a href=\"https:\/\/kb.n0c.com\/en\/knowledge-base\/how-to-create-an-ssh-key-and-connect-to-an-account\/\" target=\"_blank\" rel=\"noreferrer noopener\">how to create an SSH key and connect to an account remotely<\/a>.<\/p>\n\n\n\n<p>If you prefer, you can also follow the instructions in the article <a href=\"https:\/\/kb.n0c.com\/en\/knowledge-base\/how-to-use-the-mg-panel-terminal\/\">How to use the MG panel terminal<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2 \u2014 Installation<\/h3>\n\n\n\n<p>To install GhostScript, copy and paste this text into a terminal (use the most recent version if possible):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>wget https:\/\/github.com\/ArtifexSoftware\/ghostpdl-downloads\/releases\/download\/gs950\/ghostscript-9.50.tar.gz\ntar -xvf ghostscript-9.50.tar.gz\ncd ghostscript-9.50\n.\/configure --prefix=$HOME\/ghostscript\nmake\nmake install\necho \"export PATH=$HOME\/ghostscript\/bin:$PATH\" &gt;&gt; ~\/.bashrc\necho \"export LD_LIBRARY_PATH=$HOME\/ghostscript\/lib\" &gt;&gt; ~\/.bashrc\nsource ~\/.bashrc<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>This article explains how to install GhostScript as a N0C user. Ghostscript is an interpreter for PostScript and PDF files. Among other things, it is used to convert JPG and PDF files. Many webmasters need to use it. Procedure Step 1 \u2014 Connexion to N0C If you wish to perform&#8230;<\/p>\n","protected":false},"author":4,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[163],"ht-kb-tag":[388,176,384],"class_list":["post-16035","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-languages","ht_kb_tag-ghostscript","ht_kb_tag-n0c-2","ht_kb_tag-wordpress-2"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install GhostScript with N0C<\/title>\n<meta name=\"description\" content=\"This article explains how to install GhostScript as a N0C user. GhostScript is used to convert jpg and pdf files.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/kb.n0c.com\/en\/knowledge-base\/how-to-install-ghostscript\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install GhostScript with N0C\" \/>\n<meta property=\"og:description\" content=\"This article explains how to install GhostScript as a N0C user. GhostScript is used to convert jpg and pdf files.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kb.n0c.com\/en\/knowledge-base\/how-to-install-ghostscript\/\" \/>\n<meta property=\"og:site_name\" content=\"N0C KB\" \/>\n<meta property=\"article:modified_time\" content=\"2026-09-28T14:08:08+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/kb.n0c.com\\\/en\\\/knowledge-base\\\/how-to-install-ghostscript\\\/\",\"url\":\"https:\\\/\\\/kb.n0c.com\\\/en\\\/knowledge-base\\\/how-to-install-ghostscript\\\/\",\"name\":\"How to Install GhostScript with N0C\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/kb.n0c.com\\\/#website\"},\"datePublished\":\"2024-09-18T17:07:37+00:00\",\"dateModified\":\"2026-09-28T14:08:08+00:00\",\"description\":\"This article explains how to install GhostScript as a N0C user. GhostScript is used to convert jpg and pdf files.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/kb.n0c.com\\\/en\\\/knowledge-base\\\/how-to-install-ghostscript\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/kb.n0c.com\\\/en\\\/knowledge-base\\\/how-to-install-ghostscript\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/kb.n0c.com\\\/en\\\/knowledge-base\\\/how-to-install-ghostscript\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\\\/\\\/kb.n0c.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Articles\",\"item\":\"https:\\\/\\\/kb.n0c.com\\\/en\\\/knowledge-base\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to Install GhostScript\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/kb.n0c.com\\\/#website\",\"url\":\"https:\\\/\\\/kb.n0c.com\\\/\",\"name\":\"N0C KB\",\"description\":\"Official documentation of the N0C hosting platform\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/kb.n0c.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install GhostScript with N0C","description":"This article explains how to install GhostScript as a N0C user. GhostScript is used to convert jpg and pdf files.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/kb.n0c.com\/en\/knowledge-base\/how-to-install-ghostscript\/","og_locale":"en_US","og_type":"article","og_title":"How to Install GhostScript with N0C","og_description":"This article explains how to install GhostScript as a N0C user. GhostScript is used to convert jpg and pdf files.","og_url":"https:\/\/kb.n0c.com\/en\/knowledge-base\/how-to-install-ghostscript\/","og_site_name":"N0C KB","article_modified_time":"2026-09-28T14:08:08+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/kb.n0c.com\/en\/knowledge-base\/how-to-install-ghostscript\/","url":"https:\/\/kb.n0c.com\/en\/knowledge-base\/how-to-install-ghostscript\/","name":"How to Install GhostScript with N0C","isPartOf":{"@id":"https:\/\/kb.n0c.com\/#website"},"datePublished":"2024-09-18T17:07:37+00:00","dateModified":"2026-09-28T14:08:08+00:00","description":"This article explains how to install GhostScript as a N0C user. GhostScript is used to convert jpg and pdf files.","breadcrumb":{"@id":"https:\/\/kb.n0c.com\/en\/knowledge-base\/how-to-install-ghostscript\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kb.n0c.com\/en\/knowledge-base\/how-to-install-ghostscript\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/kb.n0c.com\/en\/knowledge-base\/how-to-install-ghostscript\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/kb.n0c.com\/"},{"@type":"ListItem","position":2,"name":"Articles","item":"https:\/\/kb.n0c.com\/en\/knowledge-base\/"},{"@type":"ListItem","position":3,"name":"How to Install GhostScript"}]},{"@type":"WebSite","@id":"https:\/\/kb.n0c.com\/#website","url":"https:\/\/kb.n0c.com\/","name":"N0C KB","description":"Official documentation of the N0C hosting platform","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kb.n0c.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/kb.n0c.com\/en\/wp-json\/wp\/v2\/ht-kb\/16035","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kb.n0c.com\/en\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/kb.n0c.com\/en\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/kb.n0c.com\/en\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.n0c.com\/en\/wp-json\/wp\/v2\/comments?post=16035"}],"version-history":[{"count":13,"href":"https:\/\/kb.n0c.com\/en\/wp-json\/wp\/v2\/ht-kb\/16035\/revisions"}],"predecessor-version":[{"id":25237,"href":"https:\/\/kb.n0c.com\/en\/wp-json\/wp\/v2\/ht-kb\/16035\/revisions\/25237"}],"wp:attachment":[{"href":"https:\/\/kb.n0c.com\/en\/wp-json\/wp\/v2\/media?parent=16035"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/kb.n0c.com\/en\/wp-json\/wp\/v2\/ht-kb-category?post=16035"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/kb.n0c.com\/en\/wp-json\/wp\/v2\/ht-kb-tag?post=16035"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}