首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >完全删除软件和PPA

完全删除软件和PPA
EN

Unix & Linux用户
提问于 2017-02-21 16:41:40
回答 1查看 2K关注 0票数 1

我已经安装了很多软件,从不同的来源,我想开始使用Flatpaks,而不是PPA的。但我如何完全删除我目前的软件,与PPA和诸如此类的?这是我的sudo apt update的输出(我使用的是基于ubuntu16.04的基本操作系统

代码语言:javascript
复制
Hit:1 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu xenial InRelease
Hit:2 http://archive.canonical.com/ubuntu xenial InRelease                                                                                               
Hit:3 http://ppa.launchpad.net/atareao/atareao/ubuntu xenial InRelease                                                                                   
Hit:4 http://de.archive.ubuntu.com/ubuntu xenial InRelease                                                                                               
Ign:5 http://dl.google.com/linux/chrome/deb stable InRelease                                                                                             
Hit:6 http://download.virtualbox.org/virtualbox/debian xenial InRelease                                                                                  
Hit:7 http://ppa.launchpad.net/bablu-boy/nutty-daily/ubuntu xenial InRelease                                                                             
Hit:8 http://de.archive.ubuntu.com/ubuntu xenial-updates InRelease                                                                                
Hit:9 http://de.archive.ubuntu.com/ubuntu xenial-backports InRelease                                                                              
Hit:10 http://ppa.launchpad.net/djcj/vapoursynth/ubuntu xenial InRelease                                             
Hit:11 http://dl.google.com/linux/chrome/deb stable Release                                    
Hit:12 http://ppa.launchpad.net/elementary-os/stable/ubuntu xenial InRelease                                       
Hit:13 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu xenial InRelease                                       
Get:14 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]                                        
Hit:15 http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu xenial InRelease                                                  
Hit:16 http://ppa.launchpad.net/ondrej/php/ubuntu xenial InRelease                                                             
Hit:17 http://ppa.launchpad.net/elementary-os/os-patches/ubuntu xenial InRelease                                               
Hit:18 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease                                                       
Hit:19 https://deb.nodesource.com/node_7.x xenial InRelease                                              
Hit:21 http://download.mono-project.com/repo/debian wheezy InRelease                                                    
Hit:22 https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease

比方说,我想完全删除Blender、MonoDevelop和LibreOffice,这样以后我就可以通过Flatpaks安装它了。我该怎么移除它?

EN

回答 1

Unix & Linux用户

回答已采纳

发布于 2017-02-22 06:28:03

代码语言:javascript
复制
sudo apt-get autoremove --purge "packagename"

然后遍历/etc/apt/sources.list.d目录并删除引用该repo的任何文件。

还可以使用/etc/apt/sources.listsudo nano浏览sudo visources.list~,并删除或注释出存储库。

最后,删除该存储库的GPG密钥。

代码语言:javascript
复制
sudo apt-key list

sudo apt-key del #A#A#A
票数 1
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/346610

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档