Ubuntu:Adding a software repository
来源:互联网 发布:淘宝直播流量怎么买 编辑:程序博客网 时间:2024/05/16 18:46
Adding a software repository
Software is available from third-party sources, as well as from the default Ubuntu software repositories. If you want to install software from a third-party software repository, you must add it to the package manager's list of available repositories.
Only add software repositories from sources that you trust. Third-party software repositories are not checked for security by Ubuntu members, and may contain software which is harmful to your computer.
Open
→ → and select Other Software.Click
to add a new repository.Enter the APT line for the extra repository. This should be available from the website of the repository, and should look similar to the following:
deb http://archive.ubuntu.com/ubuntu/ lucid main
Click
and then click to save your changes.You will be notified that the information about available software is out-of-date. Click
.Packages from the new repository should now be available in your package manager.
As a security measure, most software repositories use a GPG key to digitally sign the files they provide. This makes it easy to check that the files have not been tampered with since their creation. In order for your package manager to be able to check this, you need the public key that corresponds to the signatures. The key should be available for download on the repository's website.
Download the GPG key. Then, click
→ → , select theAuthentication tab, click and select the GPG key to be imported.You can also add the GPG key using the terminal by entering the following command:
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com key-fingerprint
Adding a Personal Package Archive (PPA)
Launchpad provides all users with their own Personal Package Archive (PPA) that can be used to build and store Ubuntu packages. In the same way that you can add a normal software repository, you can also add a PPA to the package manager's list of available repositories. PPAs work like normal Ubuntu archives. You can install software in the usual way -- for example, through apt-get or synaptic -- and whenever there's an update Ubuntu will prompt you to install it.
You download and install PPA packages at your own risk. Ubuntu, Launchpad and Canonical do not endorse these packages. You must be certain that you trust the PPA owner before you install their software.
You should begin by familiarizing yourself with the section called “Adding a software repository” before beginning.
The APT line for the PPA can be found on the PPA overview page on Launchpad, and should look similar to the following:
deb http://ppa.launchpad.net/user/ppa/ppa-name lucid main
As a security measure, all PPAs use a unique GPG key to digitally sign the packages that they provide. This makes it easy to check that the packages have not been tampered with since Launchpad built them and to be sure that you are downloading from the PPA that you want. In order for your package manager to be able to check this, you need the public key that corresponds to the signatures. The key should be available for download on the PPA overview page on Launchpad. Until you add the PPA's key to your system, you will see warnings that you are downloading from an untrusted source.
The key used to sign a PPA is listed on the PPA overview page. Instructions on how to add the key can be found inthe section called “Adding a software repository”.
Additional information about adding a PPA repository can be found on Launchpad.
- Ubuntu:Adding a software repository
- Ubuntu install a software
- Spring Data JPA教程, 第八部分:Adding Functionality to a Repository (未翻译)
- WinCE Application: adding a core OCX to make embbed GUI configuration software work
- Adding a Custom System Call to Ubuntu Linux in [C]
- Ubuntu repository
- Adding new Code to your GitHub Repository
- ubuntu software
- ubuntu software
- ubuntu software
- ubuntu--software
- yocto: adding a package
- A. Adding Digits
- Adding a Controller (C#)
- Adding a View
- Adding a Model
- Adding a frame (C++)
- Adding a CoAP app
- android软件版本维护问题
- 性能分析工具汇总
- 传递多个数据对象
- cookie和session的区别和用途
- 尕福(散文)
- Ubuntu:Adding a software repository
- 在Objective-C中使用 c++语言(转载)移植c++工程到mac, ios,imac
- JSP页面中的pageEncoding和contentType两种属性的区别
- 递归显示无限级 导航菜单
- 说说JSON和JSONP,也许你会豁然开朗,含jQuery用例(/转)
- 计时(1)
- 用Java实现类似QQ弹出的ToolTip框的功能
- linux命令ln
- Ubuntu: PPA