hottabxp
@hottabxp
Сначала мы жили бедно, а потом нас обокрали..

Как установить VirtualBox из файла .run в другую папку?

Мой процессор не поддерживает виртуализацию. Поэтому на Ubuntu 20.04 установил VirtualBox 5.2 (предварительно собрав ядро Linux 5.4.105 из исходников). Если установить из файла .run, то VB устанавливается в папку /opt/VirtualBox. Но владельцем папки должен быть обязательно root, ну и разумеется, владельцем всех папок выше, иначе VB не запустится. Но за несколько лет, я уже привык, что я, как пользователь, являюсь владельцем папки /opt.
Вот что показывает help:
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

--target - просто распаковывает в другую папку, но устанавливает все равно в opt. Можно ли как-то установить VB в другую папку?
  • Вопрос задан
  • 114 просмотров
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы