{"id":10516,"date":"2020-07-18T14:54:14","date_gmt":"2020-07-18T14:54:14","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=10516"},"modified":"2020-07-23T14:09:58","modified_gmt":"2020-07-23T14:09:58","slug":"install-procdump-ubuntu-20-04-18-04","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2020\/07\/install-procdump-ubuntu-20-04-18-04\/","title":{"rendered":"How to Install Microsoft ProcDump in Ubuntu 20.04, 18.04"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/06\/ubuntu-icon.png\" alt=\"\" width=\"250\" height=\"250\" class=\"aligncenter size-full wp-image-10245\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/06\/ubuntu-icon.png 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/06\/ubuntu-icon-150x150.png 150w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/p>\n<p><b>This quick tutorial shows how to install the latest ProcDump for Linux via the official Microsoft apt repository in Ubuntu 20.04, Ubuntu 19.10, Ubuntu 18.04, Ubuntu 16.04, and Linux Mint.<\/b><\/p>\n<p>&#8220;<i>ProcDump is a Linux reimagining of the classic ProcDump tool from the Sysinternals suite of tools for Windows. ProcDump provides a convenient way for Linux developers to create core dumps of their application based on performance triggers.<\/i>&#8221;<\/p>\n<p><b>1. Setup Microsoft apt repository in Ubuntu:<\/b><\/p>\n<p>Open <u>terminal<\/u> from your system application launcher. When it opens, run command to download the official .deb package:<\/p>\n<pre style=\"border:none;\">wget -q https:\/\/packages.microsoft.com\/config\/ubuntu\/$(lsb_release -rs)\/packages-microsoft-prod.deb -O packages-microsoft-prod.deb<\/pre>\n<p><i>For Linux Mint, replace <code>$(lsb_release -rs)<\/code> in the code with <code>20.04<\/code> for Linux Mint 20 (or <code>18.04<\/code> for Mint 19.x).<\/i><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/07\/wget-mspack.png\" alt=\"\" width=\"560\" height=\"107\" class=\"aligncenter size-full wp-image-10517\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/07\/wget-mspack.png 560w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/07\/wget-mspack-450x86.png 450w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/p>\n<p>Then install the package, which will install Microsoft repository and key, by running command:<\/p>\n<pre style=\"border:none;\">sudo dpkg -i packages-microsoft-prod.deb<\/pre>\n<p><i>Type user password (no asterisk feedback) for sudo prompts and hit Enter.<\/i><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/07\/setup-mspack.png\" alt=\"\" width=\"560\" height=\"96\" class=\"aligncenter size-full wp-image-10518\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/07\/setup-mspack.png 560w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/07\/setup-mspack-450x77.png 450w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/p>\n<p><b>2. Install ProcDump via apt:<\/b><\/p>\n<p>After adding the apt repository, refresh system package cache by running command:<\/p>\n<pre style=\"border:none;\">sudo apt update<\/pre>\n<p>Finally install ProcDump via command:<\/p>\n<pre style=\"border:none;\">sudo apt install procdump<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/07\/apt-procdump.png\" alt=\"\" width=\"560\" height=\"164\" class=\"aligncenter size-full wp-image-10519\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/07\/apt-procdump.png 560w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/07\/apt-procdump-450x132.png 450w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/p>\n<p><b>3.<\/b> Check ProcDump installation by running command:<\/p>\n<pre style=\"border:none;\">procdump -h<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/07\/procdump-h.png\" alt=\"\" width=\"560\" height=\"254\" class=\"aligncenter size-full wp-image-10520\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/07\/procdump-h.png 560w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/07\/procdump-h-450x204.png 450w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/p>\n<h4>Uninstall:<\/h4>\n<p>To uninstall procdump, simply run command in terminal:<\/p>\n<pre style=\"border:none;\">sudo apt remove procdump<\/pre>\n<p>And remove the apt repository by launching <b>Software &#038; Updates<\/b> and navigating to <i>Other Software<\/i> tab.<\/p>","protected":false},"excerpt":{"rendered":"<p>This quick tutorial shows how to install the latest ProcDump for Linux via the official Microsoft apt repository in Ubuntu 20.04, Ubuntu 19.10, Ubuntu 18.04, Ubuntu 16.04, and Linux Mint. &#8220;ProcDump is a Linux reimagining of the classic ProcDump tool from the Sysinternals suite of tools for Windows. ProcDump provides a convenient way for Linux [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[1958,1959],"class_list":["post-10516","post","type-post","status-publish","format-standard","hentry","category-howtos","tag-procdump-for-linux","tag-procdump-ppa"],"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/10516","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=10516"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/10516\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=10516"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=10516"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=10516"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}