Answer the question
In order to leave comments, you need to log in
How to install VirtualBox from .run file to different folder?
My processor does not support virtualization. Therefore, I installed VirtualBox 5.2 on Ubuntu 20.04 (after building the Linux 5.4.105 kernel from the sources). If you install from a .run file, then VB is installed in the /opt/VirtualBox folder. But the owner of the folder must be root, and of course, the owner of all folders above, otherwise VB will not start. But over the years, I've gotten used to the fact that I, as a user, am the owner of the /opt folder.
Here is what help shows:
sudo ./VirtualBox-5.2.44-139111-Linux_amd64 --help
[sudo] пароль для sergey:
Makeself version 2.1.5
1) Getting help or info about ./VirtualBox-5.2.44-139111-Linux_amd64 :
./VirtualBox-5.2.44-139111-Linux_amd64 --help Print this message
./VirtualBox-5.2.44-139111-Linux_amd64 --info Print embedded info : title, default target directory, embedded script ...
./VirtualBox-5.2.44-139111-Linux_amd64 --lsm Print embedded lsm entry (or no LSM)
./VirtualBox-5.2.44-139111-Linux_amd64 --list Print the list of files in the archive
./VirtualBox-5.2.44-139111-Linux_amd64 --check Checks integrity of the archive
2) Running ./VirtualBox-5.2.44-139111-Linux_amd64 :
./VirtualBox-5.2.44-139111-Linux_amd64 [options] [--] [additional arguments to embedded script]
with following options (in that order)
--confirm Ask before running embedded script
--noexec Do not run embedded script
--keep Do not erase target directory after running
the embedded script
--nox11 Do not spawn an xterm
--nochown Do not give the extracted files to the current user
--target NewDirectory Extract in NewDirectory
--tar arg1 [arg2 ...] Access the contents of the archive through the tar command
-- Following arguments will be passed to the embedded script
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question