当前位置:网站首页>Add-apt-repository command details
Add-apt-repository command details
2022-08-09 14:49:00 【A positive little salted fish】
This command is a command to add PPA source to the Source list when installing software through PPA source. The software installation process is as follows:
1. Search the PPA software source, such as the software name keyword + PPA on Google, or you can directly search on launchpad.net2.sudo apt-add-repository ppa_source_name //Add PPA source to the source list (/etc/apt/sources.list)3. sudo apt update //Visit each URL in the source list, read the software list, and save it on the local computer, that is, get the latest update information of the software4.udo apt-get install [package name corresponding to the ppa source] //Download and install
Details are as follows:
add-apt-repository
Perhaps you have already noticed that when we introduce the software, we generally provide the PPA source installation method in the installation section, which is a fast and convenient software installation method, but for some novices, PPA is not very important.Very familiar, we will introduce it in detail below.
Let's take a look at the definition of PPA:
PPA is called Personal Package Archives (Personal Package Archives), it is Ubuntu Launchpad is a service that is not limited to Launchpad, of course.It allows individual users to upload software source code, compile it via Launchpad and publish it as a binary package, as an apt/Synaptic source for other users to download and update.Each user and team on the Launchpad website can have one or more PPAs.
Usually the software in the PPA source is not in the official source, or is the latest version of the software.The advantage of using PPA is that once the software is updated, you can directly upgrade to the new version through sudo apt-get upgrade command.
How to install software from a PPA source:
- Usually we can search the PPA source of some commonly used software through Google, the usual search method is software name keyword + PPA, or directly on launchpad.netGo to Search
- After searching, we can directly use the sudo apt-add-repository command to add the PPA source to the Source list.
For example FireFox PPA source: https://launchpad.net/~ubuntu-mozilla-daily/+archive/ppa, we can find the words ppa:ubuntu-mozilla-daily/ppa here,Then we add this source to the source list with the following command.
sudo apt-add-repository ppa:ubuntu-mozilla-daily/ppa- Then we find the package name of FireFox 4.0 for the current Ubuntu version from the Packages list below, update the source and install:

sudo apt-get updatesudo apt-get install firefox-4.0In fact, in addition to the command line mode, Ubuntu also provides a third-party source management tool with a GUI interface, which will not be described in detail.In addition, Ubuntu-Tweak also contains a large number of third-party sources, which can be installed with one clickThird-party software is strongly recommended for novice installation.
边栏推荐
猜你喜欢
随机推荐
shell课程总结
汇编语言学习(六)课程设计一
RHCE Course Summary
三子棋的代码实现
曾毓群想做王传福
小程序程序开发怎么做?应以突出功能为主
C语言中的 pow 函数 使用方法及注意事项,和常见报错原因,且分享实战中的使用
How to adjust the spacing between numbers and text in Word?
C语言中常用的数组排序方法:冒泡排序、选择排序、插入排序、数组的移动(含代码详解)以及相关联系题
Shell course summary
阿里云PAI与香港大学合作论文入选INFOCOM 2022,有效减少大规模神经网络训练时间
汇编语言学习(十)常用指令总结
CTF题解五 Web PHP大法(实验吧)
源码编译安装LAMP
RHCE课程总结
C语言中的 递归问题 以及将递归改写成非递归。(解析常见的几个递归题目及代码) 求阶乘、求斐波那契、汉诺塔、
202五一杯数学建模ABC三题
*2-3 OJ 1164 导弹拦截之升级版
Column of openharmony container component
汇编语言学习(九)










