{"id":418,"date":"2015-04-04T10:08:20","date_gmt":"2015-04-04T04:38:20","guid":{"rendered":"http:\/\/www.cyberaka.com\/?p=418"},"modified":"2015-04-04T10:22:41","modified_gmt":"2015-04-04T04:52:41","slug":"completely-removing-packages-in-debian-linu","status":"publish","type":"post","link":"https:\/\/www.cyberaka.com\/?p=418","title":{"rendered":"Completely removing packages in Debian Linux"},"content":{"rendered":"<p>I recently had to find out if a particular package was properly installed in my Debian Linux OS as something was broken. I used the following command to do that.<br \/>\n<code><br \/>\ndpkg --get-selections | grep -v deinstall | grep oracle<br \/>\n<\/code><\/p>\n<p>This basically lists out all the packages which contain the text &#8216;oracle&#8217; in them. Once I find out the exact package name I can actually decide to remove all packages containing them.<br \/>\n<code><br \/>\nsudo apt-get purge oracle*<br \/>\nsudo apt-get autoremove oracle*<br \/>\n<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I recently had to find out if a particular package was properly installed in my Debian Linux OS as something was broken. I used the following command to do that. dpkg &#8211;get-selections | grep -v deinstall | grep oracle This basically lists out all the packages which contain the text &#8216;oracle&#8217; in them. Once I [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21,27,24],"tags":[],"class_list":["post-418","post","type-post","status-publish","format-standard","hentry","category-java","category-linux-os","category-tips-and-tricks"],"_links":{"self":[{"href":"https:\/\/www.cyberaka.com\/index.php?rest_route=\/wp\/v2\/posts\/418","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cyberaka.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cyberaka.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cyberaka.com\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cyberaka.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=418"}],"version-history":[{"count":3,"href":"https:\/\/www.cyberaka.com\/index.php?rest_route=\/wp\/v2\/posts\/418\/revisions"}],"predecessor-version":[{"id":421,"href":"https:\/\/www.cyberaka.com\/index.php?rest_route=\/wp\/v2\/posts\/418\/revisions\/421"}],"wp:attachment":[{"href":"https:\/\/www.cyberaka.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=418"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cyberaka.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=418"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cyberaka.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=418"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}