Aerial Robotics IITK
  • Introduction
  • Danger Zone
  • Tutorials
    • Workspace Setup
      • Installing Ubuntu
      • Basic Linux Setup
      • Spruce up your space
      • ROS Setup
      • PX4 Setup
        • PX4 Toolchain Setup
      • Ardupilot Setup
      • Installing Ground Control Station
        • QGroundControl
        • Mission Planner
      • ArduPilot Setup on Docker
      • PX4 Setup on Docker
    • How to Write a ROS Package
      • ROS Package
      • Node Handles, Parameters, and Topics
      • Coding Standards
      • Custom mavros message
      • Transformations
      • Conversions
    • Cheatsheets
      • CMakeCheatsheet
      • GitCheatsheet
      • LatexCheatsheet
      • Markdown Cheatsheet
    • Miscellaneous
      • Odroid XU4 Setup
      • Simulation using Offboard Control
        • Enable Offboard Mode in PX4
      • Writing a UDev rule
      • Sensor fusion
    • Reference wiki links
  • Concepts
    • Quaternions
      • Theory
    • Kalman Filters
    • Rotations
    • Path Planning
      • Grassfire Algorithm
      • Dijkstra Algorithm
      • A* Algorithm
      • Probabilistic Roadmap
      • RRT Algorithm
      • Visibility Graph Analysis
    • Lectures
      • Aerial Robotics
      • Avionics
      • Control Systems: Introduction
      • Control Systems: Models
      • Inter IIT Tech Meet 2018
      • Kalman Filters
      • Linux and Git
      • Git Tutorial
      • ROS
      • Rotorcraft
      • Software Training
  • Control System
    • Model Predictive Control
      • System Identification
      • Sample SysId Launch Files
      • Running MPC
        • MPC with Rotors
        • MPC with PX4 Sim
        • MPC with ROS
      • References
    • PID Controller
      • Introduction
      • Basic Theory
  • Estimation
    • Visual-Inertial Odometry
      • Hardware Requirements
      • Visual-Inertial Sensing
      • DIYing a VI-Sensor
    • Setup with VICON
    • Odometry from pose data
  • Computer Vision
    • Intel RealSense D435i setup for ROS Noetic
    • IntelRealSense D435i Calibration
    • Camera Calibration
    • ArUco ROS
  • Machine Learning
    • Datasets
  • Hardware Integration
    • Configuring Radio Telemetry
    • Setting up RTK + GPS
    • Integration of Sensors with PixHawk
      • Connecting Lidar-lite through I2C
    • Connections
    • Setting up Offboard Mission
      • Setting up Companion Computer
        • Raspberry Pi 4B Setup
        • Jetson TX2 Setup
      • Communication Setup
      • Guided mode
    • Miscellaneous
  • Resources
    • Open-source algorithms and resources
    • Courses
      • State Space Modelling of a Multirotor
      • Path Planning Lecture
      • Introduction to AI in Robotics
      • RRT, RRT* and RRT*- Path Planning Algorithms
    • Useful Reading Links
      • Aerial Robotics
      • Books
      • Computer Vision and Image Processing
      • Courses on AI and Robotics
      • Deep Neural Network
      • Dynamics and Controls system
      • Motion Planning
      • Probabilistic Robotics
      • Programming
      • Robotics Hardware
      • Miscellaneous and Awesome
    • Online Purchase websites
  • Competitions
    • Inter-IIT TechMeet 8.0
    • Inter-IIT TechMeet 9.0
    • IMAV 2019, Madrid, Spain
    • Inter-IIT TechMeet 10.0
    • Inter-IIT TechMeet 11.0
Powered by GitBook
On this page
  • Update Ubuntu
  • Time Sync with Windows 10
  • Install basic tools
  • Vim:
  • Git:
  • Full Guide to Ubuntu Customization Desktop
  • Install Codecs & Microsoft Fonts
  • Code editors:

Was this helpful?

  1. Tutorials
  2. Workspace Setup

Basic Linux Setup

Run Ubuntu.

PreviousInstalling UbuntuNextSpruce up your space

Last updated 1 year ago

Was this helpful?

Update Ubuntu

After installing Ubuntu, open the terminal and run the following commands:

sudo apt-get update
sudo apt-get upgrade

Time Sync with Windows 10

After installing Ubuntu in dual boot with Windows 10 , the time is usually messed up in both the systems. The link below provides the details.

Or type the following command in your Ubuntu 16.04 Terminal

