{"id":43533,"date":"2023-01-05T16:57:52","date_gmt":"2023-01-05T16:57:52","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=43533"},"modified":"2024-05-08T15:05:51","modified_gmt":"2024-05-08T15:05:51","slug":"compile-install-pinta-2-1","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2023\/01\/compile-install-pinta-2-1\/","title":{"rendered":"How to Compile &#038; Install Pinta 2.1 from Source in Ubuntu 24.04 | 22.04"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/11\/pinta-icon.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-35810\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/11\/pinta-icon-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/11\/pinta-icon-250x250.webp 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/11\/pinta-icon-300x300.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/11\/pinta-icon-600x600.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/11\/pinta-icon-768x768.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/11\/pinta-icon.webp 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p>For Pinta users who do NOT like the Snap and Flatpak packages that run in sandbox. Here&#8217;s how to build the 2.1 release from source tarball in Ubuntu 22.04 &amp; Ubuntu 24.04<\/p>\n<p>Pinta has switch to .NET 6.0 framework since version 2.0, and support .NET 8 via 2.1.2. Which however needs internet connection to fetch something for the first time during the build time. And, most Linux so far still has Pinta v1.x in their system repositories.<\/p>\n<p>Thankfully, building Pinta 2.1 from source is not hard. And, here&#8217;s the step by step guide show you how!<\/p>\n<p><b>1.<\/b> Firstly, press <b>Ctrl+Alt+T<\/b> on keyboard to open terminal. When it opens, run command to install .NET 6 as well as dev libraries for building the package.<\/p>\n<pre>sudo apt install dotnet-sdk-8.0 debhelper autotools-dev autoconf-archive gettext intltool libgtk-3-dev<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/01\/apt-pinta-deps.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-43534\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/01\/apt-pinta-deps-600x407.webp\" alt=\"\" width=\"600\" height=\"407\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/01\/apt-pinta-deps-600x407.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/01\/apt-pinta-deps-300x203.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/01\/apt-pinta-deps-768x521.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/01\/apt-pinta-deps.webp 786w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p><b>2.<\/b> Next, download the source tarball from github release page (under &#8216;Assets&#8217; section):<\/p>\n<div class=\"wp-block-buttons aligncenter\">\n<div class=\"wp-block-button is-style-fill\"><a class=\"wp-block-button__link has-vivid-cyan-blue-to-vivid-purple-gradient-background has-text-color has-background\" href=\"https:\/\/github.com\/PintaProject\/Pinta\/releases\" target=\"_blank\" rel=\"noreferrer noopener\">Download Pinta (source)<\/a><\/div>\n<\/div>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/01\/download-pinta.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-43535\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/01\/download-pinta-600x357.webp\" alt=\"\" width=\"600\" height=\"357\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/01\/download-pinta-600x357.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/01\/download-pinta-300x178.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/01\/download-pinta-768x457.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/01\/download-pinta.webp 814w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p><b>3.<\/b> Then, extract the tarball in file manager. Right-click on source folder and select &#8220;Open in Terminal&#8221;.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/01\/open-pinta-terminal.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-43536\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/01\/open-pinta-terminal-600x334.webp\" alt=\"\" width=\"600\" height=\"334\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/01\/open-pinta-terminal-600x334.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/01\/open-pinta-terminal-300x167.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/01\/open-pinta-terminal-768x428.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/01\/open-pinta-terminal.webp 901w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p><b>4.<\/b> The last step will open a terminal window and automatically navigate to the Pinta source folder as working directory.<\/p>\n<p>In the terminal window, run command to configure the source:<\/p>\n<pre>.\/configure<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/01\/configure-pinta21.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-43537\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/01\/configure-pinta21-600x407.webp\" alt=\"\" width=\"600\" height=\"407\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/01\/configure-pinta21-600x407.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/01\/configure-pinta21-300x203.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/01\/configure-pinta21-768x521.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/01\/configure-pinta21.webp 786w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>And, finally compile and install it via:<\/p>\n<pre>sudo make install<\/pre>\n<p><b>NOTE: This step needs internet connection if you&#8217;re first time using dotnet to build a package. And, it may fail if you&#8217;ve ever installed .NET 7.0 but removed (not completely) and use .NET 8.0 now.<\/b><\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/01\/make-succeed.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-43538\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/01\/make-succeed-600x407.webp\" alt=\"\" width=\"600\" height=\"407\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/01\/make-succeed-600x407.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/01\/make-succeed-300x203.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/01\/make-succeed-768x521.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/01\/make-succeed.webp 786w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>If everything&#8217;s done without any error, you should now be able to search for and launch Pinta from system start menu (&#8216;Activities&#8217; overview).<\/p>\n<h3>Uninstall:<\/h3>\n<p>Until you remove the source folder, you can run <code>sudo make uninstall<\/code> at any time from in that folder to uninstall Pinta package.<\/p>\n<p>If you&#8217;ve removed the source folder, re-do the previous steps and replace the last command with <code>sudo make uninstall<\/code>.<\/p>","protected":false},"excerpt":{"rendered":"<p>For Pinta users who do NOT like the Snap and Flatpak packages that run in sandbox. Here&#8217;s how to build the 2.1 release from source tarball in Ubuntu 22.04 &amp; Ubuntu 24.04 Pinta has switch to .NET 6.0 framework since version 2.0, and support .NET 8 via 2.1.2. Which however needs internet connection to fetch [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":35810,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[1085],"class_list":["post-43533","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-image-editor"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/43533","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=43533"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/43533\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/35810"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=43533"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=43533"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=43533"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}