Assuming an Ubuntu image...
sudo apt update && sudo apt install make gcc perl
- Install Guest Additions
sudo apt install -y git vim-gtk3 curl python3-pip
sudo snap install code --classic
- Install powerline fonts source:
- Linux bash:
# clone
git clone https://github.com/powerline/fonts.git --depth=1
# install
cd fonts
./install.sh
# clean-up a bit
cd ..
rm -rf fonts
-
WSL Bash: Follow instructions here
-
Next, set the terminal preferences to a
* for Powerline
font (Terminal -> Hamburger Menu -> Profiles (Current Profile) -> Custom Font). Currently I likeGo Mono for Powerline Regular
.
- Get oh-my-bash:
bash -c "$(curl -fsSL https://raw.githubusercontent.com/ohmybash/oh-my-bash/master/tools/install.sh)"
- Adjust settings appropriately
- Install nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
- Install the latest node/npm lts:
nvm install --lts
git clone git@github.com:pmcneely/dotfiles.git
- Adjust theme and aliases as appropriate
- Turn
Settings -> Privacy -> Screen Lock
to "Off" - Install python virtualenvwrapper (could be the only
sudo pip
command ever needed!)- See source
sudo pip install virtualenvwrapper
- Update oh-my-bash aliases, dotfiles settings, and bash fragments (from dotfiles) as appropriate
- Configure vim:
- Install vundle
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
ln -s dotfiles/vimrc .vimrc
vim .
:PluginInstall
- Install and configure
youcompleteme
- Install required headers and programs:
sudo apt install -y exuberant-ctags cmake
- Install support for other languages:
sudo apt install -y mono-complete golang default-jdk
- Install required headers and programs:
- Install vundle
$ cd ~/.vim/bundle/youcompleteme
$ python3 install.py --all
- On the host machine, run:
# See if vboxusers already exists
$ getent group | grep vboxusers
# If not, add the group
$ sudo groupadd vboxusers
# Allow hardware access to e.g. USB media
$ sudo usermod -aG vboxusers $USER
- In the Guest machine, run:
$ sudo usermod -aG vboxsf $USER
14.1 If running Docker:
sudo usermod -aG docker $USER
(These commands allow the virtual machine to mount e.g. USB 3.0 devices and shared folders with the host) see here
15. ...profit?