<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def remove_lib(lib_name):
 """remove library. :param lib_name: library name (e.g. 'PS2Keyboard') :rtype: None """

    targ_dlib = libraries_dir() / lib_name
    log.debug('remove %s', targ_dlib)
    targ_dlib.rmtree()