Basic Linux Setup
Run Ubuntu.
Last updated
Run Ubuntu.
Last updated
After installing Ubuntu, open the terminal and run the following commands:
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
And then set the time on Linux and Windows manually.
NOTE: For lower Ubuntu versions, edit the /etc/default/rcS
file.
Vim is a highly configurable text editor. Run the following command in the terminal to install it:
Useful for TUI (Terminal User Interface) based debugging.
Git is a free and open source distributed version control system. To install it:
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:
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:
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.
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:
Once you've configured your identity, you can configure Git further to suit your workflow.
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.
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:
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.
Then use,
Or you can install Eclipse from the official package by following these steps in this website.