I assume you are running a supported version of Debian or Ubuntu.
0. first of all, install emacs using Terminal
$ sudo apt install emacs
- open emacs
- M-x (which means press x while you are holding Alt key)
- enter the commnd, erc-tls
- IRC server: irc.libera.chat
- IRC port: 6697
- Nickname: <enter-your-desired-nickname>
- Password: <leave this part empty and just press enter>
Now you are logged in to the Libera Chat network. Enter the following command in GNU Emacs,
- ERC> /msg NickServ REGISTER <Your-Password> <firstname.lastname@example.org>
- Now, check your email address, you should have received an email from Libera Chat Network Services
- Click on the confirmation link in your email, and finish.