use realpath in cdr, update linux packages