How To Install znc on CentOS 8
Introduction
In this tutorial we learn how to install znc
on CentOS 8.
What is znc
ZNC is an IRC bouncer with many advanced features like detaching, multiple users, per channel playback buffer, SSL, IPv6, transparent DCC bouncing, Perl and C++ module support to name a few.
We can use yum
or dnf
to install znc
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install znc.
Install znc on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install znc
using dnf
by running the following command:
sudo dnf -y install znc
Install znc on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install znc
using yum
by running the following command:
sudo yum -y install znc
How To Uninstall znc on CentOS 8
To uninstall only the znc
package we can use the following command:
sudo dnf remove znc
znc Package Contents on CentOS 8
/usr/bin/znc
/usr/lib/.build-id
/usr/lib/.build-id/02
/usr/lib/.build-id/02/f1e0201d88688f6fbfd46d7cbf8786f0b25f6a
/usr/lib/.build-id/0a
/usr/lib/.build-id/0a/2dff691fc717a643302ec49e7b81bcfd591b25
/usr/lib/.build-id/0e
/usr/lib/.build-id/0e/9d9ef7318294f9859e517f272159906a9068f8
/usr/lib/.build-id/10
/usr/lib/.build-id/10/a92e056f70cdd8ff6dd97fa783e7f78737ee82
/usr/lib/.build-id/25
/usr/lib/.build-id/25/18cc11ecf6d29fd131a2b85ce3cd2575ba3a67
/usr/lib/.build-id/28
/usr/lib/.build-id/28/26d35683da1c69741b222455013541ade1f7c3
/usr/lib/.build-id/2b
/usr/lib/.build-id/2b/ed85a22d2e97ae4cdcd69fc76a3411a8c80064
/usr/lib/.build-id/35
/usr/lib/.build-id/35/1d6c62baed112dda3713f00c559583b0f8233e
/usr/lib/.build-id/3a
/usr/lib/.build-id/3a/523da1d6987532db5a53d388585dd2597d60f8
/usr/lib/.build-id/44
/usr/lib/.build-id/44/29a43cbdb823e0f0b7747e904f72ff5d44af4b
/usr/lib/.build-id/49
/usr/lib/.build-id/49/3efa43ab0f6da0b519f642ecbe1c35e2a40464
/usr/lib/.build-id/4e
/usr/lib/.build-id/4e/2bed9e8797dfecc4acf396adc2d3930a3b2e72
/usr/lib/.build-id/53
/usr/lib/.build-id/53/297348474d808a8fe4a4a2f7545363beb4ad3d
/usr/lib/.build-id/55
/usr/lib/.build-id/55/d431f3fccaaaf13b139b3e91dedfa76a4531fc
/usr/lib/.build-id/58
/usr/lib/.build-id/58/c01e6f2e2f77a7bb20beb37c970aa98b88f649
/usr/lib/.build-id/5a
/usr/lib/.build-id/5a/95f3cdc964d21ad6cd61181d3b2b58ce88a11c
/usr/lib/.build-id/5b
/usr/lib/.build-id/5b/3b95633ffa790f6e0d33359f55d6378d320d47
/usr/lib/.build-id/5b/d0cb5255928597da9176b6a2d6a0c779fd1384
/usr/lib/.build-id/62
/usr/lib/.build-id/62/e8172ba7974b31ca56abeca5bc081557687133
/usr/lib/.build-id/64
/usr/lib/.build-id/64/938e66cb99a15f083ce7c296997fc3428370ef
/usr/lib/.build-id/67
/usr/lib/.build-id/67/dee405087857e16c5b3a39f0f7df2a1f8bcc70
/usr/lib/.build-id/69
/usr/lib/.build-id/69/e2a7d9bdb0069616d1aa34a9a55444462d958a
/usr/lib/.build-id/6a
/usr/lib/.build-id/6a/5404e4adb4eaba7ca983700e72cb00bea701d3
/usr/lib/.build-id/6a/f6bd7dda8e96be6f7fc7d790c0e14321fc0dd5
/usr/lib/.build-id/71
/usr/lib/.build-id/71/d88b989c7dd67b312f158e3da1de304e723ee9
/usr/lib/.build-id/75
/usr/lib/.build-id/75/e5f494fad063617ebae0e67c403fdbbcf4d307
/usr/lib/.build-id/7b
/usr/lib/.build-id/7b/190cd20d7e5b43a80e2be13750cbff1a916b77
/usr/lib/.build-id/7f
/usr/lib/.build-id/7f/c677c499909a820c6667cce4221a26008d432a
/usr/lib/.build-id/82
/usr/lib/.build-id/82/d3245b924b5994106b7c88155f629a1617a984
/usr/lib/.build-id/88
/usr/lib/.build-id/88/54641840f98710344359051df8e77ee3716a31
/usr/lib/.build-id/8a
/usr/lib/.build-id/8a/fa3f3d2d396a1c8bcc7005f65e74bba0033604
/usr/lib/.build-id/8f
/usr/lib/.build-id/8f/1a8e9731cf2bed7e56863deeb962378b7f3c44
/usr/lib/.build-id/91
/usr/lib/.build-id/91/1df27c42725ad58108d0912e1022ae640e6ff9
/usr/lib/.build-id/91/baa79a82ca042d5c32bf3fc9c7023e3d2a9491
/usr/lib/.build-id/95
/usr/lib/.build-id/95/5efd18b1c0c193c619b0679be95f08839edcc2
/usr/lib/.build-id/95/92fa922f75b4714c8263311f6198de048a5f66
/usr/lib/.build-id/97
/usr/lib/.build-id/97/950d6620fa555d1b4ad12f3c127611069b227f
/usr/lib/.build-id/9d
/usr/lib/.build-id/9d/ca785f6ab211d7f3b36ed9c367c9f3a27f3421
/usr/lib/.build-id/ae
/usr/lib/.build-id/ae/bc7fd1df84c8a88edd0e6bfcc1481bdd174cf0
/usr/lib/.build-id/b2
/usr/lib/.build-id/b2/552793909319dd7667aaa83610466c4e3f72ab
/usr/lib/.build-id/b3
/usr/lib/.build-id/b3/c3058eecf14a3038d9ddb9d2cbfd38469edf92
/usr/lib/.build-id/bc
/usr/lib/.build-id/bc/65152cf921b4b20e654c7e87e2e7115f1ead14
/usr/lib/.build-id/c5
/usr/lib/.build-id/c5/25210458bb44a290cddb3147ddc42df247e919
/usr/lib/.build-id/c7
/usr/lib/.build-id/c7/ed0c80486a8223d38293df75ab435cd02ba911
/usr/lib/.build-id/c9
/usr/lib/.build-id/c9/01980887dbb8941806badea1366ac56a22eeea
/usr/lib/.build-id/cc
/usr/lib/.build-id/cc/c7d64738bed7d4b06bf01fac2ad32106c62236
/usr/lib/.build-id/cc/cfe0dfccdb04bc86df8dc9007ba71cb2e7b89c
/usr/lib/.build-id/cd
/usr/lib/.build-id/cd/edbee9fca0c92554f3549d5a85e85577312756
/usr/lib/.build-id/d1
/usr/lib/.build-id/d1/255b736709addb6aeda3235a667bc84cf75725
/usr/lib/.build-id/d5
/usr/lib/.build-id/d5/2ba0a15cee9d546f7c7e013b05e51755c79e15
/usr/lib/.build-id/d7
/usr/lib/.build-id/d7/b63a5e0a59fa45e48e20acd7701966387911a1
/usr/lib/.build-id/e1
/usr/lib/.build-id/e1/dbc4ca63a3cff8b661248d41aa3821e97689a4
/usr/lib/.build-id/e2
/usr/lib/.build-id/e2/2299fc69406c27a212f86261823e1da7cb2bf5
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/90aaa4101367deddd9b928fd045055bb05e4b0
/usr/lib/.build-id/e4
/usr/lib/.build-id/e4/c67b0323eb880d9da0d329a830a9f51ddf54e4
/usr/lib/.build-id/e5
/usr/lib/.build-id/e5/54de0b112c57ff646cc1dc47bb9c7a9eb06130
/usr/lib/.build-id/f0
/usr/lib/.build-id/f0/b2322d40d0be238b6d81aa85b97a11e15491c8
/usr/lib/.build-id/f0/dcefebb660b60aba6ed2e16079e20ad9497614
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/17de01105af9c2fdbaf93d5ff064e1b5b43934
/usr/lib/.build-id/fc
/usr/lib/.build-id/fc/8d02b2248b53f6055485553b676ba032c8135e
/usr/lib/systemd/system/znc.service
/usr/lib64/znc
/usr/lib64/znc/admindebug.so
/usr/lib64/znc/adminlog.so
/usr/lib64/znc/alias.so
/usr/lib64/znc/autoattach.so
/usr/lib64/znc/autocycle.so
/usr/lib64/znc/autoop.so
/usr/lib64/znc/autoreply.so
/usr/lib64/znc/autovoice.so
/usr/lib64/znc/awaynick.so
/usr/lib64/znc/awaystore.so
/usr/lib64/znc/block_motd.so
/usr/lib64/znc/blockuser.so
/usr/lib64/znc/bouncedcc.so
/usr/lib64/znc/buffextras.so
/usr/lib64/znc/cert.so
/usr/lib64/znc/certauth.so
/usr/lib64/znc/chansaver.so
/usr/lib64/znc/clearbufferonmsg.so
/usr/lib64/znc/clientnotify.so
/usr/lib64/znc/controlpanel.so
/usr/lib64/znc/crypt.so
/usr/lib64/znc/ctcpflood.so
/usr/lib64/znc/cyrusauth.so
/usr/lib64/znc/dcc.so
/usr/lib64/znc/disconkick.so
/usr/lib64/znc/fail2ban.so
/usr/lib64/znc/flooddetach.so
/usr/lib64/znc/identfile.so
/usr/lib64/znc/imapauth.so
/usr/lib64/znc/keepnick.so
/usr/lib64/znc/kickrejoin.so
/usr/lib64/znc/lastseen.so
/usr/lib64/znc/listsockets.so
/usr/lib64/znc/log.so
/usr/lib64/znc/missingmotd.so
/usr/lib64/znc/modules_online.so
/usr/lib64/znc/nickserv.so
/usr/lib64/znc/notes.so
/usr/lib64/znc/notify_connect.so
/usr/lib64/znc/perform.so
/usr/lib64/znc/raw.so
/usr/lib64/znc/route_replies.so
/usr/lib64/znc/sample.so
/usr/lib64/znc/samplewebapi.so
/usr/lib64/znc/sasl.so
/usr/lib64/znc/savebuff.so
/usr/lib64/znc/schat.so
/usr/lib64/znc/send_raw.so
/usr/lib64/znc/shell.so
/usr/lib64/znc/simple_away.so
/usr/lib64/znc/stickychan.so
/usr/lib64/znc/stripcontrols.so
/usr/lib64/znc/watch.so
/usr/lib64/znc/webadmin.so
/usr/share/doc/znc
/usr/share/doc/znc/ChangeLog.md
/usr/share/doc/znc/NOTICE
/usr/share/doc/znc/README.md
/usr/share/licenses/znc
/usr/share/licenses/znc/LICENSE
/usr/share/man/man1/znc.1.gz
/usr/share/znc
/usr/share/znc/modules
/usr/share/znc/modules/blockuser
/usr/share/znc/modules/blockuser/tmpl
/usr/share/znc/modules/blockuser/tmpl/blockuser_WebadminUser.tmpl
/usr/share/znc/modules/cert
/usr/share/znc/modules/cert/tmpl
/usr/share/znc/modules/cert/tmpl/index.tmpl
/usr/share/znc/modules/certauth
/usr/share/znc/modules/certauth/tmpl
/usr/share/znc/modules/certauth/tmpl/index.tmpl
/usr/share/znc/modules/lastseen
/usr/share/znc/modules/lastseen/tmpl
/usr/share/znc/modules/lastseen/tmpl/index.tmpl
/usr/share/znc/modules/lastseen/tmpl/lastseen_WebadminUser.tmpl
/usr/share/znc/modules/listsockets
/usr/share/znc/modules/listsockets/tmpl
/usr/share/znc/modules/listsockets/tmpl/index.tmpl
/usr/share/znc/modules/notes
/usr/share/znc/modules/notes/files
/usr/share/znc/modules/notes/files/trash.gif
/usr/share/znc/modules/notes/tmpl
/usr/share/znc/modules/notes/tmpl/index.tmpl
/usr/share/znc/modules/perform
/usr/share/znc/modules/perform/tmpl
/usr/share/znc/modules/perform/tmpl/index.tmpl
/usr/share/znc/modules/q
/usr/share/znc/modules/q/tmpl
/usr/share/znc/modules/q/tmpl/index.tmpl
/usr/share/znc/modules/samplewebapi
/usr/share/znc/modules/samplewebapi/tmpl
/usr/share/znc/modules/samplewebapi/tmpl/index.tmpl
/usr/share/znc/modules/sasl
/usr/share/znc/modules/sasl/tmpl
/usr/share/znc/modules/sasl/tmpl/index.tmpl
/usr/share/znc/modules/send_raw
/usr/share/znc/modules/send_raw/files
/usr/share/znc/modules/send_raw/files/select.js
/usr/share/znc/modules/send_raw/tmpl
/usr/share/znc/modules/send_raw/tmpl/index.tmpl
/usr/share/znc/modules/stickychan
/usr/share/znc/modules/stickychan/tmpl
/usr/share/znc/modules/stickychan/tmpl/index.tmpl
/usr/share/znc/modules/stickychan/tmpl/stickychan_WebadminChan.tmpl
/usr/share/znc/modules/webadmin
/usr/share/znc/modules/webadmin/files
/usr/share/znc/modules/webadmin/files/webadmin.css
/usr/share/znc/modules/webadmin/files/webadmin.js
/usr/share/znc/modules/webadmin/tmpl
/usr/share/znc/modules/webadmin/tmpl/add_edit_chan.tmpl
/usr/share/znc/modules/webadmin/tmpl/add_edit_network.tmpl
/usr/share/znc/modules/webadmin/tmpl/add_edit_user.tmpl
/usr/share/znc/modules/webadmin/tmpl/del_network.tmpl
/usr/share/znc/modules/webadmin/tmpl/del_user.tmpl
/usr/share/znc/modules/webadmin/tmpl/encoding_settings.tmpl
/usr/share/znc/modules/webadmin/tmpl/index.tmpl
/usr/share/znc/modules/webadmin/tmpl/listusers.tmpl
/usr/share/znc/modules/webadmin/tmpl/settings.tmpl
/usr/share/znc/modules/webadmin/tmpl/traffic.tmpl
/usr/share/znc/webskins
/usr/share/znc/webskins/_default_
/usr/share/znc/webskins/_default_/pub
/usr/share/znc/webskins/_default_/pub/External.png
/usr/share/znc/webskins/_default_/pub/_default_.css
/usr/share/znc/webskins/_default_/pub/favicon.ico
/usr/share/znc/webskins/_default_/pub/global.css
/usr/share/znc/webskins/_default_/pub/jquery-1.11.2.js
/usr/share/znc/webskins/_default_/pub/jquery-1.11.2.min.js
/usr/share/znc/webskins/_default_/pub/jquery-ui-sortable.1.11.4.css
/usr/share/znc/webskins/_default_/pub/jquery-ui-sortable.1.11.4.js
/usr/share/znc/webskins/_default_/pub/jquery-ui-sortable.1.11.4.min.css
/usr/share/znc/webskins/_default_/pub/jquery-ui-sortable.1.11.4.min.js
/usr/share/znc/webskins/_default_/pub/robots.txt
/usr/share/znc/webskins/_default_/pub/selectize-0.12.1.css
/usr/share/znc/webskins/_default_/pub/selectize-standalone-0.12.1.js
/usr/share/znc/webskins/_default_/pub/selectize-standalone-0.12.1.min.js
/usr/share/znc/webskins/_default_/tmpl
/usr/share/znc/webskins/_default_/tmpl/Banner.tmpl
/usr/share/znc/webskins/_default_/tmpl/BaseHeader.tmpl
/usr/share/znc/webskins/_default_/tmpl/BreadCrumbs.tmpl
/usr/share/znc/webskins/_default_/tmpl/DocType.tmpl
/usr/share/znc/webskins/_default_/tmpl/Error.tmpl
/usr/share/znc/webskins/_default_/tmpl/ExtraHeader.tmpl
/usr/share/znc/webskins/_default_/tmpl/Footer.tmpl
/usr/share/znc/webskins/_default_/tmpl/FooterTag.tmpl
/usr/share/znc/webskins/_default_/tmpl/Header.tmpl
/usr/share/znc/webskins/_default_/tmpl/InfoBar.tmpl
/usr/share/znc/webskins/_default_/tmpl/LoginBar.tmpl
/usr/share/znc/webskins/_default_/tmpl/LowerBanner.tmpl
/usr/share/znc/webskins/_default_/tmpl/Menu.tmpl
/usr/share/znc/webskins/_default_/tmpl/MessageBar.tmpl
/usr/share/znc/webskins/_default_/tmpl/Options.tmpl
/usr/share/znc/webskins/_default_/tmpl/_csrf_check.tmpl
/usr/share/znc/webskins/_default_/tmpl/index.tmpl
/usr/share/znc/webskins/dark-clouds
/usr/share/znc/webskins/dark-clouds/pub
/usr/share/znc/webskins/dark-clouds/pub/clouds-header.jpg
/usr/share/znc/webskins/dark-clouds/pub/dark-clouds.css
/usr/share/znc/webskins/dark-clouds/pub/favicon.ico
/usr/share/znc/webskins/dark-clouds/tmpl
/usr/share/znc/webskins/dark-clouds/tmpl/Banner.tmpl
/usr/share/znc/webskins/dark-clouds/tmpl/FooterTag.tmpl
/usr/share/znc/webskins/dark-clouds/tmpl/Header.tmpl
/usr/share/znc/webskins/dark-clouds/tmpl/LowerBanner.tmpl
/usr/share/znc/webskins/forest
/usr/share/znc/webskins/forest/pub
/usr/share/znc/webskins/forest/pub/favicon.ico
/usr/share/znc/webskins/forest/pub/forest-header.png
/usr/share/znc/webskins/forest/pub/forest.css
/usr/share/znc/webskins/forest/tmpl
/usr/share/znc/webskins/forest/tmpl/Banner.tmpl
/usr/share/znc/webskins/forest/tmpl/FooterTag.tmpl
/usr/share/znc/webskins/forest/tmpl/Header.tmpl
/usr/share/znc/webskins/forest/tmpl/LowerBanner.tmpl
/usr/share/znc/webskins/ice
/usr/share/znc/webskins/ice/pub
/usr/share/znc/webskins/ice/pub/favicon.ico
/usr/share/znc/webskins/ice/pub/ice.css
/usr/share/znc/webskins/ice/pub/linkbg.jpg
/usr/share/znc/webskins/ice/pub/pagebg.gif
/usr/share/znc/webskins/ice/tmpl
/usr/share/znc/webskins/ice/tmpl/FooterTag.tmpl
/usr/share/znc/webskins/ice/tmpl/Header.tmpl
/var/lib/znc
References
Summary
In this tutorial we learn how to install znc
on CentOS 8 using yum and dnf.