Collectd - How to get version installed - collectd

I have installed collectd using sudo apt-get install collectd. Is there any command to get the current installed version of Collectd?
I tried collectd -v. Apparently it does not work. I do not see any option to get the version.

apt-cache policy collectd will show the version installed (as well as other available versions and their sources)

Run collectd/bin/collectdctl
It prints out the version.

Use /usr/bin/collectdctl on RHEL 7 or CentOS.
On RHEL 8 you can use collectd -h this will also print the version.

Related

Check the version of Apache web server on Suse Linux ES 12

does anyone know how I could check the version of apache2 web server on Linux Suse Enterprise Server 12?
I tried httpd -v and apache2 -v but those options don't work on this version of linux.
I would like to update the apache server, but unfortunately I have not worked with this version of linux until now.
Thanks in advance for your help.
Just check the installed rpm package by
rpm -q -i apache2
and also check the changelog of the package by
rpm -q --changelog apache2
because current security fixes are backported to the originally released version.

How to install specific apache version?

I developed one module for apache 2.4 server, I want to test my module with different apache versions.
I installed apache2.4 using following command.
apt-get -y install apache2
Can I install previous apache versions using apt-get?
You can install the package name with version number
apt-get install <packagename>=<complete version name>
The below command will show the list of versions
apt-cache showpkg <pachagename>

How do I change the default path for Bazel when multiple version installed?

I got a message that I needed to upgrade to the newest version of Bazel to build Tensorflow. I followed the instructions for installing bazel using apt-get and it says I have 0.7.0 installed.
However when I issue the command "bazel version", I am still seeing the older 0.4.5 version installed. When I issue "whereis bazel" I get the following results:
bazel: /usr/bin/bazel /etc/bazel.bazelrc /usr/local/bin/bazel /usr/local/lib/bazel
The version at /usr/bin/bazel is the newest version 0.7.0. However the version at /usr/local/bin/bazel is the older version 0.4.5.
I am somewhat new to Linux, but assume there has got to be a way to change the pointer for the path for when I call bazel directly. Is this assumption correct? Any ideas? Thanks!
You should just remove your installation under /usr/local/bin/bazel which was probably installed with an older shell installer: sudo rm /usr/local/bin/bazel

Redis desktop dependency on libicu52 for ubuntu12.04

I want to use a redis browser and I found redis-desktop-manager.
(http://redisdesktop.com/download)
I downloaded a deb file but it requested libicu52.
Frist. How can I install this one in Ubuntu12.04.
Second. I found later that it seems to support Ubuntu version 14+.
Would I run this on 12.04 version?
For the dependency of libicu52 Redis Desktop fail to install. You can follow bellow step:
Step 1: To download the libicu52 file. Run the command in the terminal:
wget http://security.ubuntu.com/ubuntu/pool/main/i/icu/libicu52_52.1-8ubuntu0.2_amd64.deb
Step 2: Install libicu52 by executing this command:
dpkg -i libicu52_52.1-8ubuntu0.2_amd64.deb
Now, Attempt once again to install redis-desktop-manager client from debian file, I believe now everything is fine ;)
FYI, redis-desktop-manager installs and runs perfectly on my 15.10 systems.
You can probably compile redis-desktop-manager from source on your system, using the libicu* version that comes with 12.04. I would also consider upgrading: 12.04 is no longer supported, has been replaced as an LTS by 14.04 and it generally far behind.
FWIW redis-desktop-manager installs and runs fine on my 15.04 and 15.10 systems.

I just installed graphite on my mac, but some fonts are huge

I just installed graphite on OSX, and managed to get the web app running this command:
python /opt/graphite/bin/run-graphite-devel-server.py /opt/graphite
I'll eventually move it to ubuntu, but in the mean time, some fonts are enormous:
Any thoughts on how to fix this?
I chased this down to an issue with the newest version of cairo. I removed cairo and installed 1.12.6. I posted the instructions here gist.github.com/relaxdiego/7539911
Its the cairocffi that handles the fonts and other display parameters. Sometimes installing only cairo doesn't work. In the above case you should always troubleshoot by ensuring proper and complete installation of the cairocffi package. By complete I mean all the dependencies for cairocffi.
The frequently required are:
1. libffi-devel (for rpm based operating systems)
sudo yum install libffi-devel
2. libffi-dev (for debian based operating systems)
sudo apt-get install libffi-dev
3. parse_lookup
sudo pip install parse_lookup
This is the Github page for cairocffi.