{"id":1666,"date":"2015-12-04T20:51:00","date_gmt":"2015-12-05T02:51:00","guid":{"rendered":"http:\/\/linuxitos.com\/main\/instalar-sublime-text-3-en-centos\/"},"modified":"2015-12-04T20:51:00","modified_gmt":"2015-12-05T02:51:00","slug":"instalar-sublime-text-3-en-centos","status":"publish","type":"post","link":"https:\/\/linuxitos.com\/main\/instalar-sublime-text-3-en-centos\/","title":{"rendered":"Instalar Sublime Text 3 en Centos"},"content":{"rendered":"<div dir=\"ltr\" style=\"text-align: left;\">\n<div style=\"clear: both; text-align: center;\"><a href=\"http:\/\/3.bp.blogspot.com\/-gpByqcBJxt0\/VmJC5VO-oNI\/AAAAAAAABkg\/Zq_aqL8NQhQ\/s1600\/Captura%2Bde%2Bpantalla%2Bde%2B2015-12-04%2B19-49-58.png\" style=\"margin-left: 1em; margin-right: 1em;\"><img loading=\"lazy\" decoding=\"async\" border=\"0\" height=\"358\" src=\"http:\/\/3.bp.blogspot.com\/-gpByqcBJxt0\/VmJC5VO-oNI\/AAAAAAAABkg\/Zq_aqL8NQhQ\/s640\/Captura%2Bde%2Bpantalla%2Bde%2B2015-12-04%2B19-49-58.png\" width=\"640\" \/><\/a><\/div>\n<div dir=\"ltr\"><span lang=\"es\"><span>&nbsp;<\/span><\/span><\/div>\n<div dir=\"ltr\" style=\"text-align: justify;\"><span lang=\"es\"><span>Sublime Text<\/span> <span>es<\/span> <span>un editor de texto<\/span> <span>sofisticado<\/span> <span>para el c\u00f3digo<\/span>, <span>marcado y<\/span> <span>prosa.<\/span><span> Te va a encantar<\/span> <span>la interfaz de usuario<\/span> <span>mancha<\/span>, <span>caracter\u00edsticas extraordinarias<\/span> <span>y<\/span> <span>un rendimiento incre\u00edble<\/span>.<\/span><\/div>\n<div dir=\"ltr\"><\/div>\n<div dir=\"ltr\" style=\"text-align: justify;\"><span lang=\"es\">La instalaci\u00f3n mediante RPM no  existe para fedora, sin embargo se puede instalar mediante un tarball  que se descarga desde la p\u00e1gina oficial de sublime text 3 para x86_64  aqui <a href=\"http:\/\/c758482.r82.cf2.rackcdn.com\/sublime_text_3_build_3083_x64.tar.bz2\">http:\/\/c758482.r82.cf2.rackcdn.com\/sublime_text_3_build_3083_x64.tar.bz2<\/a> y para x86 aqu\u00ed <a href=\"http:\/\/c758482.r82.cf2.rackcdn.com\/sublime_text_3_build_3083_x32.tar.bz2\">http:\/\/c758482.r82.cf2.rackcdn.com\/sublime_text_3_build_3083_x32.tar.bz2<\/a>&nbsp; o si desean visitar la p\u00e1gina oficial <a href=\"http:\/\/www.sublimetext.com\/3\">http:\/\/www.sublimetext.com\/3<\/a>.<\/span><\/div>\n<div dir=\"ltr\"><span lang=\"es\"><br \/><\/span><\/div>\n<div dir=\"ltr\"><span lang=\"es\">Bueno, ejecutar los siguientes comandos:<\/span><\/div>\n<div dir=\"ltr\"><\/div>\n<div dir=\"ltr\">\n<div style=\"text-align: justify;\"><span lang=\"es\">Luego de la descarga, que no  tarda mucho ya que tan solo son 7 MB, pasamos a desempaquetar y  ubicarlo, en el directorio \/opt\/ que en teor\u00eda es usado para almacenar  aplicaciones que no forman parte de la distribuci\u00f3n. Todo lo que tenemos  que hacer es (ojo, seleccionar el archivo correspondiente a la  arquitectura que usen):<\/span><\/div>\n<pre style=\"background: 0% 0% no-repeat rgb(0, 0, 0); border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgb(0, 0, 0); color: whitesmoke; font-family: 'Droid Sans Mono', Consolas, monospace; font-size: 13px; line-height: 20px; margin: 8px 15px; opacity: 0.85; padding: 9.5px; text-align: start; text-shadow: none; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;\">sudo tar -xvjf sublime_text_3_build_3083_x64.tar.bz2 -C \/opt\/<\/pre>\n<p>Luego de esto, nos tocara enviar el binario a nuestro directorio  \/usr\/bin , y con solo hacer un enlace simb\u00f3lico, podremos tenerlo en el  directorio antes mencionado:<\/p><\/div>\n<div dir=\"ltr\">\n<pre style=\"background: 0% 0% no-repeat rgb(0, 0, 0); border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgb(0, 0, 0); color: whitesmoke; font-family: 'Droid Sans Mono', Consolas, monospace; font-size: 13px; line-height: 20px; margin: 8px 15px; opacity: 0.85; padding: 9.5px; text-align: start; text-shadow: none; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;\">sudo ln -s \/opt\/sublime_text_3\/sublime_text \/usr\/bin\/sublime_text<\/pre>\n<p>Podremos crear un acceso directo a la aplicaci\u00f3n usando el .desktop que  viene en el tarball, para ello deberemos copiarlo del directorio  \/opt\/sublime_text_3\/ y enviarlo a ~\/.local\/share\/applications:<\/p>\n<pre style=\"background: 0% 0% no-repeat rgb(0, 0, 0); border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgb(0, 0, 0); color: whitesmoke; font-family: 'Droid Sans Mono', Consolas, monospace; font-size: 13px; line-height: 20px; margin: 8px 15px; opacity: 0.85; padding: 9.5px; text-align: start; text-shadow: none; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;\">cp \/opt\/sublime_text_3\/sublime_text.desktop ~\/.local\/share\/applications\/<\/pre>\n<p>Al lanzador .desktop tendremos que hacerle unos peque\u00f1os cambios:<\/p><\/div>\n<div dir=\"ltr\">\n<pre style=\"background: 0% 0% no-repeat rgb(0, 0, 0); border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgb(0, 0, 0); color: whitesmoke; font-family: 'Droid Sans Mono', Consolas, monospace; font-size: 13px; line-height: 20px; margin: 8px 15px; opacity: 0.85; padding: 9.5px; text-align: start; text-shadow: none; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;\">[Desktop Entry]<br \/>Version=1.0<br \/>Type=Application<br \/>Name=Sublime Text<br \/>GenericName=Text Editor<br \/>Comment=Sophisticated text editor for code, markup and prose<br \/>Exec=\/opt\/sublime_text_3\/sublime_text %F<br \/>Terminal=false<br \/>MimeType=text\/plain;<br \/>Icon=\/opt\/sublime_text_3\/Icon\/128x128\/sublime-text.png<br \/>Categories=TextEditor;Development;<br \/>StartupNotify=true<br \/>Actions=Window;Document;<br \/> <br \/>[Desktop Action Window]<br \/>Name=New Window<br \/>Exec=\/opt\/sublime_text_3\/sublime_text -n<br \/>OnlyShowIn=Unity;<br \/> <br \/>[Desktop Action Document]<br \/>Name=New File<br \/>Exec=\/opt\/sublime_text_3\/sublime_text --command new_file<br \/>OnlyShowIn=Unity;<\/pre>\n<p>En caso de que ustedes ubiquen en otro directorio los archivos  descargados, deben modificar el lanzador para que funcione  correctamente.<\/p><\/div>\n<div dir=\"ltr\"><\/div>\n<div dir=\"ltr\"><\/div>\n<div dir=\"ltr\"><\/div>\n<div dir=\"ltr\"><\/div>\n<div dir=\"ltr\"><\/div>\n<div dir=\"ltr\"><\/div>\n<div dir=\"ltr\"><\/div>\n<div dir=\"ltr\">Si presentan algun problema, puede asignarle su usuario al directorio de sublime-text 3 ubicado en \/opt haciendo:<\/p>\n<pre style=\"background: 0% 0% no-repeat rgb(0, 0, 0); border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgb(0, 0, 0); color: whitesmoke; font-family: 'Droid Sans Mono', Consolas, monospace; font-size: 13px; line-height: 20px; margin: 8px 15px; opacity: 0.85; padding: 9.5px; text-align: start; text-shadow: none; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;\">sudo chown -R $USER:$USER \/opt\/sublime_text_3\/ <\/pre>\n<\/div>\n<div dir=\"ltr\"><span lang=\"es\"><br \/><\/span><\/div>\n<div dir=\"ltr\"><span lang=\"es\">Adicionalmente pueden utilizar una de estas licencias.<\/span><\/p>\n<pre style=\"background: 0% 0% no-repeat rgb(0, 0, 0); border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgb(0, 0, 0); color: whitesmoke; font-family: 'Droid Sans Mono', Consolas, monospace; font-size: 13px; line-height: 20px; margin: 8px 15px; opacity: 0.85; padding: 9.5px; text-align: start; text-shadow: none; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;\">\u2014\u2013 BEGIN LICENSE \u2014\u2013<br \/>Andrew Weber<br \/>Single User License<br \/>EA7E-855605<br \/>813A03DD 5E4AD9E6 6C0EEB94 BC99798F<br \/>942194A6 02396E98 E62C9979 4BB979FE<br \/>91424C9D A45400BF F6747D88 2FB88078<br \/>90F5CC94 1CDC92DC 8457107A F151657B<br \/>1D22E383 A997F016 42397640 33F41CFC<br \/>E1D0AE85 A0BBD039 0E9C8D55 E1B89D5D<br \/>5CDB7036 E56DE1C0 EFCC0840 650CD3A6<br \/>B98FC99C 8FAC73EE D2B95564 DF450523<br \/>\u2014\u2014 END LICENSE \u2014\u2014<\/pre>\n<pre style=\"background: 0% 0% no-repeat rgb(0, 0, 0); border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgb(0, 0, 0); color: whitesmoke; font-family: 'Droid Sans Mono', Consolas, monospace; font-size: 13px; line-height: 20px; margin: 8px 15px; opacity: 0.85; padding: 9.5px; text-align: start; text-shadow: none; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;\">\u2014\u2013 BEGIN LICENSE \u2014\u2013<br \/>K-20<br \/>Single User License<br \/>EA7E-940129<br \/>3A099EC1 C0B5C7C5 33EBF0CF BE82FE3B<br \/>EAC2164A 4F8EC954 4E87F1E5 7E4E85D6<br \/>C5605DE6 DAB003B4 D60CA4D0 77CB1533<br \/>3C47F579 FB3E8476 EB3AA9A7 68C43CD9<br \/>8C60B563 80FE367D 8CAD14B3 54FB7A9F<br \/>4123FFC4 D63312BA 141AF702 F6BBA254<br \/>B094B9C0 FAA4B04C 06CC9AFC FD412671<br \/>82E3AEE0 0F0FAAA7 8FA773C9 383A9E18<br \/>\u2014\u2014 END LICENSE \u2014\u2014 <\/pre>\n<pre style=\"background: 0% 0% no-repeat rgb(0, 0, 0); border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgb(0, 0, 0); color: whitesmoke; font-family: 'Droid Sans Mono', Consolas, monospace; font-size: 13px; line-height: 20px; margin: 8px 15px; opacity: 0.85; padding: 9.5px; text-align: start; text-shadow: none; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;\">\u2014\u2013 BEGIN LICENSE \u2014\u2013J2TeaM<br \/>2 User License<br \/>EA7E-940282<br \/>45CB0D8F 09100037 7D1056EB A1DDC1A2<br \/>39C102C5 DF8D0BF0 FC3B1A94 4F2892B4<br \/>0AEE61BA 65758D3B 2EED551F A3E3478C<br \/>C1C0E04E CA4E4541 1FC1A2C1 3F5FB6DB<br \/>CFDA1551 51B05B5D 2D3C8CFE FA8B4285<br \/>051750E3 22D1422A 7AE3A8A1 3B4188AC<br \/>346372DA 37AA8ABA 6EB30E41 781BC81F<br \/>B5CA66E3 A09DBD3A 3FE85BBD 69893DBD<br \/>\u2014\u2014 END LICENSE \u2014\u2014<\/pre>\n<\/div>\n<div dir=\"ltr\"><span lang=\"es\"><br \/><\/span><\/div>\n<div dir=\"ltr\"><span lang=\"es\">Y eso es todo.<\/span><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; Sublime Text es un editor de texto sofisticado para el c\u00f3digo, marcado y prosa. Te va a encantar la interfaz de usuario mancha, caracter\u00edsticas extraordinarias y un rendimiento incre\u00edble. La instalaci\u00f3n mediante RPM no existe para fedora, sin embargo se puede instalar mediante un tarball que se descarga desde la p\u00e1gina oficial de sublime [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[888,890,887,185,889],"tags":[],"class_list":["post-1666","post","type-post","status-publish","format-standard","hentry","category-install-sublime-text-3-in-centos","category-install-sublime-text-en-linux","category-sublime-text","category-sublimetext3","category-sublimetext3-in-centos"],"_links":{"self":[{"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/posts\/1666","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=1666"}],"version-history":[{"count":0,"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/posts\/1666\/revisions"}],"wp:attachment":[{"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/media?parent=1666"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/categories?post=1666"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/tags?post=1666"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}