[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.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
wiki:user:mfillpot:sbopkg [2012/09/01 01:10 (UTC)] – Added complete original text mfillpot | wiki:user:mfillpot:sbopkg [2012/12/20 04:14 (UTC)] (current) – [Application CLI Use] added content mfillpot | ||
---|---|---|---|
Line 1: | Line 1: | ||
<!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> | <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> | ||
+ | |||
====== sbopkg ====== | ====== sbopkg ====== | ||
- | < | + | sbopkg |
- | sbopkg | + | The queue file use tool included in sbopkg |
+ | <note warning> | ||
- | ======Installation====== | + | =====Installation===== |
- | ===== Obtaining sbopkg | + | ==== Obtaining sbopkg ==== |
The sbopkg application is found on the project' | The sbopkg application is found on the project' | ||
Once you locate the download button use your favorite download manager to download the resulting package into your chosen directory. | Once you locate the download button use your favorite download manager to download the resulting package into your chosen directory. | ||
- | ===== Installing sbopkg | + | ==== Installing sbopkg ==== |
Once the download has completed you will need to enter your root or priveledged account to run the installation application. \\ | Once the download has completed you will need to enter your root or priveledged account to run the installation application. \\ | ||
Enter the chosen download directory and enter the following, substituting the version number with the current version. | Enter the chosen download directory and enter the following, substituting the version number with the current version. | ||
< | < | ||
- | ======Application Configuration====== | + | =====Application Configuration===== |
- | < | + | < |
All configuration files for sbopkg are kept in the **/ | All configuration files for sbopkg are kept in the **/ | ||
- | =====Editing sbopkg.conf===== | + | ====Editing sbopkg.conf==== |
- | < | + | < |
**man 5 sbopkg.conf**</ | **man 5 sbopkg.conf**</ | ||
- | The sbopkg.conf file is well documented with comments explaining the various options, read the comments associated with the option that you wish to change to confirm that the syntax and chosen options are correct.// | + | The sbopkg.conf file is well documented with comments explaining the various options, read the comments associated with the option that you wish to change to confirm that the syntax and chosen options are correct. |
+ | The only modifications that should be performed on this file without potential issues are to move the directories that the application will use, which are listed below: \\ | ||
+ | * **OUTPUT** | ||
+ | * **QUEUEDIR** | ||
+ | * **REPO_ROOT** - The directory which will the synchronized slackbuild scripts | ||
+ | * **SRCDIR** - The directory which will contain the downloaded source archives for all builds | ||
- | < | + | You can optionally modify REPO_BRANCH and REPO_NAME variables if you wish to use a custom repository, however the official SlackBuilds.org repo for the current stable Slackware release is enabled by default. |
+ | ====Selecting Repos (Optional)==== | ||
+ | <note important> | ||
+ | |||
+ | All files in the repos.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.</ | ||
+ | |||
+ | The repos.d directory currently contains the following files: \\ | ||
+ | * **README** - The author' | ||
+ | * **40-sbo-repo** - The author' | ||
+ | * **50-local.repo** - This file can point to a custom repo such as a centralized repo for a corporation or other organization | ||
+ | * **60-SBo-current.repo** - This is another custom repo file which by default is pointing to ponce' | ||
+ | |||
+ | ====Using the Rename Option==== | ||
+ | <note important> | ||
+ | |||
+ | 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.</ | ||
+ | |||
+ | 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 **/ | ||
+ | |||
+ | 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 **/ | ||
+ | < | ||
+ | i3=i3wm</ | ||
+ | |||
+ | As you can see the comment was added to make future modifications easier and the syntax is also very simple to understand. | ||
+ | ===== Application Use ===== | ||
+ | |||
+ | The sbopkg application has two possible modes, CLI and GUI. Both have pros and cons, as with any tool, the user should utilize the balance of tools that best fit their needs. | ||
+ | |||
+ | ==== Application CLI Use ==== | ||
+ | < | ||
+ | |||
+ | The most basic and functional use of the **sbopkg** utility is through the command line, the only real limitation is lacking the ability to generate queu files. | ||
+ | |||
+ | === First Use === | ||
+ | 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. | ||
+ | < | ||
+ | //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:// | ||
+ | |||
+ | === General Use === | ||
+ | |||
+ | **Basic Commands** | ||
+ | * **-u** - check for an update to sbopkg. | ||
+ | * **-r** - Sync the local repo | ||
+ | * **-c** - check for updates to installed SBo packages | ||
+ | * **-d** - Download the source archive for the selected application(s). | ||
+ | * **-b** - Download the source and build packages for the selected application(s). | ||
+ | * **-i** - Download the source, build packages and install/ | ||
+ | * **-k** - skip selected process for installed application(s) | ||
+ | |||
+ | **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. | ||
+ | |||
+ | === Building Applications from the SlackBuilds.org Repo === | ||
+ | Before each set of uses it is recommended to re-sync the repo to guarantee that all updated and new SlackBuilds are available, this is again accomplished with the **-r** option. | ||
+ | |||
+ | For this example we will conduct all steps necessary to install the pysolfc application. As the goal is to download the source, build and install this application, | ||
+ | < | ||
+ | Upon submitting the command all steps will begin running and the application will display the verbose output, you will also be prompted if there is an error or the checksum does not match the file. | ||
+ | |||
+ | < | ||
+ | |||
+ | === Updating Installed Applications/ | ||
+ | To search for updates to applications and libraries that were installed from SlackBuilds you must first re-sync your repo to gather all updates. Upon completing that task you will issue the **-c** option, after a quick scan the list of potential updates will be displayed. | ||
+ | |||
+ | < | ||
+ | root@darkstar# | ||
+ | [ Checking for potential updates ] | ||
+ | This may take a few moments. Press <ESC> to abort. | ||
+ | 100%[======================================================================] | ||
+ | Listing installed SBo repository for Slackware 14.0 packages and flagging | ||
+ | potential updates... | ||
+ | |||
+ | google-talkplugin: | ||
+ | INSTALLED PACKAGE IS NEWER THAN REPO | ||
+ | Installed version: | ||
+ | Repo version: | ||
+ | Note: repo version not obtainable by standard method, may be inaccurate. | ||
+ | libevent: | ||
+ | POTENTIAL UPDATE | ||
+ | Installed version: | ||
+ | Repo version: | ||
+ | mathomatic: | ||
+ | INSTALLED PACKAGE IS NEWER THAN REPO | ||
+ | Installed version: | ||
+ | Repo version: | ||
+ | warzone2100: | ||
+ | INSTALLED PACKAGE IS NEWER THAN REPO | ||
+ | Installed version: | ||
+ | Repo version: | ||
+ | |||
+ | Potential update list complete. | ||
+ | </ | ||
+ | |||
+ | You can then install build and install the newly updated applications with the standard install and build options. | ||
+ | |||
+ | <note warning> | ||
+ | ==== Application GUI Use ==== | ||
+ | |||
+ | ===== Queue Files ===== | ||
+ | |||
+ | ===== Making Sbopkg Handle Dependencies ===== | ||
+ | ====== Notes about Hard Drive Use ====== | ||
+ | |||
+ | <!-- | ||
Now, run the command //sbopkg// to execute the application which will do the initial file setup and synchronization, | Now, run the command //sbopkg// to execute the application which will do the initial file setup and synchronization, | ||
Line 42: | Line 164: | ||
- | === Making Sbopkg Handle Dependencies === | + | ===== Making Sbopkg Handle Dependencies |
By default this sbopkg, dont have automatic dependency check. But, it can be done using the following | By default this sbopkg, dont have automatic dependency check. But, it can be done using the following | ||
Line 125: | Line 247: | ||
and browse this command-line based application. Or , visit http:// | and browse this command-line based application. Or , visit http:// | ||
+ | |||
+ | --> | ||
Line 134: | Line 258: | ||
<!-- Please do not modify anything below, except adding new tags.--> | <!-- Please do not modify anything below, except adding new tags.--> | ||
<!-- You must also remove the tag-word " | <!-- You must also remove the tag-word " | ||
- | {{tag> | + | {{tag>author_mfillpot |