How to install WeeChat on Debian 8.3

To install WeeChat on Debian 8.3

WeeChat is a free and open-source internet relay chat client. It is lightweight and fast application. Installing WeeChat is very easy, and this article explains the method to install WeeChat on Debian 8.3

Installing WeeChat

Before installing WeeChat, make sure you add the repository in the apt source.list. Use he following command to open the file.

root@linuxhelp:~# nano /etc/apt/sources.list

Add the following lines at the end of the file.

deb http://ftp.debian.org/debian/ stable main contrib non-free
deb http://ftp.de.debian.org/debian jessie main

Once the lines are added to the file, save it and exit.


Now, use the following command to update the apt sources-list to which the repository was added.

root@linuxhelp:~# apt-get update
Get:1 http://ftp.debian.org jessie-updates InRelease [145 kB]
Ign http://ftp.de.debian.org jessie InRelease           
Get:2 http://ftp.de.debian.org jessie Release.gpg [2,373 B]
Get:3 http://ftp.de.debian.org jessie Release [148 kB]                  
Ign http://ftp.debian.org stable InRelease                                        
Get:4 http://ftp.debian.org jessie-updates/main Sources [15.5 kB]
Get:5 http://ftp.de.debian.org jessie/main amd64 Packages [6,776 kB]
Get:6 http://ftp.debian.org jessie-updates/contrib Sources [32 B]           
Get:7 http://ftp.debian.org jessie-updates/main amd64 Packages/DiffIndex [7,408 B]
Get:8 http://ftp.debian.org jessie-updates/contrib amd64 Packages [32 B]
Get:9 http://ftp.debian.org jessie-updates/contrib Translation-en [14 B]    
Get:10 http://ftp.debian.org jessie-updates/main Translation-en/DiffIndex [2,704 B]  
Get:11 http://ftp.debian.org stable Release.gpg [2,373 B]                 
Get:12 http://ftp.debian.org jessie-updates/main amd64 2017-03-14-2025.02.pdiff [526 B]
.
.
Get:21 http://ftp.debian.org stable/non-free Translation-en [72.1 kB]                        
Fetched 23.4 MB in 1min 21s (289 kB/s)                                                       
Reading package lists... Done

Once it is done, install the WeeChat application with the help of the following command.

root@linuxhelp:~# apt-get install weechat
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libruby2.1 libtcl8.5 libyaml-0-2 weechat-core weechat-curses weechat-plugins
Suggested packages:
  tcl8.5 weechat-doc weechat-scripts
The following NEW packages will be installed:
  libruby2.1 libtcl8.5 libyaml-0-2 weechat weechat-core weechat-curses weechat-plugins
0 upgraded, 7 newly installed, 0 to remove and 264 not upgraded.
Need to get 5,529 kB of archives.
After this operation, 24.6 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
.
.
Setting up weechat-plugins (1.0.1-1) ...
Processing triggers for libc-bin (2.19-18+deb8u2) ...

WeeChat has been installed. Enter the weechat in the terminal to launch the application.

Wasn' t it a simple installation? WeeChat works well on most of the operating systems and platforms. Also, it is customizable and extensible with plugins and scripts.

Tag : WeeChat
FAQ
Q
Is it possible to display only one input bar for all windows (after split)?
A
Yes, you will have to create a bar with type "root" (with an item to know in which window you are), then delete current input bar.
For example:
/bar add rootinput root bottom 1 0 [buffer_name]+[input_prompt]+(away),[input_search],[input_paste],input_text
/bar del input
Q
Why I can’t compile WeeChat after cloning git repository, why?
A
The recommended way to compile WeeChat is with cake.

If you’re compiling with autotools (and not make), check that you have the latest version of Autoconf and Automake.
Q
How to remove weechat applications?
A
use the following command to remove # apt-get remove --autoremove weechat
Q
How can I reduce length of nicks or remove nick alignment in chat area?
A
To reduce max length of nicks in chat area: /set weechat.look.prefix_align_max 15 To remove nick alignment: /set weechat.look.prefix_align none
Q
How to use command line with more than one line?
A
The option size in input bar can be set to a value higher than 1 (for fixed size, default size is 1) or 0 for dynamic size, and then option size_max will set the max size (0 = no limit).

Example with dynamic size:
/set weechat.bar.input.size 0