创作开始时间:2022年11月14日12:49:36
如题,简要探究PPA源的定义及相关操作(搜索线上PPA源、查看本地PPA源、添加、修改、删除)。
PPA全称:Personal Package Archive,译为“个人软件包存档”。
In Ubuntu, the PPA is defined as Personal Package Archive, which is used to add or remove packages on a Debian-based system. PPA’s are built by individual persons to develop and update packages for Linux. There are several reasons why one might need to use PPA on a Linux system. Sometimes you would not find the official package of an item on the web, but you might find a personal package archive of that package. If you’re a software developer, you can contribute to the open-source community through the PPA. Using PPA’s is not harmful, and you can avoid harmful PPA’s with basic computing knowledge. You can use PPA to add or remove packages on the Ubuntu system.
在https://launchpad.net/上搜索软件名
+ppa
例如:
ls /etc/apt/sources.list.d
sudo add-apt-repository ppa:ownername/projectname
sudo apt update
直接修改/etc/apt/sources.list.d/
下对应的文件即可。
方法1:
使用sudo rm
直接删除/etc/apt/sources.list.d/
下对应的文件即可。
方法2:
sudo add-apt-repository -r ppa:ownername/projectname
基本上还是比较全面的cover了ppa相关操作。
创作结束时间:2022年11月14日13:00:43