How did you install the libraries before? If you installed them correctly they are located in the Aceduino IDE's sketchbook folder (as set by File > Preferences > Sketchbook location) and you would only need to either move the contents of your old sketchbook to the new sketchbook location or change the Arduino IDE 1.8.5 sketchbook location to the old folder. If you change the Arduino IDE 1.8.5 sketchbook location then you need to copy the hardware folder over to the updated sketchbook location.
Some places you will find the bad advice to install libraries to the Arduino IDE installation folder. The reason you should never do that is because when you change to a different version of the Arduino IDE you will no longer have access to those libraries.