![]() ![]() There are two ways you can use ROS and ubuntu on Apple M1 chip: Virtual Machines and Docker. You can find more details in the Multipass Documentation and get help from the Multipass forum.In this post, I will introduce the setup procedure of Ubuntu and ROS on the platform based on Apple Silicon M1 chip. Since Multipass has limited commands it is easy to control Ubuntu instances. You can set a keyboard shortcut for the GUI to open a shell into the primary instance, the name of the primary instance, and more.įind out more about what you can do by using multipass help set. For example, to set the autostart login to false: $ multipass set =false The multipass set command sets the configuration. ![]() You can purge all deleted instances permanently: $ multipass purge Configuration You can delete instances: $ multipass delete shin-instance anther-instance # exit exit # connect again $ multipass shell shin-instance echo $PATH Cleaning up If the above method doesn’t work, then exit the instance and open a shell prompt again. If it is not in the path, reload the ~/.bashrc. You need to change the username accordingly. bashrc add the following at the end: export PATH="/Users/username/bin:$PATH" Open the shell prompt on the instance and let’s export the PATH in the ~/.bashrc: vi ~/.bashrc The Multipass terminal’s config file is ~/.bashrc. You can find the local directory under /Users/username.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |