Installing Lightroom 6 on modern computers is difficult and often impossible.

If you purchased Lightroom 6 legally (retail box or digital from Adobe) before it was discontinued:

When Adobe launched Lightroom 6, the software landscape was shifting. The "Creative Cloud" subscription model had already been introduced, but Adobe wisely decided to release LR6 as a standalone product to appease a user base wary of renting software.