The invention relates to a device for installing and removing a bearing assembly which consists of a chock in which a trunnion hearing is arranged on a supporting roller stud of a rolling stand. The system includes a moisture-content-measurement system that measures optical absorbance. Initially, an aperture allows compressed gas to be pushed to an outer storage chamber surrounding the inner chamber.