-
Notifications
You must be signed in to change notification settings - Fork 0
RPM package
Table of contents
Important
Installing Salomon using packages is currently experimental. Installing, upgrading and uninstalling is possible, but is not yet fully developed.
You can install Salomon as follows. In this example version 1.23.1-1.
Warning
Do not install Salomon via the package if it already was installed using its installation script before.
In this case, backup all relevant configs from the current installation and uninstall it also by using the installation script. Then, remove the directory /opt/salomon
(if still existing) entirely.
Simply install the package using rpm
(or via package manager):
rpm -ivh salomon-1.23.1-1.noarch.rpm
When successful, Salomon has been installed to /opt/salomon
as usual.
You can upgrade Salomon for example from version 1.23.1-1 to version 1.23.2-1 as follows.
Note
Even though, the modified and added files should be kept automatically, backup all relevant configs to avoid any loss of data.
rpm -Uvh salomon-1.23.2-1.noarch.rpm
This will upgrade Salomon, but keep salomon.cfg
as well as all config files inside the colors
and filters
sub-directories untained. However, no files with the .rpmnew
suffix will be created in case the configs differ from those included in the package.
You can uninstall Salomon also using rpm
(or via package manager) as follows.
Note
Even though, the modified and added files should be kept automatically, backup all relevant configs to avoid any loss of data.
rpm -ev salomon
After uninstalling one of the following states exists, depending on if you modified the installation or kept it untainted.
For example, if the files inside the /opt/salomon
directory were changed the following way
-
salomon.cfg
was modified -
colors/log_colors.cfg
was modified -
colors/maillog.cfg
was modified -
colors/users.cfg
was added
those files will remain after uninstalling.
The directory /opt/salomon
then still exists, containing the modified files with the additional suffix .rpmsave
and the added files without any file name change.
/opt/salomon
├── colors
│ ├── log_colors.cfg.rpmsave
│ ├── maillog.cfg.rpmsave
│ └── users.cfg
└── salomon.cfg.rpmsave
This way, you can backup the corresponding files (if needed) and remove /opt/salomon
entirely.
In case you neither changed any file nor added new ones inside /opt/salomon
and its sub-directories, removing it will also entirely remove this directory.
Wiki
Quick start
Installation (optional)
- Quick installation guide
- Manually downloaded archive
- Verifying archive integrity
-
Installation script
(to install, update and uninstall)
- RPM package
Compatibility
Configuration
Salomon-BSD
Usage
- Processing input files
- Colorizing and highlighting certain lines
- Handling file paths containing certain characters
Development