[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

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
wiki:user:mfillpot:sbopkg [2012/10/11 01:56 (UTC)] – [Application CLI Use] Added some initial content to the section mfillpotwiki:user:mfillpot:sbopkg [2012/12/20 04:01 (UTC)] – [Application CLI Use] added additional cli options mfillpot
Line 55: Line 55:
 All files in the renames.d will be replaced as the sbopkg application is updated, if you make changes to any of the file you will need to backup your changes in another location so they can be reverted.</note>  All files in the renames.d will be replaced as the sbopkg application is updated, if you make changes to any of the file you will need to backup your changes in another location so they can be reverted.</note> 
  
-<note warning>Current Working Point</note>+Sometimes it may be necessary to rename the SlackBuild archive for an application to avoid naming conflicts and simplify the organization of the packages in sbopkg. If you wish to apply alternate names to known SlackBuilds you will should first create a new file in the **/etc/sbopkg/renames.d/** directory that follows the debian style naming of {number}-{name}.renames, I recommend a simple name like 70-custom.renames so the default file takes precedence. 
 + 
 +The file contents are very simple, OldName=NewName. 
 +An example would be to rename the i3 window manager SlackBuild to i3wm so it is better reflected as a window manager. 
 +Create a new file named **/etc/sbopkg/renames.d/70-custom.renames**, open the file in your favorite text editor and add the following: 
 +<code># oldname=newname 
 +i3=i3wm</code
  
 +As you can see the comment was added to make future modifications easier and the syntax is also very simple to understand.
 ===== Application Use ===== ===== Application Use =====
  
Line 67: Line 74:
  
 === First Use === === First Use ===
-After the application is installed, your first task is to cleate the necessary files and pull a copy of the active SlabkBuilds.org repo.+After the application is installed, your first task is to create the necessary files and pull a copy of the active SlabkBuilds.org repo.
  
 To accomplish all of the listed tasks you simply need to issue the command to sync the repo. To accomplish all of the listed tasks you simply need to issue the command to sync the repo.
 <code>root@darkstar#sbopkg -r</code> <code>root@darkstar#sbopkg -r</code>
 +//This will also create the necessary directories to hold the repo, cache, queue files and output packages.//
  
 Upon completion of the syncronization procedure you are free to build, install or inspect all slackbuild from http://www.SlackBuilds.org which have been downloaded into your local filesystem. Upon completion of the syncronization procedure you are free to build, install or inspect all slackbuild from http://www.SlackBuilds.org which have been downloaded into your local filesystem.
Line 77: Line 85:
  
 **Basic Commands** **Basic Commands**
 +  * **-u** - check for an update to sbopkg.
   * **-r** - Sync the local repo   * **-r** - Sync the local repo
   * **-c** - check for updates to installed SBo packages   * **-c** - check for updates to installed SBo packages
Line 83: Line 92:
   * **-i** - Download the source, build packages and install/upgrade packages for the selected application(s).   * **-i** - Download the source, build packages and install/upgrade packages for the selected application(s).
   * **-k** - skip selected process for installed application(s)   * **-k** - skip selected process for installed application(s)
-  * **-u** - check for an update to sbopkg.+ 
 +**Search and Display Options** 
 +  * **-R** - Display the README for the selected application. 
 +  * **-g** - Search for package name that matches a string. 
 +  * **-s** - Search for a specific package and display the package information. 
 + 
 +**Cache and File Maintenance** 
 +  * **-o** - Display the obsolete source files and prompt for deletion. 
 +  * **-P** - Display the cache files for uninstalled apps and prompt for deletion. 
 +  
 +<note warning>Current Working Point</note>
 ==== Application GUI Use ==== ==== Application GUI Use ====
  
 wiki:user:mfillpot:sbopkg ()