{"id":23715,"date":"2024-01-25T10:25:58","date_gmt":"2024-01-25T10:25:58","guid":{"rendered":"https:\/\/linuxways.net\/?p=23715"},"modified":"2024-01-25T10:44:27","modified_gmt":"2024-01-25T10:44:27","slug":"remove-ppa-repository-from-debian-12","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/debian\/remove-ppa-repository-from-debian-12\/","title":{"rendered":"How to Remove PPA Repository From Debian 12"},"content":{"rendered":"<p>One of the major concerns of Linux users is the installation and removal of packages from the system. On Linux, the provided software is stored in the servers known as repositories. The <strong>PPA<\/strong> stands for <strong>Personal Package Archive<\/strong> is a software repository that stores and distributes software packages. It can be used to update and install software that is not available in the official repository of <strong>Debian 12.<\/strong><\/p>\n<p>It is the easiest way to access the latest software versions from <strong>PPA<\/strong> that are not currently available in the official repository of the system. Just add the <strong>PPA repository <\/strong>in the<strong> source.list<\/strong>, update the system, and install the package through the <strong>apt command<\/strong>. Although it is a convenient way, it can become outdated or unsupported and harmful to your system. So, you must know the steps to remove the unused or harmful PPA repositories from your system.<\/p>\n<p>In this guide, you will learn:<\/p>\n<p><strong>How to Remove PPA Repository From Debian 12<\/strong><\/p>\n<p><strong>Conclusion<\/strong><\/p>\n<p>&nbsp;<\/p>\n<h2><strong>How to Remove PPA Repository From Debian 12<\/strong><\/h2>\n<p>The following are the two direct approaches for removing the<strong> PPA repositories<\/strong> from Debian 12:<\/p>\n<ul>\n<li><a href=\"#post-23715-9b94dnpgv9p0\"><strong>Remove PPA Repository From Debian 12 Through GUI<\/strong><\/a><\/li>\n<li><a href=\"#post-23715-80n6g1tqygqn\"><strong>Remove the PPA Repository From Debian 12 Through Terminal<\/strong><\/a><\/li>\n<\/ul>\n<h2><strong>How to <\/strong><a id=\"post-23715-9b94dnpgv9p0\"><\/a><strong>Remove the PPA Repository From Debian 12 Through GUI<\/strong><\/h2>\n<p>The straight process of removing the <strong>PPA repository<\/strong> from Debian is through the <strong>Software &amp; Update <\/strong>tool using the below-given steps:<\/p>\n<p><strong>Step 1: <\/strong>Navigate to the <strong>Activities<\/strong> and find the <strong>Software &amp; Update<\/strong>:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"779\" height=\"522\" class=\"wp-image-23730\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-23715-1.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-23715-1.png 779w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-23715-1-300x201.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-23715-1-768x515.png 768w\" sizes=\"auto, (max-width: 779px) 100vw, 779px\" \/><\/p>\n<p><strong>Step 2: <\/strong>Next, switch to the <strong>Other Software <\/strong>tab<strong>:<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"777\" height=\"522\" class=\"wp-image-23748\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-23715-2.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-23715-2.png 777w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-23715-2-300x202.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-23715-2-768x516.png 768w\" sizes=\"auto, (max-width: 777px) 100vw, 777px\" \/><\/p>\n<p><strong>Step 3: <\/strong>Select the repository you want to remove, and click on the <strong>Remove<\/strong> button:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"707\" height=\"496\" class=\"wp-image-23761\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-23715-3.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-23715-3.png 707w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-23715-3-300x210.png 300w\" sizes=\"auto, (max-width: 707px) 100vw, 707px\" \/><\/p>\n<p>As a result, the selected <strong>PPA repository<\/strong> will be removed from your Debian 12.<\/p>\n<h2><strong>How to <\/strong><a id=\"post-23715-80n6g1tqygqn\"><\/a><strong>Remove the PPA Repository From Debian 12 Through Terminal<\/strong><\/h2>\n<p>Users who prefer the command line can remove the<strong> PPA repositories <\/strong>on Debian 12 through the below-mentioned ways:<\/p>\n<ul>\n<li><strong>add-apt-repository command<\/strong><\/li>\n<li><strong>Source.list <\/strong><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h2><strong>How to Remove PPA Repository on Debian 12 Using add-apt Repository Command<\/strong><\/h2>\n<p>The <strong>add-apt-repository<\/strong> comes pre-installed on your Debian 12 and allows you to add and remove the <strong>PPA repository<\/strong> from your system. You can use this command by following the below steps:<\/p>\n<p><strong>Step 1: <\/strong>The first step is to view the list of the available <strong>PPA repositories <\/strong>on your Debian 12 by executing the below command and identify the repository you want to remove:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\">apt policy<\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"876\" height=\"441\" class=\"wp-image-23770\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-23715-4.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-23715-4.png 876w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-23715-4-300x151.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-23715-4-768x387.png 768w\" sizes=\"auto, (max-width: 876px) 100vw, 876px\" \/><\/p>\n<p><strong>Step 2: <\/strong>To remove the <strong>PPA repository<\/strong> from your Debian 12, use the below command syntax and replace the <strong>repository name <\/strong>with the name of the repository you want to remove from your system:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> add-apt-repository <span class=\"re5\">--remove<\/span> ppa:<span class=\"sy0\">&lt;<\/span>repository_name<span class=\"sy0\">&gt;<\/span><\/div><\/div>\n<p>In my case, I am removing the<strong> ffmpeg-4<\/strong> repository from my Debian 12:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> add-apt-repository <span class=\"re5\">--remove<\/span> ppa:jonathonf<span class=\"sy0\">\/<\/span>ffmpeg-<span class=\"nu0\">4<\/span><\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"877\" height=\"312\" class=\"wp-image-23775\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-23715-5.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-23715-5.png 877w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-23715-5-300x107.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-23715-5-768x273.png 768w\" sizes=\"auto, (max-width: 877px) 100vw, 877px\" \/><\/p>\n<p><strong>Note:<\/strong> If you are unable to use <strong>add-apt-repository<\/strong> command on Debian, you can simply install the following command to install some packages:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> apt <span class=\"kw2\">install<\/span> software-properties-common python3-launchpadlib<\/div><\/div>\n<p>After that, you will be able to run the <strong>add-apt-repository<\/strong> command on Debian 12<\/p>\n<p>Once the <strong>PPA repository<\/strong> is removed from the system, update the system using the below command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> apt update<\/div><\/div>\n<p>If you have installed the package through the added repository, then also remove it from the system by executing the following command and replace the package name with the name of the package you want to delete from your system:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> apt autoremove <span class=\"sy0\">&lt;<\/span>package name<span class=\"sy0\">&gt;<\/span><\/div><\/div>\n<h2><strong>How to Remove the PPA Repository on Debian 12 Through Source.List<\/strong><\/h2>\n<p>All the installed packages and added repositories on your system are stored in<strong> \/etc\/apt\/sources.list.d\/<\/strong> and you can directly remove them using the <strong>rm command<\/strong>. To do so, properly follow the below guidelines:<\/p>\n<p><strong>Step 1: <\/strong>The first step is to navigate to the <strong>source list <\/strong>directory using the below-written command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw3\">cd<\/span> <span class=\"sy0\">\/<\/span>etc<span class=\"sy0\">\/<\/span>apt<span class=\"sy0\">\/<\/span>sources.list.d<\/div><\/div>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"890\" height=\"321\" class=\"wp-image-23779\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-23715-6.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-23715-6.png 890w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-23715-6-300x108.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-23715-6-768x277.png 768w\" sizes=\"auto, (max-width: 890px) 100vw, 890px\" \/><\/strong><\/p>\n<p><strong>Step 2: <\/strong>Display the list of available <strong>PPA repositories<\/strong> on Debian by running the following command in the terminal:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">ls<\/span><\/div><\/div>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"887\" height=\"306\" class=\"wp-image-23783\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-23715-7.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-23715-7.png 887w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-23715-7-300x103.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-23715-7-768x265.png 768w\" sizes=\"auto, (max-width: 887px) 100vw, 887px\" \/><\/strong><\/p>\n<p><strong>Step 3: <\/strong>Next, remove the repository from the system using the<strong> rm<\/strong> command and replace the <strong>repository name <\/strong>with the repository you wish to delete:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> <span class=\"kw2\">rm<\/span> <span class=\"sy0\">&lt;<\/span>repository_name<span class=\"sy0\">&gt;<\/span><\/div><\/div>\n<p>In my case, I have removed the wine repository from my Debian 12:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> <span class=\"kw2\">rm<\/span> winehq-bookworm.sources<\/div><\/div>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"886\" height=\"288\" class=\"wp-image-23788\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-23715-8.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-23715-8.png 886w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-23715-8-300x98.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-23715-8-768x250.png 768w\" sizes=\"auto, (max-width: 886px) 100vw, 886px\" \/><\/strong><\/p>\n<p>Once you execute the command, the chosen directory will be removed from your system. You can verify it by viewing the list using the <strong>ls command<\/strong>:<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"885\" height=\"304\" class=\"wp-image-23793\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-23715-9.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-23715-9.png 885w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-23715-9-300x103.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2024\/01\/word-image-23715-9-768x264.png 768w\" sizes=\"auto, (max-width: 885px) 100vw, 885px\" \/><\/strong><\/p>\n<p>&nbsp;<\/p>\n<h2><strong>Conclusion<\/strong><\/h2>\n<p>Adding too many PPA repositories to your system might slow down the update process. You can remove the unused <strong>PPA repositories<\/strong> at any time from your system, as it is a straightforward process. You can remove the <strong>PPA repositories<\/strong> either from the GUI tool known as <strong>Software &amp; Update<\/strong> or through the command line. To remove the repositories through the terminal, use the <strong>add-apt-repository command <\/strong>or navigate to the <strong>source.list<\/strong> location and use the<strong> rm<\/strong> command to directly remove the repositories.<\/p>","protected":false},"excerpt":{"rendered":"<p>You can remove the PPA repository from your Debian 12 through the Software &#038; Update tool and terminal using the apt-add-repository command and source.list.<\/p>","protected":false},"author":115,"featured_media":23828,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-23715","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-debian"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/23715","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/users\/115"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=23715"}],"version-history":[{"count":0,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/23715\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/23828"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=23715"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=23715"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=23715"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}