[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 revisionLast revisionBoth sides next revision | ||
slackware:slackpkg [2012/08/23 15:15 (UTC)] – [Full system upgrade] vharishankar | slackware:slackpkg [2023/03/07 10:01 (UTC)] – 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 66: | Line 90: | ||
==== install ==== | ==== install ==== | ||
- | To install a package use '' | + | To install a package use '' |
+ | To install everything in a branch you can type: '' | ||
==== remove ==== | ==== remove ==== | ||
Line 116: | Line 140: | ||
To perform a full system upgrade, please follow these steps (as root user): | To perform a full system upgrade, please follow these steps (as root user): | ||
| | ||
- | | + | |
slackpkg install-new | slackpkg install-new | ||
slackpkg upgrade-all | slackpkg upgrade-all | ||
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.--> | ||
Line 131: | Line 156: | ||
<!-- Do not remove this line and the text below. Thanks! slackdocs@--> | <!-- Do not remove this line and the text below. Thanks! slackdocs@--> | ||
- | {{tag> | + | {{tag> |