UBUNTU12 is installed properly under the VM11 version of the virtual machine, UBUNTU14 is not resolved under the virtual machine 11-14 version because some file permissions are not sufficient for installation to fail (UBUNTU14 installation failed).
Ubuntu12 after the installation is complete, first
- sudo rm-rf/var/lib/dpkg/lock
Note: This command has sudo to improve permissions, so to enter the password, the password should be entered again after the command.
2. Sudo rm-rf/var/cache/apt/archives/lock
These two commands clarify some permissions issues so that subsequent commands can be executed smoothly.
Then the first command:
- sudo add-apt-repository ppa:fkrull/deadsnakes
- After the command executes, a command is prompted and the enter key is pressed to continue
- sudo apt-get update
- sudo apt-get install python3.5
- To install python3.5, repeat these steps if there is a problem with this step
Detection version use:
Python3–veersion detects Python3 version, detects other low versions using Python–veersion
python3.5 Environment construction under Linux