{"id":126,"date":"2021-09-14T15:50:47","date_gmt":"2021-09-14T09:50:47","guid":{"rendered":"https:\/\/bytegeeks.net\/blog\/?p=126"},"modified":"2021-09-14T15:50:52","modified_gmt":"2021-09-14T09:50:52","slug":"how-to-install-mono-in-raspberry-pi","status":"publish","type":"post","link":"https:\/\/bytegeeks.net\/blog\/how-to-install-mono-in-raspberry-pi\/","title":{"rendered":"How to install Mono in Raspberry Pi"},"content":{"rendered":"\n<p>What is mono? In short <strong>Mono<\/strong>&nbsp;is a software platform designed to allow developers to easily create cross platform applications part of the&nbsp;<a href=\"https:\/\/www.dotnetfoundation.org\/\">.NET Foundation<\/a>. You can read more about it <a href=\"https:\/\/www.mono-project.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a>. Well this article isn&#8217;t about the <em>&#8220;What&#8221; <\/em>it&#8217;s about the &#8220;<em>How&#8221;<\/em> to install mono in raspberry pi.<\/p>\n\n\n\n<p>Mono isn&#8217;t available to download from the default repository of Raspberry Pi, therefore, we have to add it. The repositories are different for the version of raspbian you&#8217;re running. To check your raspberry pi OS version run the following command.<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism off-numbers lang-bash\" data-lang=\"Bash\" data-show-lang=\"0\"><code>cat \/etc\/os-release<\/code><\/pre><\/div>\n\n\n\n<p>Run the following command to install the key that will authenticate the resources we download<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism off-numbers lang-bash\" data-lang=\"Bash\" data-show-lang=\"0\"><code>sudo apt install apt-transport-https dirmngr gnupg ca-certificates<\/code><\/pre><\/div>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism off-numbers lang-bash\" data-lang=\"Bash\" data-show-lang=\"0\"><code>sudo apt-key adv --keyserver hkp:\/\/keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF<\/code><\/pre><\/div>\n\n\n\n<p>Now that the key is installed we will need to add the repository. As we mentioned earlier the repositories are different for the version your Pi is running on. Mono offers repositories for Raspbian 10&nbsp;<small>(armhf)<\/small> and Raspbian 9&nbsp;<small>(armhf)<\/small>. Copy the one according to your Raspbian version.<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism off-numbers lang-bash\" data-file=\"Raspbian 10\u00a0(armhf)\" data-lang=\"Bash\" data-show-lang=\"0\"><code>echo &quot;deb https:\/\/download.mono-project.com\/repo\/debian stable-raspbianbuster main&quot; | sudo tee \/etc\/apt\/sources.list.d\/mono-official-stable.list<\/code><\/pre><\/div>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism off-numbers lang-bash\" data-file=\"Raspbian 9\u00a0(armhf)\" data-lang=\"Bash\" data-show-lang=\"0\"><code>echo &quot;deb https:\/\/download.mono-project.com\/repo\/debian stable-raspbianstretch main&quot; | sudo tee \/etc\/apt\/sources.list.d\/mono-official-stable.list<\/code><\/pre><\/div>\n\n\n\n<p>Once the repository is added, we need to update the system so that is flushes the cache and rebuilds it.<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism off-numbers lang-bash\" data-lang=\"Bash\" data-show-lang=\"0\"><code>sudo apt update<\/code><\/pre><\/div>\n\n\n\n<p>You should see the repository has been reached and updated to the system. Refer to the image below.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"763\" height=\"465\" src=\"https:\/\/bytegeeks.net\/blog\/wp-content\/uploads\/2021\/09\/Raspbian-Repositories.png\" alt=\"Raspberrypi-repositories-update\" class=\"wp-image-132\" srcset=\"https:\/\/bytegeeks.net\/blog\/wp-content\/uploads\/2021\/09\/Raspbian-Repositories.png 763w, https:\/\/bytegeeks.net\/blog\/wp-content\/uploads\/2021\/09\/Raspbian-Repositories-300x183.png 300w\" sizes=\"auto, (max-width: 763px) 100vw, 763px\" \/><\/figure><\/div>\n\n\n\n<p>Now that we have added and verified the repository. A one line command should install mono on your Raspberry Pi.<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism off-numbers lang-bash\" data-lang=\"Bash\" data-show-lang=\"0\"><code>sudo apt install mono-complete <\/code><\/pre><\/div>\n\n\n\n<p>That is it. We are done with installing Mono  on our Raspberry Pi. If you like this article, you may love <a href=\"https:\/\/bytegeeks.net\/blog\/category\/linux\/raspberrypi\/\">these<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is mono? In short Mono&nbsp;is a software platform designed to allow developers to easily create cross platform applications part of the&nbsp;.NET Foundation. You can read more about it here. Well this article isn&#8217;t about the &#8220;What&#8221; it&#8217;s about the &#8220;How&#8221; to install mono in raspberry pi. Mono isn&#8217;t available to download from the default [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":137,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[7],"tags":[14],"class_list":["post-126","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-raspberrypi","tag-how-to"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to install Mono in Raspberry Pi - ByteGeeks<\/title>\n<meta name=\"description\" content=\"Visit the site to learn the step-by-step process to install mono on raspberry pi for both raspbian OS 9 and 10\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/bytegeeks.net\/blog\/how-to-install-mono-in-raspberry-pi\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to install Mono in Raspberry Pi - ByteGeeks\" \/>\n<meta property=\"og:description\" content=\"Visit the site to learn the step-by-step process to install mono on raspberry pi for both raspbian OS 9 and 10\" \/>\n<meta property=\"og:url\" content=\"https:\/\/bytegeeks.net\/blog\/how-to-install-mono-in-raspberry-pi\/\" \/>\n<meta property=\"og:site_name\" content=\"ByteGeeks\" \/>\n<meta property=\"article:published_time\" content=\"2021-09-14T09:50:47+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-09-14T09:50:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/bytegeeks.net\/blog\/wp-content\/uploads\/2021\/09\/FeaturePhoto.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Redwan\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Redwan\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/bytegeeks.net\/blog\/how-to-install-mono-in-raspberry-pi\/\",\"url\":\"https:\/\/bytegeeks.net\/blog\/how-to-install-mono-in-raspberry-pi\/\",\"name\":\"How to install Mono in Raspberry Pi - ByteGeeks\",\"isPartOf\":{\"@id\":\"https:\/\/bytegeeks.net\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/bytegeeks.net\/blog\/how-to-install-mono-in-raspberry-pi\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/bytegeeks.net\/blog\/how-to-install-mono-in-raspberry-pi\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/bytegeeks.net\/blog\/wp-content\/uploads\/2021\/09\/FeaturePhoto.png\",\"datePublished\":\"2021-09-14T09:50:47+00:00\",\"dateModified\":\"2021-09-14T09:50:52+00:00\",\"author\":{\"@id\":\"https:\/\/bytegeeks.net\/blog\/#\/schema\/person\/419ede240aa968b3bf8202cf9e94e792\"},\"description\":\"Visit the site to learn the step-by-step process to install mono on raspberry pi for both raspbian OS 9 and 10\",\"breadcrumb\":{\"@id\":\"https:\/\/bytegeeks.net\/blog\/how-to-install-mono-in-raspberry-pi\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/bytegeeks.net\/blog\/how-to-install-mono-in-raspberry-pi\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/bytegeeks.net\/blog\/how-to-install-mono-in-raspberry-pi\/#primaryimage\",\"url\":\"https:\/\/bytegeeks.net\/blog\/wp-content\/uploads\/2021\/09\/FeaturePhoto.png\",\"contentUrl\":\"https:\/\/bytegeeks.net\/blog\/wp-content\/uploads\/2021\/09\/FeaturePhoto.png\",\"width\":1200,\"height\":630,\"caption\":\"Installing Mono\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/bytegeeks.net\/blog\/how-to-install-mono-in-raspberry-pi\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/bytegeeks.net\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to install Mono in Raspberry Pi\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/bytegeeks.net\/blog\/#website\",\"url\":\"https:\/\/bytegeeks.net\/blog\/\",\"name\":\"ByteGeeks\",\"description\":\"Your one-stop shop for everything IT\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/bytegeeks.net\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/bytegeeks.net\/blog\/#\/schema\/person\/419ede240aa968b3bf8202cf9e94e792\",\"name\":\"Redwan\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/bytegeeks.net\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/785ee4165b07a924d3e8538e8fd845bbd1d22e2680c18ebb16aa54890455e008?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/785ee4165b07a924d3e8538e8fd845bbd1d22e2680c18ebb16aa54890455e008?s=96&d=mm&r=g\",\"caption\":\"Redwan\"},\"description\":\"Just your average IT guy talking about IT stuff.\",\"sameAs\":[\"https:\/\/bytegeeks.net\/blog\"],\"url\":\"https:\/\/bytegeeks.net\/blog\/author\/redmin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to install Mono in Raspberry Pi - ByteGeeks","description":"Visit the site to learn the step-by-step process to install mono on raspberry pi for both raspbian OS 9 and 10","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:\/\/bytegeeks.net\/blog\/how-to-install-mono-in-raspberry-pi\/","og_locale":"en_US","og_type":"article","og_title":"How to install Mono in Raspberry Pi - ByteGeeks","og_description":"Visit the site to learn the step-by-step process to install mono on raspberry pi for both raspbian OS 9 and 10","og_url":"https:\/\/bytegeeks.net\/blog\/how-to-install-mono-in-raspberry-pi\/","og_site_name":"ByteGeeks","article_published_time":"2021-09-14T09:50:47+00:00","article_modified_time":"2021-09-14T09:50:52+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/bytegeeks.net\/blog\/wp-content\/uploads\/2021\/09\/FeaturePhoto.png","type":"image\/png"}],"author":"Redwan","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Redwan","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/bytegeeks.net\/blog\/how-to-install-mono-in-raspberry-pi\/","url":"https:\/\/bytegeeks.net\/blog\/how-to-install-mono-in-raspberry-pi\/","name":"How to install Mono in Raspberry Pi - ByteGeeks","isPartOf":{"@id":"https:\/\/bytegeeks.net\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/bytegeeks.net\/blog\/how-to-install-mono-in-raspberry-pi\/#primaryimage"},"image":{"@id":"https:\/\/bytegeeks.net\/blog\/how-to-install-mono-in-raspberry-pi\/#primaryimage"},"thumbnailUrl":"https:\/\/bytegeeks.net\/blog\/wp-content\/uploads\/2021\/09\/FeaturePhoto.png","datePublished":"2021-09-14T09:50:47+00:00","dateModified":"2021-09-14T09:50:52+00:00","author":{"@id":"https:\/\/bytegeeks.net\/blog\/#\/schema\/person\/419ede240aa968b3bf8202cf9e94e792"},"description":"Visit the site to learn the step-by-step process to install mono on raspberry pi for both raspbian OS 9 and 10","breadcrumb":{"@id":"https:\/\/bytegeeks.net\/blog\/how-to-install-mono-in-raspberry-pi\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/bytegeeks.net\/blog\/how-to-install-mono-in-raspberry-pi\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/bytegeeks.net\/blog\/how-to-install-mono-in-raspberry-pi\/#primaryimage","url":"https:\/\/bytegeeks.net\/blog\/wp-content\/uploads\/2021\/09\/FeaturePhoto.png","contentUrl":"https:\/\/bytegeeks.net\/blog\/wp-content\/uploads\/2021\/09\/FeaturePhoto.png","width":1200,"height":630,"caption":"Installing Mono"},{"@type":"BreadcrumbList","@id":"https:\/\/bytegeeks.net\/blog\/how-to-install-mono-in-raspberry-pi\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/bytegeeks.net\/blog\/"},{"@type":"ListItem","position":2,"name":"How to install Mono in Raspberry Pi"}]},{"@type":"WebSite","@id":"https:\/\/bytegeeks.net\/blog\/#website","url":"https:\/\/bytegeeks.net\/blog\/","name":"ByteGeeks","description":"Your one-stop shop for everything IT","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/bytegeeks.net\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/bytegeeks.net\/blog\/#\/schema\/person\/419ede240aa968b3bf8202cf9e94e792","name":"Redwan","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/bytegeeks.net\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/785ee4165b07a924d3e8538e8fd845bbd1d22e2680c18ebb16aa54890455e008?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/785ee4165b07a924d3e8538e8fd845bbd1d22e2680c18ebb16aa54890455e008?s=96&d=mm&r=g","caption":"Redwan"},"description":"Just your average IT guy talking about IT stuff.","sameAs":["https:\/\/bytegeeks.net\/blog"],"url":"https:\/\/bytegeeks.net\/blog\/author\/redmin\/"}]}},"jetpack_featured_media_url":"https:\/\/bytegeeks.net\/blog\/wp-content\/uploads\/2021\/09\/FeaturePhoto.png","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/bytegeeks.net\/blog\/wp-json\/wp\/v2\/posts\/126","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bytegeeks.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bytegeeks.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bytegeeks.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bytegeeks.net\/blog\/wp-json\/wp\/v2\/comments?post=126"}],"version-history":[{"count":7,"href":"https:\/\/bytegeeks.net\/blog\/wp-json\/wp\/v2\/posts\/126\/revisions"}],"predecessor-version":[{"id":138,"href":"https:\/\/bytegeeks.net\/blog\/wp-json\/wp\/v2\/posts\/126\/revisions\/138"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/bytegeeks.net\/blog\/wp-json\/wp\/v2\/media\/137"}],"wp:attachment":[{"href":"https:\/\/bytegeeks.net\/blog\/wp-json\/wp\/v2\/media?parent=126"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bytegeeks.net\/blog\/wp-json\/wp\/v2\/categories?post=126"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bytegeeks.net\/blog\/wp-json\/wp\/v2\/tags?post=126"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}