sudo apt update
sudo apt upgrade
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > 
/etc/apt/sources.list.d/ros-latest.list '
(the above statement is all one line with a space after the >)
sudo apt install curl
curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add-

sudo apt update
sudo apt install ros-kinetic-desktop-full 
echo "source /opt/ros/kinetic/setup.bash">> ~/.bashrc 
source ~/.bashrc
sudo apt install python-rosdep python-rosinstall python-rosintall-generator python-wstool 
build-essential 
sudo rosdep init 
rosdep update



roscore 

 rosrun turtlesim turtlesim_node 

rosrun turtlesim turtle_teleop_key

gazebo 
yeh lagah kar dekhlay  than copy paste hota hai warna direct link open kar leh drive ka link seh download it 
sudo apt-get install virtualbox-guest-utils