get version installed with sdo apt install code example Example: apt install package version apt-get install <package name>=<version>