I just learned how to edit files that belong to root. I had to learn that because I am experimenting with lesson 1 of the symfony tutorial. Commands were:
$ mkdir -p /home/sfprojects/jobeet
$ cd /home/sfprojects/jobeet
$ mkdir -p lib/vendor
$ cd lib/vendor
$ tar zxpf NAME.tgz // unpack tgz file
$ mv NAME symfony // rename, had to do this with sudo
$ rm NAME.tgz // delete the tgz file
Almost, I failed. But in the end, I was successful. And now:
ubuntu@ubuntu-desktop:/home/sfprojects/jobeet/lib/vendor$ cd ../..
ubuntu@ubuntu-desktop:/home/sfprojects/jobeet$ php lib/vendor/symfony/data/bin/check_configuration.php
The program 'php' is currently not installed. You can install it by typing:
sudo apt-get install php5-cli
OK, I need to install php5-cli. This is the next command:
sudo apt-get install php5-cli
And now:
ubuntu@ubuntu-desktop:/home/sfprojects/jobeet/lib/vendor$ sudo mv sandbox symfony
Sorry that this post is a little bit off-topic.
And now:
ubuntu@ubuntu-desktop:/home/sfprojects/jobeet$ php lib/vendor/symfony/data/symfony/bin/check_configuration.php
It was a little confusing to find the right path, but now I have found it.