It's FOSS published a tutorial about installing a specific package version with Apt command in Ubuntu
Install Specific Package Version With Apt Command in Ubuntu
Want to install a specific version of a package in Ubuntu or Debian? Here's how to do that with the apt command and troubleshoot the possible issues with it.
Install Specific Package Version With Apt Command in Ubuntu - It's FOSS