timedatectl set-local-rtc 1 --adjust-system-clock

And then set the time on Linux and Windows manually.

NOTE: For lower Ubuntu versions, edit the /etc/default/rcS file.

Install basic tools

Vim:

Vim is a highly configurable text editor. Run the following command in the terminal to install it:

sudo apt-get install vim

Useful for TUI (Terminal User Interface) based debugging.

Git:

Git is a free and open source distributed version control system. To install it:

sudo apt-get install git

Once you've installed Git on your system, you need to configure some of its components before you can use it, such as the username, email address, and the default text editor. This configuration will be a one-time process, and your configured settings should last as long as you don't remove Git from your system.

Create an Identity for Git

To begin with, you first need to set up a default identity (username and email address) for every commit you make on your system. There are two ways to do this. You can either set a global identity so that all the commits you push go through the same identity or set a per-repository identity to use separate identities for different projects.

To set a global identity, open the terminal and run the below commands:

git config --global user.name "your_name"
git config --global user.email "your_email_address"

Configure SSH for Git on Linux

Furthermore, although not necessary, you can also set up SSH for Git on your computer to allow password-less logins. That way, you don't have to enter your password every time you want to commit changes to a repository.

To do this, open a terminal window and run the following command to create a new SSH key with your email:

ssh-keygen -t rsa -b 4096 -C "your_email_address"

When you're prompted to "Enter a file in which to save the key", you can press Enter to accept the default file location. Please note that if you created SSH keys previously, ssh-keygen may ask you to rewrite another key, in which case we recommend creating a custom-named SSH key. To do so, type the default file location and replace id_ssh_keyname with your custom key name.

 Enter a file in which to save the key (/Users/YOU/.ssh/id_ALGORITHM: [Press enter]

The system will now ask you to set a passphrase to add an additional layer of security to SSH on your machine. Type a strong passphrase that you can remember and hit Enter.

Finally, you need to add the SSH key to the ssh-agent, which holds your system's private keys. For this, run the following code in the terminal:

ssh-add ~/.ssh/id

Once you've configured your identity, you can configure Git further to suit your workflow.

Full Guide to Ubuntu Customization Desktop

Customizing is adjusting the appearance that makes the system comfortable and pleasant for daily usage.The Linux system has introduced several desktop environments for the Ubuntu operating system. All of them are well customized and keep the user’s preferences in mind. You can follow the steps given in this website to customise your Ubuntu.

Install Codecs & Microsoft Fonts

Codecs & Microsoft fonts don’t come pre-installed on Ubuntu due to licensing issues. Codecs allow Ubuntu to play certain media formats. Microsoft fonts improve the compatibility of LibreOffice with documents created with Microsoft Word (doc, docx etc) and also provide you such popular fonts as Arial, Comic Sans, Times New Roman.

We can install codecs and Microsoft fonts with the following command:

sudo apt install ubuntu-restricted-extras ubuntu-restricted-addons

Code editors:

Only one of the following is required.

Visual Studio Code is an open-source and free source code editor developed by Microsoft for Windows, Linux and macOS. It includes support for debugging, embedded Git control, syntax highlighting, intelligent code completion, snippets, and code refactoring.

Download it here:

Sublime Text is a proprietary cross-platform source code editor with a Python application programming interface. To install, follow this page:

How To Install The Latest Version of Eclipse on Ubuntu

Eclipse is an integrated development environment (IDE) used in computer programming. It contains a base workspace and an extensible plug-in system for customizing the environment. It can be used with languages, such as — Java,C++, PHP, etc. Other languages support can be added on top of an existing installation or they can be installed as separate Eclipse packages. You can use snap package to install Eclipse. Snap comes preinstalled in Ubuntu 20.04,19.10,18.10,16.04 and for older versions like 14.04 and 15.10, you can use the following command in the terminal.

$ sudo apt update
$ sudo apt install snapd

Then use,

sudo snap install eclipse --classic

Or you can install Eclipse from the official package by following these steps in this website.

How to Fix Time Differences in Ubuntu 16.04 & Windows 10 Dual BootUbuntuHandbook
Logo
welcome home : vim online
Logo
GitHub: Where the world builds softwareGitHub
Full Guide to Ubuntu Customization Desktop
https://code.visualstudio.comcode.visualstudio.com
Linux Package Manager Repositories – Sublime Text Documentation
How To Install The Latest Version of Eclipse on Ubuntu - It's FOSSIt's FOSS
Logo
Logo
Logo
Logo