This is an old revision of the document!


Installing ROS melodic inside a Ubuntu Bionic chroot

  • Install Ubuntu inside a chroot. Follow guide from here
  • Fix /etc/resolv.conf
nameserver 8.8.8.8
  • Fix /etc/hosts:
127.0.0.1	localhost
127.0.1.1	shirka
  • Add all ubuntu repositories. Edit file /etc/apt/sources.list:
deb http://mirrors.ucr.ac.cr/ubuntu bionic main universe restricted multiverse
deb http://mirrors.ucr.ac.cr/ubuntu bionic-backports main restricted multiverse
  • Update repos
apt-get update
  • Install the following packages:
apt-get install sudo mc emacs curl lsb_release gpgpg2 apt-file
  • Add your user to sudo
adduser _youruser_ sudo
  • Fix sudo error with visudo:
visudo
%sudo   ALL=(ALL:ALL) NOPASSWD:ALL
  • tutorials/installing_ros_melodic_inside_ubuntu_bionic_chroot.1568189167.txt.gz
  • Last modified: 2019/09/11 03:06
  • by admin