2. Add the PPA `sudo add-apt-repository ppa:teward/znc`
3. Refresh list of packages in the repos `sudo apt-get update`
4. If you had installed ZNC from Ubuntu repositories, now you could run
`sudo apt-get upgrade`, otherwise finally install ZNC with
`sudo apt-get install znc`.
ZNC is now installed. If you had it running before installing from PPA,
you should restart it especially if it was different version than what the
PPA has.
Now you can either (new ZNC user) run `znc --makeconf` to create config
file and then (existing ZNC user) run `znc` and your ZNC starts listening
on where you told it to listen.
You might also want to read:
* [FAQ](http://wiki.znc.in/FAQ)
* [Automatic restart in case of X (crontab)](http://wiki.znc.in/FAQ#How_can_I_restart_ZNC_automatically_.28in_case_of_a_machine_reboot.2C_crash.2C_etc..29.3F)