Need help to install software on a Mac Mini I have one Macbook
You need to share the optical drive from the MacBook. Go to System Preferences -> Sharing -> and turn on "DVD or CD sharing". There's more information in this Apple support article.