{"id":21324372,"url":"https://github.com/ahundt/robotics_setup","last_synced_at":"2025-07-12T06:31:45.075Z","repository":{"id":46515605,"uuid":"64093375","full_name":"ahundt/robotics_setup","owner":"ahundt","description":"Setup Ubuntu 18.04, 16.04 and 14.04 with machine learning and robotics software plus user configuration. Includes ceres tensorflow ros caffe vrep eigen cudnn and cuda plus many more. ","archived":false,"fork":false,"pushed_at":"2021-10-06T16:19:57.000Z","size":326,"stargazers_count":122,"open_issues_count":2,"forks_count":52,"subscribers_count":13,"default_branch":"master","last_synced_at":"2023-11-07T19:28:15.808Z","etag":null,"topics":["bash","bash-script","ceres-solver","deep-learning","eigen","grl","install","keras","linux","python","robot","robotics","ros","setup","tensorflow","ubuntu","ubuntu1404","ubuntu1604","vrep","zsh"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ahundt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-07-25T01:06:43.000Z","updated_at":"2023-10-23T11:16:16.000Z","dependencies_parsed_at":"2022-09-09T20:30:53.898Z","dependency_job_id":null,"html_url":"https://github.com/ahundt/robotics_setup","commit_stats":null,"previous_names":[],"tags_count":1,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahundt%2Frobotics_setup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahundt%2Frobotics_setup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahundt%2Frobotics_setup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahundt%2Frobotics_setup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ahundt","download_url":"https://codeload.github.com/ahundt/robotics_setup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225800725,"owners_count":17526275,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","bash-script","ceres-solver","deep-learning","eigen","grl","install","keras","linux","python","robot","robotics","ros","setup","tensorflow","ubuntu","ubuntu1404","ubuntu1604","vrep","zsh"],"created_at":"2024-11-21T20:33:04.361Z","updated_at":"2024-11-21T20:33:05.051Z","avatar_url":"https://github.com/ahundt.png","language":"Shell","readme":"# Ubuntu Setup Scripts for Robotics \u0026 Machine Learning\n\n![Robotics Automated Setup](https://user-images.githubusercontent.com/55744/113743633-e2a92800-96d1-11eb-9c09-611af3ca626d.png)\n\u003c!-- Photo from NASA via wikimedia commons https://commons.wikimedia.org/wiki/File:Self-replicating_machine.png NASA Conference Publication 2255 (1982), based on the Advanced Automation for Space Missions NASA/ASEE --\u003e\nThis contains a set of linux setup scripts consolidated from across the web to make it easy to set up a new computer for robotics and deep learning, with links to the original sources and brief descriptions in the comments of each script. Install scripts are kept simple and minimal so you can easily change them for your needs.\n\nManual steps are necessary for some scripts, so be sure to check the comments!\n\nThese scripts are written for:\n- x86_64 Ubuntu Linux 14.04, 16.04, 18.04\n- NVIDIA GPUs such as GeForce GTX 1080, and Titan X.\n\nThere is also some support for:\n- [slurm compute clusters](https://slurm.schedmd.com/)\n- MacOS when used in combination with the [homebrew-robotics](https://github.com/ahundt/homebrew-robotics) homebrew install script repository.\n\n\nThere are also useful config files in this repository named `.*` that may not be immediately visible, such as `.byobu/.tmux.conf`.\n\n## Getting started\n\n\nTypically the source code for libraries will be put in `~/src/`, and binaries in `/usr/local`, but this rule is not hard and fast because some tools like nvidia's cuda must go elsewhere.\n\n```\nmkdir -p ~/src\ncd ~/src\ngit clone git@github.com:ahundt/robotics_setup.git\ncd ~/src/robotics_setup\n# be sure to look at the script for special instructions!\nvim \u003cscriptname\u003e.sh\n./\u003cscriptname\u003e.sh\n# if the above line doesn't work you can also do sh \u003cscriptname\u003e.sh\n```\n\n### Open the shell scripts\n\nBe sure to open the install scripts before you run them. There are often manual steps, more details, and links to the reference documentation and blogs used to write these scripts.\n\n### Command line, terminal, zsh\n\nRecommended command line utils include htop, vim, [tmux](https://github.com/tmux/tmux/wiki), [byobu](http://byobu.co/). To install them run:\n\n```\n./commandline_utils.sh\n```\n\nThe recommended terminal environment and shell is zsh with [prezto](https://github.com/sorin-ionescu/prezto) utilities, to install and configure it to run with tmux and byobu so you can have multiple terminal windows and connect via ssh without losing your place or closing your running terminal applications:\n\n```\n./zsh.sh\n```\n\nThis will automatically set up `.robotics_setup`, a configuration automatically loads other tools you can install via this repository including ROS, cuda, google go, locally installed binaries, linuxbrew, etc.\n\n### Xonsh shell\n\n[xon.sh](https://xon.sh) is a terminal shell like bash and zsh that is like a superset of python and bash. It is very useful for robotics and machine learning if you want to do some math on robot data in your shell and run applications in a single terminal, plus retain the history of your commands so you can reproduce your work. You can install xonsh with the `xonsh.sh` instructions and then [enable it as the default shell](http://xon.sh/customization.html#set-xonsh-as-my-default-shell).\n\n[byobu](http://byobu.co), lets you have multiple terminals running over a single connection that are persistent across dropped connections. If you want to use it with xonsh, make sure to update your `~/.byobu/.tmux.conf` to specify xonsh instead of zsh:\n\n```\n# set -g default-shell /usr/bin/zsh\n# set -g default-command /usr/bin/zsh\nset -g default-shell ~/.local/bin/xonsh\nset -g default-command ~/.local/bin/xonsh\n```\n\n\n## Additional helpful tips\n\nWe highly recommend putting this repository in `~/src`, but that's not required.\nTo make your shell utilize the tools you've installed via `robotics_setup`:\n\n    # Add this to your ~/.bashrc or your ~/.zshrc\n    # From github.com/ahundt/robotics_setup\n    source ~/src/robotics_setup/.robotics_setup\n\nFor a pile of info snippets to troubleshoot a variety of problems you might encounter see:\n\nhttps://github.com/ahundt/awesome-stuff\n\nFor robotics resources see:\n\nhttps://github.com/ahundt/awesome-robotics\n\nFor great instructions for some of the best tools to use for development (much applies to non-mac too) see:\n\nhttp://sourabhbajaj.com/mac-setup/\n\nFor other information on a huge range of topics see:\n\nhttps://github.com/sindresorhus/awesome\n\n# Troubleshooting\n\nAll scripts are set to exit immediately on any error so it will give you a chance to fix the problem without making a mess on your computer.\n\n## Ubuntu\n\n### Script exited without installing the software\n\nIf you run a script and the software was not installed, the most likely culprit is the repositories you have configured on ubuntu. If any repository returns an error these scripts will exit, to fix it look at which repositories are in the command line error message, and follow these instructions to remove them:\n\n- [how to remove a repository](https://askubuntu.com/questions/43345/how-to-remove-a-repository)\n\n# Alternatives\n\nFor something with more advanced capabilities than this repository, though not always easier, I suggest https://brew.sh and https://linuxbrew.sh.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahundt%2Frobotics_setup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahundt%2Frobotics_setup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahundt%2Frobotics_setup/lists"}