UbuntuCafe: Kali Linux | Daily News and Tips about Linux, Amazon, Ubuntu, Android.

[HowTo] Install VirtualBox On Backtrack 5 and Kali Linux

VirtualBox is a application for virtual and it is also a cross-platformed application. It installs on existing Intel or AMD-based computers, whether they are running Windows, Mac, Linux or Solaris operating systems. It extends the capabilities of computer so that it can run multiple operating systems at the same time. Let's find how to install it on Backtrack 5 or Kali Linux.

Features

* Extremely feature rich and high performance
* Multi-monitor guest setups in the GUI
* Special drivers and utilities to facilitate switching between systems
* Guest virtual machine cloning

Install VirtualBox

First, install the kernel headers;
prepare-kernel-sources
cd /usr/src/linux
cp -rf include/generated/* include/linux/

Then edit /etc/apt/sources.list as shown below, and proceed with downloading VirtualBox;
echo deb http://download.virtualbox.org/virtualbox/debian lucid contrib non-free >> /etc/apt/sources.list
wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
apt-get update
apt-get install virtualbox-4.0

Install Google Chrome in Backtrack 5 and Kali Linux

Download the google chrome from official site  or use the following wget command.

wget https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb

Install the downloaded package. Open a Terminal and change directory to downloads. Paste the following command and press enter.

dpkg -i google-chrome-stable_current_i386.deb

Install Google Chrome in Backtrack 5 and Kali Linux


After that you are still not be able to run Google Chrome. So fix the repository first. Run the following commands.

apt-get update --fix-missing

Copy and paste the below commands and you will get a popup window running gedit.

gedit /usr/bin/google-chrome

Goto last line of the file.

Add "--user-data-dir" (without the quotes) at end of the file.

exec -a "$0" "$HERE/chrome" "$@" --user-data-dir
Save and close the file.

Now open terminal and run
google-chrome

Hurray! Its worked..

But still we cant find it in Application menu. Follow the instruction to add a menu.

Open Applications --> System Tools --> Preferences --> Main Menu application.

Add New Item under Internet category with name google-chrome, with command /usr/bin/google-chrome.