Step 2 : Repository Setup

  • In this program, you are going to learn

  • How to ?

Topics in this section,

  • Make sure current dir is $HOME

$ cd $HOME
  • Create a bin directory and add it to the PATH environment variable

$ mkdir ~/bin
$ PATH=~/bin:$PATH
  • Download the repo tool using the following command.

$ curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
  • Create a repo file and replace it with the existing one.

$ vi repo
  • Replace the repo file using the following command.

$ cp -arvf repo ~/bin/repo
  • Set the permission to the repo file.

$ chmod a+x ~/bin/repo

What is /.bashrc file?