Trellis, Bedrock, and Sage development on Ubuntu Linux is supported by several libraries and software packages. This guide describes how to get the following packages installed and configured on your computer:
Git is available from the standard Ubuntu software repositories and may be installed with the following command:
$ sudo apt-get install git
Configure Git with your user information:
$ git config --global user.name "Your Name" $ git config --global user.email "email@example.com"
Install Composer from the standard Ubuntu software repositories:
$ sudo apt-get install composer
Create SSH Keys
Trellis and GitHub both use SSH keys to communicate securely without the need to type a username and password each time. Create your SSH keys:
$ ssh-keygen -t rsa -b 4096 -C "firstname.lastname@example.org"
For more details on generating SSH keys, see GitHub's excellent documentation.
Add your SSH key to the ssh-agent
~/.ssh/config file to automatically load keys into the ssh-agent and store passphrases in your keychain.
~/.ssh/config file and add the following lines:
Host * AddKeysToAgent yes UseKeychain yes IdentityFile ~/.ssh/id_rsa