no add-apt-repository command
来源:互联网 发布:淘宝上14k包金会掉色么 编辑:程序博客网 时间:2024/04/28 17:01
Problem: apt-get-repository Command is Missing
I was trying to install the latest version of git from the Ubuntu Git Maintainers Team and I needed to add a Personal Package Archive (PPA) to the Software Sources. But when I tried to do this, I got an error:
sudo: add-apt-repository: command not found
Solution: Install the software-properties-common Package
To get the add-apt-repository command, install the software-properties-common package. For my Ubuntu version (precise), I also had to install the python-software-properties package:
$ sudo apt-get install software-properties-common python-software-properties
Then then you add the PPA, update your sources, and upgrade your the package. In may case, I wanted to upgrade git, so I did the following:
$ sudo add-apt-repository ppa:git-core/ppa$ sudo apt-get update$ sudo apt-get install git
And boom — I was all set.
0 0
- no add-apt-repository command
- add-apt-repository: command not found
- add-apt-repository: command not found
- add-apt-repository:command not found 问题
- add-apt-repository:command not found
- [置顶] add-apt-repository: command not found
- sudo: add-apt-repository: command not found
- add-apt-repository: command not found
- Ubuntu STL 14.4 – add-apt-repository: command not found
- ubuntu14.04 add-apt-repository: command not found 解决方案
- ubuntu add-apt-repository command not found解决方法
- ubuntu add-apt-repository: command not found 解决方案
- Error sudo: add-apt-repository: command not found
- Ubuntu的add-apt-repository: command not found
- add-apt-repository 命令
- add-apt-repository
- add-apt-repository用法
- add-apt-repository PPA
- nginx负载均衡学习
- C/C++面试常见问题剖析
- Pixhawk-PX4固件之hellosky
- LeetCode No.109 Convert Sorted List to Binary Search Tree
- jQuery选择器
- no add-apt-repository command
- 【CUDA自带实例学习】1.快速排序
- 欢迎使用CSDN-markdown编辑器
- 文章标题
- 负载均衡学习2
- Redis-Redis安装
- 个人记录-LeetCode 24. Swap Nodes in Pairs
- 一个简单好用的LoadingDialog
- Android开发之ListView