{"id":308,"date":"2022-01-07T18:17:54","date_gmt":"2022-01-07T21:17:54","guid":{"rendered":"https:\/\/gladiston.net.br\/?page_id=308"},"modified":"2022-07-13T16:05:15","modified_gmt":"2022-07-13T19:05:15","slug":"introducao-ao-online-package-manageropm-gpo","status":"publish","type":"page","link":"https:\/\/gladiston.net.br\/en\/programacao\/lazarus-ide\/introducao-ao-online-package-manageropm-gpo\/","title":{"rendered":"Introduction to Online Package Manager(OPM)"},"content":{"rendered":"<p>These packages are similar to the package installation method you saw in the previous section, except the packages are downloaded and installed directly from the developer repository. The advantage is clear, getting the newest version, on the other hand, you must be very careful, as the team of Lazarus&#039; team is not responsible for them.<\/p>\n\n\n\n<p>Sometimes the same package exists both as an \u201caddon\u201d and also via OPM, when that happens you need to decide which one to install.<\/p>\n\n\n\n<p>To install a package by this method go to Package-&gt;Online Package Manager and then choose a desirable package, but be aware when you see this confirmation screen:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/gladiston.github.io\/hello_lazarus\/assets\/ide_opm_intro1.png\" alt=\".\"\/><\/figure>\n\n\n\n<p>The highlighted columns indicate if the component was tested in the current FPC compiler (installed on your computer) and also in the current Lazarus and what was the result of the tests. When you get a negative response (FAIL) don&#039;t even try to install because it will fail. Sometimes \u201cNot tested\u201d will appear as in the example above, this means that the amount of people who installed the feature was insufficient to determine success or failure.<\/p>\n\n\n\n<p>There is probably a telemetry option in Lazarus -I still haven&#039;t figured out where it is- that sends reports of the installed components to a central database, it is based on this telemetry that these results are presented.<\/p>\n\n\n\n<p>In OPM you can install several packages at a time, but you cannot use a filter, when using a filter to find another package faster, you end up unchecking the previous ones.<\/p>\n\n\n\n<p>Although allowed,&nbsp;<strong>I DO NOT RECOMMEND INSTALLING MULTIPLE PACKAGES AT ONCE<\/strong>&nbsp;because sometimes the combination between them can generate an interdependence of unresolved packets.<\/p>","protected":false},"excerpt":{"rendered":"<p>Estes pacotes s\u00e3o similares ao m\u00e9todo de instala\u00e7\u00e3o de pacotes que viu na se\u00e7\u00e3o anterior, exceto que os pacotes s\u00e3o baixados e instalados diretamente do reposit\u00f3rio do desenvolvedor. A vantagem \u00e9 clara, obter a mais nova vers\u00e3o, por outro lado deve-se ter muito cuidado, pois a equipe do time do Lazarus n\u00e3o se responsabiliza por [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":159,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"templates\/template-full-width.php","meta":{"footnotes":""},"class_list":["post-308","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/gladiston.net.br\/en\/wp-json\/wp\/v2\/pages\/308","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gladiston.net.br\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/gladiston.net.br\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/gladiston.net.br\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gladiston.net.br\/en\/wp-json\/wp\/v2\/comments?post=308"}],"version-history":[{"count":2,"href":"https:\/\/gladiston.net.br\/en\/wp-json\/wp\/v2\/pages\/308\/revisions"}],"predecessor-version":[{"id":451,"href":"https:\/\/gladiston.net.br\/en\/wp-json\/wp\/v2\/pages\/308\/revisions\/451"}],"up":[{"embeddable":true,"href":"https:\/\/gladiston.net.br\/en\/wp-json\/wp\/v2\/pages\/159"}],"wp:attachment":[{"href":"https:\/\/gladiston.net.br\/en\/wp-json\/wp\/v2\/media?parent=308"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}