[2025-jun-17] The SlackDocs mailing lists at https://lists.alienbase.nl/mailman/listinfo have been retired. No one has been using these lists for years and it's time to say goodbye. The list archives remain available at https://scalzi.slackware.nl/mailman/listinfo/slackdocs
[2025-jun-17] The SlackDocs Wiki has moved to a new server, in order to make it more performant.
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| slackware:slackpkg [2012/09/10 15:23 (UTC)] – [install] cmyster | slackware:slackpkg [2023/05/12 08:53 (UTC)] (current) – mozes | ||
|---|---|---|---|
| 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). --> | ||
| ====== slackpkg ====== | ====== slackpkg ====== | ||
| - | Slackpkg is an automated tool to manage local packages and to install new package over a network. | + | |
| + | Slackpkg is an automated tool to manage local packages and to install new package over a network. slackpkg | ||
| ===== Configuring ===== | ===== Configuring ===== | ||
| - | Before slackpkg can be used it needs to have a current list of packages and their versions and that can be downloaded automatically by the tool itself once a mirror site is selected. To select a mirror, just uncomment a single URL in the file ''/ | + | |
| + | === Initial Setup === | ||
| + | |||
| + | Before slackpkg can be used it needs to have a current list of packages and their versions and that can be downloaded automatically by the tool itself once a mirror site is selected. | ||
| + | |||
| + | To select a mirror, just uncomment a single URL in the file ''/ | ||
| + | |||
| + | <note tip> | ||
| + | |||
| + | <note important> | ||
| Then run: | Then run: | ||
| Line 20: | Line 30: | ||
| | | ||
| Otherwise slackpkg will download and install the current package information and will use that list.\\ | Otherwise slackpkg will download and install the current package information and will use that list.\\ | ||
| + | |||
| + | |||
| + | <note tip>If you have installed Slackware -current (the rolling development branch) you will be presented with a message similar to the following: | ||
| + | < | ||
| + | You have selected a mirror for Slackware -current in / | ||
| + | but Slackware version 15.0+ appears to be installed. | ||
| + | Slackware -current is the development (i.e. unstable) tree. | ||
| + | Is this really what you want? | ||
| + | </ | ||
| + | |||
| + | This is to be expected and you can proceed. The ' | ||
| + | |||
| + | </ | ||
| ==== Blacklisting ==== | ==== Blacklisting ==== | ||
| Line 30: | Line 53: | ||
| ===== Usage ===== | ===== Usage ===== | ||
| + | Read this entire page before using slackpkg, especially the part about Full System Upgrades, if you are or plan to run Slackware -current. | ||
| Slackpkg uses patterns to search install and remove packages. The pattern will be searched on the list of packages and any package that matches the pattern is shown. | Slackpkg uses patterns to search install and remove packages. The pattern will be searched on the list of packages and any package that matches the pattern is shown. | ||
| Line 111: | Line 135: | ||
| Running slackpkg with this argument will produce a clean printout if there are any available updates. | Running slackpkg with this argument will produce a clean printout if there are any available updates. | ||
| + | |||
| + | ===== Regular updates ===== | ||
| + | |||
| + | After the initial configuration, | ||
| + | |||
| + | Cause slackpkg to update its knowledge of the configured Slackware release: | ||
| + | |||
| + | < | ||
| + | slackpkg update | ||
| + | </ | ||
| + | |||
| + | Check the Change Log for the configured release: | ||
| + | < | ||
| + | slackpkg show-changelog | ||
| + | </ | ||
| + | |||
| + | Generally, unless you know what you're doing you should install new packages since some of the existing packages may now depend on them. | ||
| + | |||
| + | < | ||
| + | slackpkg install-new</ | ||
| + | |||
| + | Upgrade to the latest packages: | ||
| + | < | ||
| + | slackpkg upgrade-all</ | ||
| + | |||
| + | Clean up: | ||
| + | < | ||
| + | slackpkg clean-system</ | ||
| + | |||
| + | <note tip>For Slackware ARM/ | ||
| + | For x86/64 you may need to run the '' | ||
| + | |||
| ===== Full system upgrade ===== | ===== Full system upgrade ===== | ||
| Line 121: | Line 177: | ||
| slackpkg clean-system | slackpkg clean-system | ||
| | | ||
| - | It is always recommended to read the latest ChangeLogs and '' | + | It is always recommended to read the latest ChangeLogs and '' |
| < | < | ||
| ===== External Links ===== | ===== External Links ===== | ||
| - | * SlackPKG home page: [[http://www.slackpkg.org/]] | + | * SlackPKG home page: [[https:// |
| - | * SlackPKG project on SourceForge: | + | |
| <!-- Please do not add anything below, except additional tags.--> | <!-- Please do not add anything below, except additional tags.--> | ||