> For the complete documentation index, see [llms.txt](https://docs.hackjiji.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hackjiji.org/general/environment-setup/virtualbox.md).

# Virtualbox

## Copy-paste in VirtualBox

To enable bidirectional copy-paste in VirtualBox, follow these steps:

1. Install VirtualBox Guest Additions:
   * Open the terminal and execute: `sudo apt-get install -y virtualbox-guest-x11`
2. Update the system:
   * Run: `sudo apt-get update`
   * Reboot the system.
3. Upgrade system packages:
   * Execute: `sudo apt-get dist-upgrade`
   * Reboot the system.
4. Clean up unnecessary packages:
   * Run: `sudo apt-get autoremove --purge`
5. (Optional) Remove Guest Additions:
   * Execute: `sudo apt-get purge virtualbox-guest-x11`

Reboot after each step for changes

&#x20;

\---&#x20;

&#x20;

sudo apt install build-essential linux-headers-$(uname -r)&#x20;
