Updated for examples

This commit is contained in:
Dimitris Zlatanidis 2023-06-15 08:40:34 +03:00
parent 0f2404d46b
commit d1797971d9
2 changed files with 13 additions and 1 deletions

2
.idea/workspace.xml generated
View file

@ -8,7 +8,7 @@
</component>
<component name="ChangeListManager">
<list default="true" id="122a51c9-ec79-4509-bab4-7ab1474a7769" name="Changes" comment="Updated for index">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/docs/how_to_start/index.md" beforeDir="false" afterPath="$PROJECT_DIR$/docs/how_to_start/index.md" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />

View file

@ -1,8 +1,10 @@
# How to start
# Edit repositories
If you are going to use only the [SlackBuilds.org](https://slackbuilds.org) repository, you don't need to edit
the `/etc/slpkg/repositories.toml` file, otherwise edit the file and set `true` the repositories you want.
# Update
The second step is to update the package lists and install the data to the database, just run:
```
@ -11,6 +13,8 @@ $ slpkg update
Now you are ready to start!
# Install packages
To install a package, run:
```
@ -29,18 +33,24 @@ You can install a whole repository with the command:
$ slpkg install '*' --repository=<repository_name>
```
# Remove packages
To remove a package with the dependencies:
```
$ slpkg remove <package_name>
```
# Search for packages
If you want to search a package from all repositories, run:
```
$ slpkg search <package_name> --repository='*'
```
# Edit configuration
Edit the configuration `/etc/slpkg/slpkg.toml` file:
```
@ -49,6 +59,8 @@ $ slpkg configs
For further information, please read the manpage:
# Manpage
```
$ man slpkg
```