当前位置:网站首页>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.
边栏推荐
- C语言 三子棋(含完整 代码详解)
- GridContainer of openharmony container component
- RHCE课程总结
- Which applet making software is easy to use?how to choose?
- Word numbering and text spacing are too large
- 汇编语言学习(八)
- Simulate the realization of strcpy function (including multiple optimization ideas)
- Shell course summary
- RHCE Course Summary
- Badge of openharmony container components
猜你喜欢
随机推荐
The use of Jetpack Compose - Button (Button)
小程序程序开发怎么做?应以突出功能为主
String为什么是不可变的?
冒泡排序(详细)
Flex for openharmony container components
C语言 求一个整数存储在内存中的二进制中1的个数(多种方法详解)
C语言 猜数字游戏 (含代码并详细注释)
网安学习-应急响应3
Word numbering and text spacing are too large
【视频编码学习】——SAD和SATD
apt-cache command
RHCE课程总结
*2-2 OJ 1163 导弹拦截之测试版
Counter of openharmony container components
Column of openharmony container component
青蛙跳台阶
阿里云发布中国云原生数据湖应用洞察白皮书
*3-2 CCF 2014-09-2 画图
RHCE Course Summary
汇编语言学习(六)课程设计一










