{"id":3326,"date":"2024-05-17T21:15:15","date_gmt":"2024-05-17T15:45:15","guid":{"rendered":"https:\/\/www.veeble.org\/kb\/?p=3326"},"modified":"2025-04-10T11:04:04","modified_gmt":"2025-04-10T05:34:04","slug":"how-to-remove-ppa-in-ubuntu-and-debian","status":"publish","type":"post","link":"https:\/\/www.veeble.com\/kb\/how-to-remove-ppa-in-ubuntu-and-debian\/","title":{"rendered":"How to Remove PPAs in Ubuntu &amp; Debian-Based Systems"},"content":{"rendered":"\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.veeble.org\/kb\/wp-content\/uploads\/2024\/05\/ppa-1.jpg\" target=\"_blank\" rel=\"noopener\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1200\" height=\"478\" data-id=\"3328\" src=\"https:\/\/www.veeble.org\/kb\/wp-content\/uploads\/2024\/05\/ppa-1.jpg\" alt=\"How to remove PPAs\" class=\"wp-image-3328\" srcset=\"https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/05\/ppa-1.jpg 1200w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/05\/ppa-1-300x120.jpg 300w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/05\/ppa-1-1024x408.jpg 1024w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/05\/ppa-1-768x306.jpg 768w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/a><\/figure>\n<\/figure>\n\n\n\n<p>PPA stands for Personal Package Archive and is specific to Debian-based Linux distributions. It is a collection of non-standard program packages hosted on Launchpad, allowing developers to distribute software updates more frequently than the official repositories. Other Linux distributions have their own methods for handling third-party repositories.<br>PPAs are integrated into the APT (Advanced Package Tool) package management system. This system uses <code>.deb<\/code> packages and the <code><a href=\"https:\/\/www.veeble.org\/kb\/sources-list-file-urls-ubuntu\/\" target=\"_blank\" rel=\"noopener\">sources.list<\/a><\/code> file to manage repositories and software installations. <\/p>\n\n\n\n<p>Sometimes it may be necessary to remove a PPA, either because it is no longer needed or is causing issues. This knowledge base provides detailed steps for removing PPAs with explanations.<\/p>\n\n\n<h4 class=\"wp-block-heading\" id=\"removing-ppa-via-terminal\">Removing PPA via Terminal <\/h4>\n\n<h5 class=\"wp-block-heading\" id=\"listing-all-the-ppas-in-the-system\">Listing all the PPAs in the system&#8230;<\/h5>\n\n\n<pre class=\"wp-block-code\"><code>ls \/etc\/apt\/sources.list.d\/<\/code><\/pre>\n\n\n\n<p>View all added PPAs to identify the one you want to remove.<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.veeble.org\/kb\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-17-184834-1.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" width=\"943\" height=\"60\" data-id=\"3330\" src=\"https:\/\/www.veeble.org\/kb\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-17-184834-1.png\" alt=\"List PPA in Linux\" class=\"wp-image-3330\" srcset=\"https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-17-184834-1.png 943w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-17-184834-1-300x19.png 300w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-17-184834-1-768x49.png 768w\" sizes=\"(max-width: 943px) 100vw, 943px\" \/><\/a><\/figure>\n<\/figure>\n\n\n\n<p><\/p>\n\n\n<h5 class=\"wp-block-heading\" id=\"removing-a-ppa\">Removing a PPA&#8230;<\/h5>\n\n\n<p>To remove a specific PPA, you can use the <code>add-apt-repository<\/code> command with the <code>-r<\/code> option followed by the PPA name.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo add-apt-repository -r ppa:example\/ppa<\/code><\/pre>\n\n\n\n<p>This command removes the PPA repository.<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-3 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.veeble.org\/kb\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-17-185715.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" width=\"1258\" height=\"380\" data-id=\"3332\" src=\"https:\/\/www.veeble.org\/kb\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-17-185715.png\" alt=\"Remove PPA in Linux\" class=\"wp-image-3332\" srcset=\"https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-17-185715.png 1258w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-17-185715-300x91.png 300w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-17-185715-1024x309.png 1024w, https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/05\/Screenshot-2024-05-17-185715-768x232.png 768w\" sizes=\"(max-width: 1258px) 100vw, 1258px\" \/><\/a><\/figure>\n<\/figure>\n\n\n\n<p><\/p>\n\n\n<h5 class=\"wp-block-heading\" id=\"updating-the-package-list\">Updating the package list&#8230;<\/h5>\n\n\n<p>After removing the PPA, make sure to update the system. To do it, execute:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt update<\/code><\/pre>\n\n\n\n<p>With the above steps, you have successfully removed the PPA from your system via the terminal! <\/p>\n\n\n<h5 class=\"wp-block-heading\" id=\"alternatively-you-can-manually-remove-the-ppa-file\">Alternatively, You can manually remove the PPA file&#8230;<\/h5>\n\n\n<p>When you encounter any issue where <code>add-apt-repository -r<\/code> is not available or if you prefer a more direct approach and are comfortable handling potential leftover configurations manually, you can remove the PPA by navigating to the sources directory followed by deleting the PPA and updating the system:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd \/etc\/apt\/sources.list.d\/\nsudo rm <em>example-ppa<\/em>\nsudo apt update<\/code><\/pre>\n\n\n\n<p>Replace <code><em>example-ppa<\/em><\/code> in the above example command with the exact PPA name after checking <em>\/etc\/apt\/sources.list.d\/<\/em> directory.<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-4 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.veeble.org\/kb\/wp-content\/uploads\/2024\/05\/ppa-man.gif\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"1258\" height=\"572\" data-id=\"3344\" src=\"https:\/\/www.veeble.org\/kb\/wp-content\/uploads\/2024\/05\/ppa-man.gif\" alt=\"Manually removing PPA in Linux\" class=\"wp-image-3344\"\/><\/a><\/figure>\n<\/figure>\n\n\n\n<pre class=\"wp-block-verse\">Both methods will effectively remove the PPA from your system, but the <code>add-apt-repository -r<\/code> command provides a more thorough and automated approach.<\/pre>\n\n\n\n<p><\/p>\n\n\n<h4 class=\"wp-block-heading\" id=\"removing-ppa-using-the-software-amp-updates-gui\">Removing PPA Using the Software &amp; Updates GUI<\/h4>\n\n\n<p>Removing a PPA through the graphical interface is easy and straightforward, requiring just 5 to 6 clicks. To remove a PPA via the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Graphical_user_interface\" target=\"_blank\" rel=\"noopener\">GUI<\/a>, follow these steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to the <strong>&#8220;Activities&#8221;<\/strong> overview (or press the <strong>&#8220;Super&#8221;<\/strong> key).<\/li>\n\n\n\n<li>Search for <strong>&#8220;Software &amp; Updates&#8221;<\/strong> and open it.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-5 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.veeble.org\/kb\/wp-content\/uploads\/2024\/05\/software-gui.gif\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"1270\" height=\"898\" data-id=\"3336\" src=\"https:\/\/www.veeble.org\/kb\/wp-content\/uploads\/2024\/05\/software-gui.gif\" alt=\"Removing PPA Using the Software &amp; Updates GUI\" class=\"wp-image-3336\"\/><\/a><\/figure>\n<\/figure>\n\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li>In the Software &amp; Updates window, click on the <strong>&#8220;Other Software&#8221;<\/strong> tab.<\/li>\n\n\n\n<li>This tab lists all the PPAs added to your system.<\/li>\n\n\n\n<li>Find the PPA you want to remove and click the &#8220;Remove&#8221; button to remove it.<\/li>\n\n\n\n<li>As a final step, click the &#8220;Reload&#8221; button in the next prompt to finalize the changes.<\/li>\n<\/ol>\n\n\n\n<p><\/p>\n\n\n\n<p>Removing unneeded or problematic PPAs is crucial for system maintenance. Using either the terminal or a GUI, this straightforward process keeps your system stable and up-to-date. \ud83d\ude0e&nbsp;<\/p>\n\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-uagb-call-to-action uagb-block-e0402890 wp-block-button\"><div class=\"uagb-cta__wrap\"><h3 class=\"uagb-cta__title\">Experience Seamless Performance<\/h3><p class=\"uagb-cta__desc\">Experience unparalleled speed and reliability. Optimize your digital presence for maximum impact.<\/p><\/div><div class=\"uagb-cta__buttons\"><a href=\"https:\/\/www.veeble.com\/in\/vps-hosting\/\" class=\"uagb-cta__button-link-wrapper wp-block-button__link\" target=\"_blank\" rel=\"noopener noreferrer\">Explore VPS Plans<svg xmlns=\"https:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\"><path d=\"M504.3 273.6l-112.1 104c-6.992 6.484-17.18 8.218-25.94 4.406c-8.758-3.812-14.42-12.45-14.42-21.1L351.9 288H32C14.33 288 .0002 273.7 .0002 255.1S14.33 224 32 224h319.9l0-72c0-9.547 5.66-18.19 14.42-22c8.754-3.809 18.95-2.075 25.94 4.41l112.1 104C514.6 247.9 514.6 264.1 504.3 273.6z\"><\/path><\/svg><\/a><\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>PPA stands for Personal Package Archive and is specific to Debian-based Linux distributions. It is a collection of non-standard program packages hosted on Launchpad, [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":8548,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[5],"tags":[],"class_list":["post-3326","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux"],"uagb_featured_image_src":{"full":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/05\/How-to-Remove-PPAs-in-Ubuntu-Debian-Based-Systems.jpg",1536,1024,false],"thumbnail":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/05\/How-to-Remove-PPAs-in-Ubuntu-Debian-Based-Systems-150x150.jpg",150,150,true],"medium":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/05\/How-to-Remove-PPAs-in-Ubuntu-Debian-Based-Systems-300x200.jpg",300,200,true],"medium_large":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/05\/How-to-Remove-PPAs-in-Ubuntu-Debian-Based-Systems-768x512.jpg",768,512,true],"large":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/05\/How-to-Remove-PPAs-in-Ubuntu-Debian-Based-Systems-1024x683.jpg",1024,683,true],"1536x1536":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/05\/How-to-Remove-PPAs-in-Ubuntu-Debian-Based-Systems.jpg",1536,1024,false],"2048x2048":["https:\/\/www.veeble.com\/kb\/wp-content\/uploads\/2024\/05\/How-to-Remove-PPAs-in-Ubuntu-Debian-Based-Systems.jpg",1536,1024,false]},"uagb_author_info":{"display_name":"Adrian Antony","author_link":"https:\/\/www.veeble.com\/kb\/author\/adrian\/"},"uagb_comment_info":0,"uagb_excerpt":"PPA stands for Personal Package Archive and is specific to Debian-based Linux distributions. It is a collection of non-standard program packages hosted on Launchpad, [&hellip;]","_links":{"self":[{"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/posts\/3326","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/comments?post=3326"}],"version-history":[{"count":17,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/posts\/3326\/revisions"}],"predecessor-version":[{"id":7286,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/posts\/3326\/revisions\/7286"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/media\/8548"}],"wp:attachment":[{"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/media?parent=3326"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/categories?post=3326"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.veeble.com\/kb\/wp-json\/wp\/v2\/tags?post=3326"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}