weechat command not found

In this troubleshooting guide we learn how to fix weechat command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

weechat: command not found

or when using sudo you get the following error message

sudo: weechat: command not found

Solutions to weechat: command not found

How To Fix weechat: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu weechat is provided by weechat-curses package.

weechat-curses is:

WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client for many operating systems. Everything can be done with a keyboard. It is customizable and extensible with plugins/scripts, and includes:

  • support of IRC protocol (native)
  • support of XMPP/Jabber protocol (with additional script)
  • nicklist
  • smart hotlist
  • horizontal and vertical split
  • double charset support (decode/encode)
  • FIFO pipe for remote control
  • 256 colors support
  • incremental text search
  • dynamic filtering of buffer content
  • Perl, Python, Ruby, Lua, Tcl, Scheme and PHP scripting
  • script manager
  • spell checking
  • highly customizable and extensible
  • and much more!

This package provides the console client (ncurses).

To fix this problem, we can install more using the command below.

sudo apt-get -y install weechat-curses

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install weechat-curses.

sudo apt -y install weechat-curses

Or if you have aptitude installed you can use the following command.

sudo aptitude install weechat-curses

Summary

In this tutorial we learn how to fix weechat command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.