Install astrometry-data-2mass by entering the following commands in the terminal:
sudo apt update sudo apt install astrometry-data-2mass
Astrometry.net 2MASS index files downloader
The astrometry engine will take any image and return the astrometry world coordinate system (WCS), a standards-based description of the transformation between image coordinates and sky coordinates. . This package downloads all index files built from the 2MASS survey. The installation requires a working internet connection.