简体   繁体   中英

Can I delete the Matlab installation file in root user home directory

I just found Matlab (2016a) put a 2.5 Gb installation files that it fetched during the installation in the root home directory (Linux mint 18), under /root/Downloads/MathWorks . I guess it is probably because I use sudo for installation.

My question is:

  1. Is it normal that program store information when user executes it with sudo ?
  2. Can I delete the file under /root/Downloads ? (My limited Linux knowledge told me do not touch anything in the /root folder)
  1. A program can do anything when run as sudo and depends only on what the program is designed to do. sudo simply elevates the permissions when running a given command.

  2. I would have thought that the installer would have downloaded everything to /tmp instead of /root/Downloads , but as long as you didn't select /root/Downloads as your installation directory for MATLAB and this is only the temporary download location you can certainly remove it after successfully installing MATLAB to a "typical" location such as /usr/local/MATLAB/R2016a .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM