[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Diferencias

Muestra las diferencias entre dos versiones de la página.

Enlace a la vista de comparación

Próxima revisión
Revisión previa
Próxima revisiónAmbos lados, revisión siguiente
es:howtos:slackware_admin:building_packages_with_sbopkg [2019/02/03 20:54 (UTC)] – creado slackwarespanoles:howtos:slackware_admin:building_packages_with_sbopkg [2019/03/07 04:09 (UTC)] – [Usando Queuefiles con sbopkg] antares_alf
Línea 1: Línea 1:
-====== Building and Installing Packages with sbopkg ======+====== Construyendo e instalando paquetes con sbopkg ======
  
-[[https://sbopkg.org/|Sbopkg]] is a command-line and dialog-based tool to synchronize with the [[https://slackbuilds.org/|SlackBuilds.org]] ("SBo"repositorya collection of third-party SlackBuild scripts to build Slackware packagesThe program has a curses based interface which lets you pick and assemble the programs which you want to compile from source into packagesIt can also be used non-interactively in case you know beforehand what your goal is - in that case it is "fire and forget".+[[https://sbopkg.org/|Sbopkg]] es una herramienta de línea de comandos y de diálogo para sincronizar con el repositorio [[https://slackbuilds.org/|SlackBuilds.org]] ("SBo") , una colección de scripts SlackBuild de terceros para construir paquetes Slackware. El programa tiene una interfaz basada en curses que le permite seleccionar y ensamblar los programas que desea compilar desde la fuente hasta los paquetesTambién se puede usar de forma no interactiva en caso de que sepa de antemano cuál es su objetivo, en ese caso es "fire and forget (dispara y olvida)".
  
-The following information will assist you in getting sbopkg installed, and running on Slackware.+La siguiente información lo ayudará a instalar sbopkg y ejecutar Slackware.
  
-<note tip>Note that ''sbopkg'' builds //Slackware// packagesAs with any Slackware package management programyou will have to be root to use the programExecute <code>su -</code> to get a root command prompt with the correct environment configured.</note>+<note tip> Tenga en cuenta que ''sbopkg'' construye //paquetes Slackware//Al igual que con cualquier programa de administración de paquetes Slackware, ¡tendrá que ser root para usar el programaEjecute <code> su - </code> para obtener un prompt root con el entorno correcto configurado. </note>
  
 +===== Descargar sbopkg: =====
  
-===== Download sbopkg: =====+Descargue sbopkg desdehttps://www.sbopkg.org/downloads.php \\ Puede obtener las fuentes y crear un paquete usted mismo, o simplemente tomar el paquete de Slackware ya hecho. La siguiente sección de este artículo asume que descargó el paquete listo para usar.
  
-Download sbopkg from: https://www.sbopkg.org/downloads.php \\ You can get the sources and build a package yourself, or just grab th ready-made Slackware package. The following section of this article assumes that you downloaded the ready-built package. 
  
 +===== Instalar sbopkg =====
  
-===== Install sbopkg ===== +   Suponiendo que el nombre del archivo del paquete '' sbopkg '' que descargó en el directorio actual es //sbopkg-0.38.0-noarch-1_wsr.tgz//, el comando '' installpkg '' para instalar sbopkg (o actualizarlo si ya estaba presente en su sistemaes el siguiente: <code>
- +
-  Assuming that the ''sbopkg'' package file name you downloaded to the current directory is //sbopkg-0.38.0-noarch-1_wsr.tgz//, the ''installpkg'' command to install sbopkg (or upgrade it if it was already present on your systemis as follows: <code>+
 $ su - $ su -
 # cd /path/to/downloaded/file/ # cd /path/to/downloaded/file/
Línea 21: Línea 20:
 </code> </code>
  
-===== Configure sbopkg =====+===== Configurar sbopkg ===== 
 + 
 +   - ¡Lee la documentación ''sbopkg'' !Vea https://www.sbopkg.org/docs.php, y también no olvide que hay una página de manual para ''sbopkg''
 +   - La primera vez que se ejecuta ''sbopkg'', se le preguntará si está bien que el programa cree los archivos de configuración necesarios:  
 +<code>
  
-  - Read the ''sbopkg'' documentation! See https://www.sbopkg.org/docs.php , and also do not forget there is a man page for ''sbopkg''. 
-  - The first time ''sbopkg'' is executed, you will be asked if it is OK that the program creates the necessary configuration files: <code> 
 # sbopkg # sbopkg
  
Línea 41: Línea 42:
  
 (C)reate or (A)bort?: (C)reate or (A)bort?:
-</code>. Select <key>'C'</key> to create these required directories. \\ The program will then present its main screen: \\  +</code> 
-{{:howtos:slackware_admin:sbopkg_start.png}} +Seleccione <key> 'C' </key> para crear estos directorios requeridos. \\ El programa presentará su pantalla principal: \\ 
-  Your first task is to synchronize with the SlackBuilds.org repository - i.e. you let ''sbopkg'' create a local copy of all the SlackBuild entries on the remote serverfor the Slackware release which you are runningYou either use the first menu item in the curses-based main screenor else you can do this from the commandline: <code>+{{: howtos: slackware_admin: sbopkg_start.png}} 
 +   Su primera tarea es sincronizar con el repositorio de SlackBuilds.org, es decir, dejar que '' sbopkg '' cree una copia local de todas las entradas de SlackBuild en el servidor remotopara la versión de Slackware que está ejecutandoPuede utilizar el primer elemento del menú en la pantalla principal basada en curses, o puede hacerlo desde la línea de comandos:<code>
 # sbopkg -r # sbopkg -r
 Syncing with the remote repository into /var/lib/sbopkg/SBo/14.2. Syncing with the remote repository into /var/lib/sbopkg/SBo/14.2.
Línea 60: Línea 62:
 ***SYNC COMPLETE*** ***SYNC COMPLETE***
 </code> </code>
-  - You are now ready to select the packages you want ''sbopkg'' to build from source. +  - Ahora está listo para seleccionar los paquetes que desea "sbopkg" para compilar desde la fuente
- +===== Usando Queuefiles con sbopkg =====
- +
-===== Using Queuefiles with sbopkg =====+
  
-The ''sbopkg'' program itself allows a great deal of automationthe interactive curses interface helps you manage the burden of downloading source code archivesand allowing you to select multiple programs and then compile and package all of those in one go.\\ But you can automate this process even furtherby using sqg - sbopkg queueu generator (included in main package since 0.38.0).+El programa ''sbopkg'' en sí mismo permite una gran cantidad de automatizaciónla interfaz de curses interactivas le ayuda a administrar la carga de descargar archivos de código fuentey le permite seleccionar múltiples programas y luego compilar y empaquetar todos estos a la vez. \\ Pero puede automatizar este proceso aún másutilizando el generador de cola de sqg - sbopkg (incluido en el paquete principal desde 0.38.0).
  
-sqg can generate queuefile for each or all packages in SBo repository:<code>+sqg puede generar un archivo de cola para cada uno o todos los paquetes en el repositorio de SBo:<code>
 sqg -p <filezilla> # this will only generate queue file for filezilla package only sqg -p <filezilla> # this will only generate queue file for filezilla package only
 sqg -a # this will generate queue files for all packages in SBo repository sqg -a # this will generate queue files for all packages in SBo repository
 </code> </code>
  
-Note that everytime a public update is announced or new repository is availableit's recommended to run sqg -a to generate an updated queue files as deps may be added or removed+Tenga en cuenta que cada vez que se anuncie una actualización pública o que haya un nuevo repositorio disponiblese recomienda ejecutar sqg -a para generar una cola actualizada a medida que se agreguen o eliminen dependencias
-===== Example of Using sbopkg =====+===== Ejemplo de uso de sbopkg =====
  
-As an examplelet's install [[http://gramps-project.org/|Gramps]]. The queuefile for Gramps lists the following dependenciesin order of install: <code>+Como ejemploinstalemos [[http://gramps-project.org/|Gramps]]. El archivo de cola para Gramps enumera las siguientes dependenciasen orden de instalación: <code>
 orbit2 orbit2
 pyorbit pyorbit
Línea 86: Línea 86:
 </code> </code>
  
-Load the "''gramps.sqf''" queue file in sbopkg's curses interfaceand Gramps will be successfully built on your Slackware 14.2 system and installedalong with all its dependencies.+Cargue el archivo de cola "'' gramps.sqf ''" en la interfaz de curses de sbopkg, Gramps se construirá con éxito en su sistema Slackware 14.2 e instalarájunto con todas sus dependencias.
  
-Alternatively you can use the less interactive command-line interface: <code>+Alternativamente, puede utilizar la interfaz de línea de comandos menos interactiva: <code>
 sbopkg -i gramps sbopkg -i gramps
 Both a queuefile and a package were found with the name "gramps". Both a queuefile and a package were found with the name "gramps".
Línea 178: Línea 178:
  
  
-====== Sources ====== +====== Fuentes ====== 
-  * Originally written by [[wiki:user:ldkraemer|ldkraemer]] +  * Escrito originalmente por [[wiki:user:ldkraemer|ldkraemer]] 
-  * Contributions by [[wiki:user:alienbob|Eric Hameleers]] +  * Contribuciones por [[wiki:user:alienbob|Eric Hameleers]] 
-  * Contributions by [[wiki:user:willysr|Willy Sudiarto Raharjo]]+  * Contribuciones por [[wiki:user:willysr|Willy Sudiarto Raharjo]] 
 +  * Traducido por:  [[wiki:user: slackwarespanol | Victor]] 2019/02/04 11:35 (UTC) 
  
  
 <!-- Please do not modify anything below, except adding new tags.--> <!-- Please do not modify anything below, except adding new tags.-->
 {{tag>howtos software sbo package_management author_ldkraemer}} {{tag>howtos software sbo package_management author_ldkraemer}}
 es:howtos:slackware_admin:building_packages_with_sbopkg ()