<commit_before>---
layout: page
title: Ubuntu Basics
comments: true
---

Install [Ubuntu](https://www.ubuntu.com/download/desktop)  
  
This guide is for 16.04.3  
  
## The Basics  
  
### Shared Folders
On the VMware menu select Virtual Machine->Reinstall VMware Tools.  
Once the cd for the installation is available, copy the VMwareTools tar.gz file to a Downloads 
(or your preferred directory on your Ubuntu VM). Unzip, change directory into ```vmware-tools-distrib``` 
and in terminal, run  
```
sudo ./vmware-install.pl
```  
Restart the VM.  
The shared directory is located in ```/mnt/hgfs/```.
Setup a shared directory in host computer in the ```Sharing``` settings for the VM in VMware.  
  
### Git
```
sudo apt-get install git
```  
  
### [Google Chrome](https://askubuntu.com/a/510186)  
Add Key  
```
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
```
Setup Repo  
```
echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' | sudo tee /etc/apt/sources.list.d/google-chrome.list
```
Install Package  
```
sudo apt-get update 
sudo apt-get install google-chrome-stable
```  
  
### [Sublime](https://askubuntu.com/a/227617)
Add Repo  
```
sudo add-apt-repository ppa:webupd8team/sublime-text-3
```  
Install Package  
```
sudo apt-get update
sudo apt-get install sublime-text-installer
```
<commit_msg>Update 2017-10-26-Ubuntu_Basics.md<commit_after>---
layout: page
title: Ubuntu Basics
comments: true
---

Install [Ubuntu](https://www.ubuntu.com/download/desktop)  
  
This guide is for 16.04.3  
  
## The Basics  
  
### Shared Folders
On the VMware menu select Virtual Machine->Reinstall VMware Tools.  
Once the cd for the installation is available, copy the VMwareTools tar.gz file to a Downloads 
(or your preferred directory on your Ubuntu VM). Unzip, change directory into ```vmware-tools-distrib``` 
and in terminal, run  
```
sudo ./vmware-install.pl
```  
Restart the VM.  
The shared directory is located in ```/mnt/hgfs/```.
Setup a shared directory in host computer in the ```Sharing``` settings for the VM in VMware.  
  
### Git
```
sudo apt-get install git
```  
  
### [Google Chrome](https://askubuntu.com/a/510186)  
Add Key  
```
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
```
Setup Repo  
```
echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' | sudo tee /etc/apt/sources.list.d/google-chrome.list
```
Install Package  
```
sudo apt-get update 
sudo apt-get install google-chrome-stable
```  
  
### [Sublime](https://askubuntu.com/a/227617)
Add Repo  
```
sudo add-apt-repository ppa:webupd8team/sublime-text-3
```  
Install Package  
```
sudo apt-get update
sudo apt-get install sublime-text-installer
```  
  
### ~/.bashrc
Open ```~/.bashrc``` with Sublime  
```
subl ~/.bashrc
```  
Add to end of ```~/.bashrc``` file  
```
#----------------------#
#---   USER ADDED   ---#
#----------------------#
alias rebuild='cd .. && rm -r build && mkdir build && cd build && cmake ..'
```

{'fraction_non_alphanumeric': 0.16475597772682607, 'fraction_numerical': 0.016377333770062234, 'mean_word_length': 3.1835616438356165, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 8, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3608314', 'n_tokens_mistral': 1152, 'n_tokens_neox': 1022, 'n_words': 306}