Writing /var/lib/dokuwiki/data/meta/tutorials/installing_ros_melodic_inside_ubuntu_bionic_chroot.meta failed
tutorials:installing_ros_melodic_inside_ubuntu_bionic_chroot
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. On the second line put the name of your hostname instead of 'shirka'.
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 nano curl lsb-release gnupg2 apt-utils bash-completion locales
- Add a new user in the chroot
adduser user
- Add your new user to sudo group
adduser user sudo
- Fix sudo error with visudo:
visudo
%sudo ALL=(ALL:ALL) NOPASSWD:ALL
- From now on, use your new user for the following steps:
su user
- Follow guide from ROS: http://wiki.ros.org/melodic/Installation/Ubuntu
tutorials/installing_ros_melodic_inside_ubuntu_bionic_chroot.1570510459.txt.gz · Last modified: 2022/09/20 00:08 (external edit)