You must use apt, apt-get or aptitude to install the packages (with sudo or as "root" user).
The following examples use sudo and apt-get.
The following packages must be installed:
$ sudo apt-get install ca-certificates dirmngr gpg-agent apt-transport-https
Note: in some Linux distributions, the package gpg-agent is called gnupg-agent.
Create GnuPG directory:
$ sudo mkdir /root/.gnupg
$ sudo chmod 700 /root/.gnupg
Import the GPG key used to sign the repositories:
$ sudo mkdir -p /usr/share/keyrings
$ sudo gpg --no-default-keyring --keyring /usr/share/keyrings/weechat-archive-keyring.gpg --keyserver hkps://keys.openpgp.org --recv-keys 11E9DE8848F2B65222AA75B8D1820DB22A11534E
In case of problem, the GPG key can be downloaded here: Debian/Ubuntu repository signing key (format: PGP public key).
…
…
Note: the second command line is optional, it is used to download source packages.
Resynchronize your package index files:
$ sudo apt-get update
Install the binary packages; the "plugins" package is highly recommended but not mandatory, scripting API packages are optional (popular languages are python and perl).
Example for the stable version:
$ sudo apt-get install weechat-curses weechat-plugins weechat-python weechat-perl
Example for the development version:
$ sudo apt-get install weechat-devel-curses weechat-devel-plugins weechat-devel-python weechat-devel-perl
If needed, you can download the source package in order to rebuild binary packages:
$ apt-get source weechat-devel
weechat-devel | 4.5.0-1~dev20241123 | amd64 | 14 files | |
weechat-devel | 4.5.0-1~dev20241123 | arm64 | 14 files | |
weechat-devel | 4.5.0-1~dev20241123 | armhf | 14 files | |
weechat-devel | 4.5.0-1~dev20241123 | i386 | 14 files | |
weechat | 4.4.3-1 | amd64 | 14 files | |
weechat | 4.4.3-1 | arm64 | 14 files | |
weechat | 4.4.3-1 | armhf | 14 files | |
weechat | 4.4.3-1 | i386 | 14 files |
weechat | 4.4.3-1 | amd64 | 14 files |
weechat | 4.4.3-1 | amd64 | 14 files |