{"id":117,"date":"2006-01-20T13:51:53","date_gmt":"2006-01-20T11:51:53","guid":{"rendered":"http:\/\/www.subterfugios.net\/blog\/arquivos\/2006\/01\/20\/solaris-pkgadd-e-pkg-get\/"},"modified":"2006-01-20T13:53:40","modified_gmt":"2006-01-20T11:53:40","slug":"solaris-pkgadd-e-pkg-get","status":"publish","type":"post","link":"https:\/\/www.subterfugios.net\/blog\/solaris-pkgadd-e-pkg-get\/","title":{"rendered":"Solaris: pkgadd e pkg-get"},"content":{"rendered":"<p>Para quem n\u00e3o sabe, como eu n\u00e3o sabia, o Solaris tamb\u00e9m tem um gerenciador de pacotes malandro. \u00c9 o pkg-get. Funciona mais ou menos como o apt-get, urpmi e similares. Por exemplo, para instalar o mod_php com suas depend\u00eancias:<\/p>\n<pre>pkg-get install mod_php<\/pre>\n<p>Como seu servidor com Solaris vai estar normalmente em uma rede sem acesso \u00e0 Internet, o pkg-get parece meio ut\u00f3pico. Para isso, tem-se algo parecido ao rpm, dpkg e similares: o pkgadd. Voc\u00ea baixa o pacote e d\u00e1:<\/p>\n<pre>gunzip foo-1.00-sol8-sparc-local.gz\r\npkgadd -d foo-1.00-sol8-sparc-local<\/pre>\n<p>Normalmente, voc\u00ea vai estar buscando coisas que est\u00e1 acostumado a usar no Linux, como, por exemplo, o wget. Para obter esses pacotes gratuitos e outras informa\u00e7\u00f5es sobre pacotes Solaris, instala\u00e7\u00e3o, cria\u00e7\u00e3o e gerenciamento, v\u00e1 at\u00e9 <a href=\"http:\/\/www.sunfreeware.com\/\">http:\/\/www.sunfreeware.com\/<\/a>.<\/p>\n<div class=\"sharedaddy sd-sharing-enabled\"><div class=\"robots-nocontent sd-block sd-social sd-social-icon sd-sharing\"><div class=\"sd-content\"><ul><li class=\"share-facebook\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-facebook-117\" class=\"share-facebook sd-button share-icon no-text\" href=\"https:\/\/www.subterfugios.net\/blog\/solaris-pkgadd-e-pkg-get\/?share=facebook\" target=\"_blank\" title=\"Clique para compartilhar no Facebook\"><span><\/span><span class=\"sharing-screen-reader-text\">Clique para compartilhar no Facebook(abre em nova janela)<\/span><\/a><\/li><li class=\"share-twitter\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-twitter-117\" class=\"share-twitter sd-button share-icon no-text\" href=\"https:\/\/www.subterfugios.net\/blog\/solaris-pkgadd-e-pkg-get\/?share=twitter\" target=\"_blank\" title=\"Clique para compartilhar no Twitter\"><span><\/span><span class=\"sharing-screen-reader-text\">Clique para compartilhar no Twitter(abre em nova janela)<\/span><\/a><\/li><li class=\"share-jetpack-whatsapp\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-jetpack-whatsapp sd-button share-icon no-text\" href=\"https:\/\/api.whatsapp.com\/send?text=Solaris%3A%20pkgadd%20e%20pkg-get%20https%3A%2F%2Fwww.subterfugios.net%2Fblog%2Fsolaris-pkgadd-e-pkg-get%2F\" target=\"_blank\" title=\"Clique para compartilhar no WhatsApp\"><span><\/span><span class=\"sharing-screen-reader-text\">Clique para compartilhar no WhatsApp(abre em nova janela)<\/span><\/a><\/li><li class=\"share-end\"><\/li><\/ul><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Para quem n\u00e3o sabe, como eu n\u00e3o sabia, o Solaris tamb\u00e9m tem um gerenciador de pacotes malandro. \u00c9 o pkg-get. Funciona mais ou menos como o apt-get, urpmi e similares. Por exemplo, para instalar o mod_php com suas depend\u00eancias: pkg-get &hellip; <a href=\"https:\/\/www.subterfugios.net\/blog\/solaris-pkgadd-e-pkg-get\/\">Continue lendo <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n<div class=\"sharedaddy sd-sharing-enabled\"><div class=\"robots-nocontent sd-block sd-social sd-social-icon sd-sharing\"><div class=\"sd-content\"><ul><li class=\"share-facebook\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-facebook-117\" class=\"share-facebook sd-button share-icon no-text\" href=\"https:\/\/www.subterfugios.net\/blog\/solaris-pkgadd-e-pkg-get\/?share=facebook\" target=\"_blank\" title=\"Clique para compartilhar no Facebook\"><span><\/span><span class=\"sharing-screen-reader-text\">Clique para compartilhar no Facebook(abre em nova janela)<\/span><\/a><\/li><li class=\"share-twitter\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"sharing-twitter-117\" class=\"share-twitter sd-button share-icon no-text\" href=\"https:\/\/www.subterfugios.net\/blog\/solaris-pkgadd-e-pkg-get\/?share=twitter\" target=\"_blank\" title=\"Clique para compartilhar no Twitter\"><span><\/span><span class=\"sharing-screen-reader-text\">Clique para compartilhar no Twitter(abre em nova janela)<\/span><\/a><\/li><li class=\"share-jetpack-whatsapp\"><a rel=\"nofollow noopener noreferrer\" data-shared=\"\" class=\"share-jetpack-whatsapp sd-button share-icon no-text\" href=\"https:\/\/api.whatsapp.com\/send?text=Solaris%3A%20pkgadd%20e%20pkg-get%20https%3A%2F%2Fwww.subterfugios.net%2Fblog%2Fsolaris-pkgadd-e-pkg-get%2F\" target=\"_blank\" title=\"Clique para compartilhar no WhatsApp\"><span><\/span><span class=\"sharing-screen-reader-text\">Clique para compartilhar no WhatsApp(abre em nova janela)<\/span><\/a><\/li><li class=\"share-end\"><\/li><\/ul><\/div><\/div><\/div>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"sharing_disabled":false,"spay_email":"","footnotes":"","jetpack_publicize_message":""},"categories":[1],"tags":[],"class_list":["post-117","post","type-post","status-publish","format-standard","hentry","category-etc"],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/pAkyI-1T","_links":{"self":[{"href":"https:\/\/www.subterfugios.net\/blog\/wp-json\/wp\/v2\/posts\/117","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.subterfugios.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.subterfugios.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.subterfugios.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.subterfugios.net\/blog\/wp-json\/wp\/v2\/comments?post=117"}],"version-history":[{"count":0,"href":"https:\/\/www.subterfugios.net\/blog\/wp-json\/wp\/v2\/posts\/117\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.subterfugios.net\/blog\/wp-json\/wp\/v2\/media?parent=117"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.subterfugios.net\/blog\/wp-json\/wp\/v2\/categories?post=117"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.subterfugios.net\/blog\/wp-json\/wp\/v2\/tags?post=117"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}