activemq command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
activemq: command not found
or when using sudo you get the following error message
sudo: activemq: command not found
Solutions to activemq: command not found
How To Fix activemq: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu activemq is provided by activemq package.
activemq is:
Apache ActiveMQ is a message broker built around Java Message Service (JMS) API : allow sending messages between two or more clients in a loosely coupled, reliable, and asynchronous way.
This message broker supports :
- JMS 1.1 and J2EE 1.4 with support for transient, persistent, transactional and XA messaging
- Spring Framework, CXF and Axis integration
- pluggable transport protocols such as in-VM, TCP, SSL, NIO, UDP, multicast, JGroups and JXTA
- persistence using JDBC along with journaling
- OpenWire (cross language wire protocol) and Stomp (Streaming Text Orientated Messaging Protocol) protocols
This package contains a server installation of ActiveMQ.
To fix this problem, we can install more using the command below.
sudo apt-get -y install activemq
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install activemq.
sudo apt -y install activemq
Or if you have aptitude installed you can use the following command.
sudo aptitude install activemq
Summary
In this tutorial we learn how to fix activemq command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.