That's not how you install plugins. That sounds like you downloaded the source.
If your machine has access to the internet follow the documentation here.
If your machine does not have access to the internet then you need to prepare an offline plugin pack on a machine that does have access, and copy it to your machine, then install it. The documentation is here.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.