add-apt-repository是一个用于添加PPA(Personal Package Archive)存储库的命令。 add-apt-repository命令的使用格式如下: add-apt-repository <repository> 其中,<repository>是要添加的PPA存储库的URL或简称。 add-apt-repository命令对系统会产生以下影响: 更新软件源列表:add-apt-repository命令将自动更新软件源列表,以包含新添加的PPA存储库。 此外,add-apt-repository命令仅在基于Ubuntu的系统上可用,并且需要在使用之前安装software-properties-common软件包。 总结: 删除add-apt-repository添加的源步骤: cd /etc/apt/sources.list.d找到要删除的源文件使用sudo rm -rf xxx.list删除 sudo apt
命令 sudo add-apt-repository ppa:deadsnakes/ppa 是在 Ubuntu 或基于 Debian 的 Linux 系统上用于添加一个第三方软件源(PPA,Personal add-apt-repository:这是 Ubuntu 系统中用于添加 APT 软件源的工具。ppa:deadsnakes/ppa:指定了一个由 deadsnakes 团队维护的 PPA 软件源。 这条命令的作用运行 sudo add-apt-repository ppa:deadsnakes/ppa 会在你的 Ubuntu 系统的软件源列表中添加 deadsnakes 的 PPA,之后你可以通过 bashCollapseWrapRunCopysudo apt update sudo apt install python3.10 python3.10 --version # 验证安装的 Python 版本总结sudo add-apt-repository
安装sun-java6 添加partner源 sudo add-apt-repository "deb http://archive.canonical.com/ubuntu maverick partner 另外,有些版本的ubuntu即使安装了python-software-properties 也无add-apt-repository命令,此时需要手动添加此行”deb http://archive.canonical.com 更新系统 sudo add-apt-repository "deb http://archive.canonical.com/ubuntu maverick partner" 安装jre sudo add-apt-repository "deb http://archive.canonical.com/ubuntu maverick partner" 安装jdk sudo add-apt-repository "deb http:/ /ubuntu maverick partner" 设为默认Java sudo add-apt-repository "deb http://archive.canonical.com/ubuntu maverick
第一种方式是使用add-apt-repository命令,第二种方式是通过文本编辑器手动添加软件源。 二、安装add-apt-repository (add-apt-repository command not found ) add-apt-repository是一个 Python 脚本,它允许你添加一个 如果add-apt-repository在你的系统上不可用,你可能会得到错误提示:“add-apt-repository command not found”。 add-apt-repository命令的基本语法如下: add-apt-repository [options] repository repository可以是一个正常的可以被添加到sources.list 想要查看add-apt-repository命令所有的选项,在终端输入man add-apt-repository。
software-properties-common 然后安装deadsnakes PPA 有两个版本,稳定版(ppa)和尝鲜版(nightly),体验最新的Python需要安装nightly版本 sudo add-apt-repository ppa:deadsnakes/ppa # 或 sudo add-apt-repository ppa:deadsnakes/nightly 注:想尝试最新版Python可以添加nightly版本。 例如: sudo apt update sudo apt install python3.14 三、删除PPA sudo add-apt-repository --remove ppa:deadsnakes /ppa # 或 sudo add-apt-repository --remove ppa:deadsnakes/nightly sudo apt update 注:也可手动删除 /etc/apt/sources.list.d
ppa:levi-armstrong/qt-libraries-trusty sudo add-apt-repository ppa:levi-armstrong/ppa sudo apt-get update && sudo apt-get install qt57creator-plugin-ros 可能需要删除旧的PPA: sudo add-apt-repository --remove ppa:beineri/opt-qt57-trusty sudo add-apt-repository --remove ppa:beineri/opt-qt571-trusty 如果您收到错误,请手动删除它 ppa:levi-armstrong/qt-libraries-xenial sudo add-apt-repository ppa:levi-armstrong/ppa sudo apt-get update && sudo apt-get install qt57creator-plugin-ros 可能需要删除旧的PPA: sudo add-apt-repository --remove
安装GCC-5.0 sudo add-apt-repository ppa:ubuntu-toolchain-r/test sudo apt-get update sudo apt-get install 安装GCC-7.0 sudo add-apt-repository ppa:jonathonf/gcc-7.1 sudo apt-get update sudo apt-get install gcc- 安装GCC-9.0 sudo add-apt-repository ppa:ubuntu-toolchain-r/test sudo apt update sudo apt install gcc-9 或者试下下面命令: sudo apt-get install software-properties-common sudo add-apt-repository ppa:jonathonf/gcc-9.0 sudo apt-get update sudo apt-get install gcc-9 安装GCC-10.0 sudo add-apt-repository ppa:ubuntu-toolchain-r
---- 2:安装 MacBuntu OS Y Theme、Icons 和 cursors(Install Mac OS X Lion Theme, Icons and cursors) sudo add-apt-repository install gnome-tweak-tool 4: 安装 Slingscold(替代Launchpad)/ Slingscold (Alternative to Launchpad) sudo add-apt-repository 安装Albert Spotlight (替代 Mac Spotlight) / Albert (Alternative to Spotlight) sudo add-apt-repository ppa Dock / Install Plank Dock sudo apt-get install plank # 安装 Plank 主题:/ Insall mac Plank theme sudo add-apt-repository 修改启动界面 / Change boot Screen sudo add-apt-repository ppa:noobslab/themes sudo apt-get update sudo apt-get
https://blog.csdn.net/haluoluo211/article/details/52818103 sudo: add-apt-repository command not found Solution: Install the software-properties-common Package To get the add-apt-repository $ sudo add-apt-repository ppa:git-core/ppa $ sudo apt-get update $ sudo apt-get install git Installation by a PPA (Upgrade to 3.2) sudo apt-get install software-properties-common sudo add-apt-repository
为了使用add-apt-repository,需要先安装下面的包: sudo apt-get install software-properties-common 然后选择stable或者unstable 安装stable版本, version=0.2.2 sudo add-apt-repository ppa:neovim-ppa/stable sudo apt update sudo apt install -y neovim 安装unstable版本, version=0.4.0-dev 因为某些插件只支持0.3及以上的版本,因此为了使用插件需要安装unstable版本: sudo add-apt-repository
install fcitx-table-wbpy 安装完毕后 右上角齿轮 系统设置 语言支持 将键盘输入方式系统从ibus换成Fcitx 注销后重新登陆 即可使用搜狗输入法 安装JDK 第一种方法 sudo add-apt-repository wps 在软件中心搜索安装 Guake sudo add-apt-repository ppa:webupd8team/unstable sudo apt-get update sudo apt-get ppa:ubuntu-wine/ppa sudo apt-get update sudo apt-get install wine1.7 winetricks everpad sudo add-apt-repository f=6&t=30516 百度网盘客户端bcloud 到https://github.com/LiuLang/bcloud-packages下载安装包 uget sudo add-apt-repository ppa:plushuang-tw/uget-stable sudo apt-get update sudo apt-get install uget aria2 sudo add-apt-repository
sudo apt-get update sudo add-apt-repository ppa:jonathonf/python-3.6 -y #这里必须update,不然无法安装python3.6 Python版本为2.7和3.4: dale@deheng:~$ ls /usr/local/lib/ perl python2.7 python3.4 2 安装Python 3.6 sudo add-apt-repository 4 中间遇到的问题 4.1 问题一 在 第2节 运行sudo add-apt-repository ppa:jonathonf/python-3.6 的时候,如果出现add-apt-repository 我不以为然,没去管这个问题,开始下载3.6,运行sudo add-apt-repository ppa:jonathonf/python-3.6,提示找不到add-apt-repository 这个command 参考文献 主要: [1] Ubuntu16.04怎样安装Python3.6 https://www.cnblogs.com/yjlch1016/p/8641910.html [2] Ubuntu的add-apt-repository
ppa:beineri/opt-qt57-trusty sudo add-apt-repository ppa:levi-armstrong/ppa sudo apt-get update & & sudo apt-get install qt57creator-plugin-ros 1.2 Installation Procedure for Ubuntu 16.04 sudo add-apt-repository ppa:beineri/opt-qt57-xenial sudo add-apt-repository ppa:levi-armstrong/ppa sudo apt-get update & ppa:beineri/opt-qt57-trusty sudo add-apt-repository ppa:levi-armstrong/ppa sudo apt-get update & ppa:beineri/opt-qt57-xenial sudo add-apt-repository ppa:levi-armstrong/ppa sudo apt-get update &
/#/download mpv 播放器 https://mpv.io/ https://launchpad.net/~mc3man/+archive/ubuntu/mpv-tests $ sudo add-apt-repository $ sudo apt install mpv 工具 Atom Chrome tilix 终端 原名 terminix https://github.com/gnunn1/tilix $ sudo add-apt-repository terminix b站介绍视频 http://www.bilibili.com/video/av5879001/ OBS 录屏工具 $ sudo apt-get install ffmpeg $ sudo add-apt-repository
. ---- 外观美化 主题 主题推荐一: flatabulous-theme 久负盛名的扁平化主题 终端安装命令: sudo add-apt-repository ppa:noobslab/themes 黑色主题主文件夹 个人偏向黑色主题. ---- 主题推荐二: numix-gtk-theme 终端安装命令: sudo add-apt-repository ppa:numix/ppa sudo numix ---- 图标 图标推荐一: ultra-flat-icons 大部分人会选择ultra-flat-icons来搭配flatabulous-theme 终端安装命令: sudo add-apt-repository ultra-flat-icons展示 ---- 图标推荐二: paper-icon-theme 终端安装命令: sudo add-apt-repository ppa:snwh/pulp sudo paper-icon-theme展示 ---- 图标推荐三: numix-icon-theme-circle 终端安装命令: sudo add-apt-repository ppa:numix/ppa
之后去下载一个Mac系统的壁纸就可以得到下图了: 希望各位读者可以根据上面的步骤正常的完成安装,如果有什么地方有问题,可以根据附录进行修改 附录: MacBuntu OSŸ主题,图标和光标 sudo add-apt-repository sudo apt-get update sudo apt-get install slingscold 突变聚焦(替代苹果的Spotlight)安装后用ctrl+D组合键激活便于使用 sudo add-apt-repository sudo apt-get install mutate 安装一款简单的Plank DOCK(木板)一样的dock sudo apt-get install plank 安装dock主题 sudo add-apt-repository macbuntu-plank-theme-v6 卸载dock主题 sudo apt-get autoremove plank macbuntu-plank-theme-v6 应用mac开机画面飞溅 sudo add-apt-repository ubuntu/launcher_bfb.png sudo mv launcher_bfb.png /usr/share/unity/icons/ 安装Mac主题LightDM的Webkit迎宾 sudo add-apt-repository
如何删除ppa(我们在安装软件的时候,教程一般都会让添加ppa源,但是几乎没有教程会告诉你怎么删除) # 添加ppa源 sudo add-apt-repository ppa:webapps/preview # 删除ppa源 方法一 sudo add-apt-repository --remove ppa:someppa/ppa # 方法二 cd /etc/apt/sources.list.d/ #找到想删除的源
/etc/os-release; echo "$ID")/gpg | sudo apt-key add - # # $ sudo add-apt-repository \ # "deb [arch /etc/os-release; echo "$ID")/gpg | sudo apt-key add - $ sudo add-apt-repository \ "deb [arch=amd64 # 官方源 # $ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - # $ sudo add-apt-repository 国内源 $ curl -fsSL https://mirrors.aliyun.com/docker-ce/linux/ubuntu/gpg | sudo apt-key add - $ sudo add-apt-repository
安装uget sudo add-apt-repository ppa:plushuang-tw/uget-stable sudo apt-get update sudo apt-get install 安装aria2 sudo add-apt-repository ppa:t-tujikawa/ppa sudo apt-get update sudo apt-get install aria2 三 matching order,选择aria2; 参数默认即可:--enable-rpc=true -D --disable-ipv6 --check-certificate=false 然后在终端执行: sudo add-apt-repository
mirrors.aliyun.com/docker-ce/linux/ubuntu/gpg | sudo apt-key add - 使用以下命令设置使用 stable 软件源 amd64: $ sudo add-apt-repository arch=amd64] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) \ stable" armhf $ sudo add-apt-repository download.docker.com/linux/ubuntu \ $(lsb_release -cs) \ stable" 注意:如果无法访问docker.com则使用下面的阿里源 $ sudo add-apt-repository