You can use the linux shell and it is part of the documentation:
Once you know which version you want, you can upgrade/downgrade to it by using the
apt-get install openhab=[version]
command, for example:sudo apt-get install openhab=3.0.0-1
The command
apt-cache showpkg openhab
shows available package versions.