{"id":17,"date":"2007-05-24T14:03:22","date_gmt":"2007-05-24T13:03:22","guid":{"rendered":"http:\/\/www.miscdebris.net\/blog\/?p=17"},"modified":"2008-01-23T16:30:50","modified_gmt":"2008-01-23T15:30:50","slug":"how-to-remove-programs-installed-from-source-in-linux","status":"publish","type":"post","link":"http:\/\/www.miscdebris.net\/blog\/2007\/05\/24\/how-to-remove-programs-installed-from-source-in-linux\/","title":{"rendered":"How to remove programs installed from source in Linux"},"content":{"rendered":"<p>Though you can usually install most programs in Linux comfortably with the package manager of you Linux distribution (rpm, deb, etc.), sometimes you need to compile something from source.<\/p>\n<p>For example gnuplot in Debian\/Ubuntu has the readline functionality not compiled in, which makes it rather hard to use. But I&#8217;m somewhat reluctant to install these programs with &#8220;make install&#8221; since they are somewhere copied into system and it&#8217;s practically not possible to remove them except with &#8220;make uninstall&#8221; &#8211; but this option is not always available and you have to keep the sources of the program you installed.<\/p>\n<p>But don&#8217;t renounce yet. There is <a href=\"http:\/\/paco.sourceforge.net\/index.html\" target=\"_blank\">paco<\/a>. This little gem allows one to log the &#8220;make install&#8221; process. paco is than able to remove all installed files if one decides so. Installing paco is easy.<\/p>\n<ul>\n<li> Download and untar it somewhere, cd into new directory<\/li>\n<li><code>sudo apt-get install libgtk2.0-dev<\/code> (if you don&#8217;t have gtk devel installed)<code> or sudo apt-get install libgtkmm-2.4-dev (if you install paco 2.0 or newer)<\/code><\/li>\n<li><code>.\/configure --prefix=\/usr\/local<\/code><\/li>\n<li><code>make<\/code><\/li>\n<li><code>sudo make install<\/code><\/li>\n<li><code>sudo make logme<\/code><\/li>\n<\/ul>\n<p>paco is now installed, paco itself is also logged in its database. If you want now to install something if it should be logged with the name of the current directory as the name for the package replace the last &#8220;make install&#8221; command with<\/p>\n<p><code>sudo paco -lD make install<\/code><\/p>\n<p>to set the name of the package yourself, use<\/p>\n<p><code>sudo paco -lp foo-1.0 \"make -C src install\"<\/code><\/p>\n<p>In order to see what packages are installed or to remove a package use <code>sudo gpaco<\/code>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Though you can usually install most programs in Linux comfortably with the package manager of you Linux distribution (rpm, deb, etc.), sometimes you need to compile something from source. For example gnuplot in Debian\/Ubuntu has the readline functionality not compiled in, which makes it rather hard to use. But I&#8217;m somewhat reluctant to install these &hellip; <a href=\"http:\/\/www.miscdebris.net\/blog\/2007\/05\/24\/how-to-remove-programs-installed-from-source-in-linux\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">How to remove programs installed from source in Linux<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[9],"tags":[],"class_list":["post-17","post","type-post","status-publish","format-standard","hentry","category-linux"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6pnj-h","_links":{"self":[{"href":"http:\/\/www.miscdebris.net\/blog\/wp-json\/wp\/v2\/posts\/17"}],"collection":[{"href":"http:\/\/www.miscdebris.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.miscdebris.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.miscdebris.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.miscdebris.net\/blog\/wp-json\/wp\/v2\/comments?post=17"}],"version-history":[{"count":0,"href":"http:\/\/www.miscdebris.net\/blog\/wp-json\/wp\/v2\/posts\/17\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.miscdebris.net\/blog\/wp-json\/wp\/v2\/media?parent=17"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.miscdebris.net\/blog\/wp-json\/wp\/v2\/categories?post=17"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.miscdebris.net\/blog\/wp-json\/wp\/v2\/tags?post=17"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}