![]() ![]() It again will take months before Ubuntu makes a decision and includes it in the official repositories.Īnother case would be during beta testing. Similarly, suppose someone develops a software and wants Ubuntu to include that software in the official repositories. Not everyone would want to wait that long to get their hands on the new version of their favorite software. ![]() This ensures the stability of the system.īut this also means that it will be some weeks or in some cases, some months before it is made available by Ubuntu. There is a procedure to check if the new version of the software is compatible with the system or not. Ubuntu won’t make it available immediately. But imagine if a software developer releases a new version of the software. But what is PPA? How does it enter into the picture? Why is PPA used?Īs you can see, Ubuntu controls what software and more importantly which version of a software you get on your system. This will give you a much better understanding of apt commands, update etc. ![]() If the repository doesn’t have the information about a certain package, you’ll see unable to locate package error: E: Unable to locate packageĪt this point, I recommend reading my guide to using apt commands. When you use the command sudo apt install package_name, it uses the information to get that package from the URL where the actual software is stored. Now when you run the command sudo apt update, your system uses APT tool to check against the repo and stores the information about the software and their version in a cache. Repositories listed in /etc/apt/sources.list file The lines with # at the beginning are ignored. If you look at its content, you’ll see that it has the URL of the repositories. This information is stored in the sources.list file in the directory /etc/apt. How does your system know where are these repositories? So basically it’s a web URL that has information about the software. For example, Ubuntu 16.04 main repository can be found here. You can browse through them and also go to the individual repositories. You can see such repositories for all Ubuntu versions here. Multiverse – Software restricted by copyright or legal issues.Restricted – Proprietary drivers for devices.Universe – Community-maintained free and open-source software.Main – Canonical-supported free and open-source software.Each Ubuntu version has its own official set of four repositories: Concept of repositories and package managementĪ repository is a collection of files that has information about various software, their versions and some other details like the checksum. With PPA, you can easily get newer software version or software that are not available via the official Ubuntu repositories.īefore you understand PPA, you should know the concept of repositories in Linux. The PPA allows application developers and Linux users to create their own repositories to distribute software. Therefore I’ll use the term Ubuntu almost everywhere but the explanations and steps are also applicable to other Debian/Ubuntu based distributions. Even if you already know a few things about PPAs, I am sure this article will still add to your knowledge.ĭo note that I am writing this article using Ubuntu. I’ll answer all of the above questions in this detailed guide. This is what is called installing an application using PPA.īut what is PPA? Why is it used? Is it safe to use PPA? How to properly use PPA? How to delete a PPA? Sudo apt-get install lighttable-installerĪ number of websites suggest these kind of lines to install applications in Ubuntu. If you have been using Ubuntu or some other Linux distribution based on Ubuntu such as Linux Mint, Linux Lite, Zorin OS etc, you may have come across three magical lines of this sort: sudo add-apt-repository ppa:dr-akulavich/lighttable ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |