How to update zcashd installed from Debian package

I get this error when I start zcashd:
Error: This version has been deprecated as of block height 239776. You should
_ upgrade to the latest version of Zcash. To disable deprecation for this version,_
_ set -disabledeprecation=1.0.11._

and I am wondering what should I do to update my zcash, I installed it on my ubuntu by following Debian package install instruction https://z.cash/download.html
now should I just add set -disabledeprecation=1.0.11 in the zcash.conf, will this update my zcash client?

OK, Let me answer my own question, inspired by Upgrading ZCash from 1.0.8 to 1.0.11
because Iā€™m new to Linux, this should be very easy for Linux users, simply do this two steps:
apt-get update
apt-get upgrade
,before doing this make sure your zcash stopped, zcashd-cli stop

2 Likes