{"id":1451,"date":"2018-04-09T22:13:00","date_gmt":"2018-04-10T03:13:00","guid":{"rendered":""},"modified":"2018-10-16T09:57:41","modified_gmt":"2018-10-16T14:57:41","slug":"instalar-rpm-con-sus-dependencias-en-fedora","status":"publish","type":"post","link":"https:\/\/linuxitos.com\/main\/instalar-rpm-con-sus-dependencias-en-fedora\/","title":{"rendered":"Instalar RPM con sus dependencias en Fedora"},"content":{"rendered":"<div dir=\"ltr\" style=\"text-align: left;\">\n<div style=\"clear: both; text-align: center;\"><a href=\"https:\/\/linuxitos.com\/main\/wp-content\/uploads\/2018\/04\/Screenshot-2Bfrom-2B2018-04-09-2B21-44-37-1.png\" style=\"margin-left: 1em; margin-right: 1em;\"><img decoding=\"async\" border=\"0\" data-original-height=\"810\" data-original-width=\"1440\" src=\"https:\/\/linuxitos.com\/main\/wp-content\/uploads\/2018\/04\/Screenshot-2Bfrom-2B2018-04-09-2B21-44-37-1.png\" \/><\/a><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\"><br \/><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">Una de las cosas tediosas en Fedora, es cuando alg\u00fan software que necesitas instalar, no est\u00e1 en repositorios oficiales, ya que \u00e9sto implica que se tenga que buscar sus dependencias por separado.<\/span><\/div>\n<div style=\"text-align: justify;\"><\/div>\n<div style=\"text-align: justify;\"><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">En algunas opciones, como atom, sublime-text, jdk, jre, etc., est\u00e1n empaquetados de tal forma que no necesitan dependencias, pero hay otros que s\u00ed lo requieren, tal es el caso de yumex, que lo usar\u00e9 de prueba en este post.<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\"><br \/><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">La forma normal de instalaci\u00f3n de un paquete rpm, es con el siguiente comando:<\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\"><br \/><\/span><\/div>\n<div style=\"background-color: white; border: 0px; color: #262626; font-family: &quot;carrois gothic&quot;, sans-serif; font-size: 12.8px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;\">\n<pre style=\"background: 0% 0% no-repeat black; border-radius: 3px; border: 1px solid rgb(0, 0, 0); font-family: &quot;courier 10 pitch&quot;, courier, monospace; font-size: 1.5rem; font-style: inherit; font-weight: inherit; line-height: 1.6; margin: 8px 15px; max-width: 100%; opacity: 0.85; outline: 0px; overflow: auto; padding: 9.5px; text-shadow: none; vertical-align: baseline; word-break: break-all; word-wrap: break-word;\"><span style=\"border: 0px; color: whitesmoke; font-family: &quot;droid sans mono&quot; , &quot;consolas&quot; , monospace; font-size: 15px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;\"><span style=\"border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; line-height: 20px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; white-space: pre-wrap;\">sudo rpm -ivh yumex-3.0.17-1.el7.noarch.rpm<\/span><\/span><\/pre>\n<\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\"><br \/><\/span><span style=\"font-size: large;\">Al ejecutar ese comando, arrojar\u00e1 \u00e9ste resultado:<\/span><br \/><span style=\"font-size: large;\"><br \/><\/span><\/p>\n<div style=\"clear: both; text-align: center;\"><a href=\"https:\/\/linuxitos.com\/main\/wp-content\/uploads\/2018\/04\/Captura-2Bde-2Bpantalla-2Bde-2B2018-04-09-2B22-05-36.png\" style=\"margin-left: 1em; margin-right: 1em;\"><img decoding=\"async\" border=\"0\" data-original-height=\"502\" data-original-width=\"722\" src=\"https:\/\/linuxitos.com\/main\/wp-content\/uploads\/2018\/04\/Captura-2Bde-2Bpantalla-2Bde-2B2018-04-09-2B22-05-36.png\" \/><\/a><\/div>\n<p><span style=\"font-size: large;\"><br \/><\/span><span style=\"font-size: large;\"><br \/><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">Sin embargo dicho comando no resuelve todas las dependencias, incluso aunque se le a\u00f1ada las opciones de hacerlo, cuando las dependencias est\u00e1n en otros repositorios no oficiales, tampoco las descarga.<\/span><br \/><span style=\"font-size: large;\"><br \/><\/span><span style=\"font-size: large;\">Bueno, el truco es simple, lo que se hace es usar el comando dnf para la instalaci\u00f3n, incluso aunque sea un paquete rpm.<\/span><br \/><span style=\"font-size: large;\"><br \/><\/span><span style=\"font-size: large;\">Como el comando siguiente:<\/span><br \/><span style=\"font-size: large;\"><br \/><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\"><\/span><\/p>\n<div style=\"-webkit-text-stroke-width: 0px; color: black; font-family: &quot;Times New Roman&quot;; font-size: medium; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: justify; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;\"><\/div>\n<p><\/p>\n<div style=\"-webkit-text-stroke-width: 0px; background-color: white; border: 0px; color: #262626; font-family: &quot;carrois gothic&quot;, sans-serif; font-size: 12.8px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; margin: 0px; orphans: 2; outline: 0px; padding: 0px; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: 2; word-spacing: 0px;\">\n<pre style=\"background: 0% 0% no-repeat black; border-radius: 3px; border: 1px solid rgb(0, 0, 0); font-family: &quot;courier 10 pitch&quot;, courier, monospace; font-size: 1.5rem; font-style: inherit; font-weight: inherit; line-height: 1.6; margin: 8px 15px; max-width: 100%; opacity: 0.85; outline: 0px; overflow: auto; padding: 9.5px; text-shadow: none; vertical-align: baseline; word-break: break-all; word-wrap: break-word;\"><span style=\"border: 0px; color: whitesmoke; font-family: &quot;droid sans mono&quot; , &quot;consolas&quot; , monospace; font-size: 15px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;\"><span style=\"border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; line-height: 20px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; white-space: pre-wrap;\">sudo dnf install -y yumex-3.0.17-1.el7.noarch.rpm<\/span><\/span><\/pre>\n<\/div>\n<\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\"><br \/><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">Con el comando DNF arrojar\u00e1 \u00e9ste resultado:<\/span><br \/><span style=\"font-size: large;\"><br \/><\/span><\/p>\n<div style=\"clear: both; text-align: center;\"><a href=\"https:\/\/linuxitos.com\/main\/wp-content\/uploads\/2018\/04\/Captura-2Bde-2Bpantalla-2Bde-2B2018-04-09-2B22-09-30.png\" style=\"margin-left: 1em; margin-right: 1em;\"><img decoding=\"async\" border=\"0\" data-original-height=\"784\" data-original-width=\"1445\" src=\"https:\/\/linuxitos.com\/main\/wp-content\/uploads\/2018\/04\/Captura-2Bde-2Bpantalla-2Bde-2B2018-04-09-2B22-09-30.png\" \/><\/a><\/div>\n<p><span style=\"font-size: large;\"><br \/><\/span><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">Y con ese comando, es posible instalar las dependencias del paquete, siempre y cuando se tengan todos los respositorios agregados.<\/span><\/div>\n<div style=\"text-align: justify;\"><\/div>\n<div style=\"text-align: justify;\"><span style=\"font-size: large;\">Espero que sea de utilidad.<\/span><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Una de las cosas tediosas en Fedora, es cuando alg\u00fan software que necesitas instalar, no est\u00e1 en repositorios oficiales, ya que \u00e9sto implica que se tenga que buscar sus dependencias por separado. En algunas opciones, como atom, sublime-text, jdk, jre, etc., est\u00e1n empaquetados de tal forma que no necesitan dependencias, pero hay otros que s\u00ed [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":805,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[56,58,57,59],"tags":[],"class_list":["post-1451","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-dependency","category-in-fedora","category-install-rpm","category-rpm"],"_links":{"self":[{"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/posts\/1451","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/comments?post=1451"}],"version-history":[{"count":1,"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/posts\/1451\/revisions"}],"predecessor-version":[{"id":1890,"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/posts\/1451\/revisions\/1890"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/media\/805"}],"wp:attachment":[{"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/media?parent=1451"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/categories?post=1451"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/tags?post=1451"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}