I downloaded Magento 2.0 into Downloads folder and extracted all the files into temp_extract. Now I want to copy all files inside temp_extract into var/www/magento. I cannot figure out how to do it. I tried several copy command-lines, but none worked. Also, I tried several file managers, including Gentoo, Xfe, PCManFM, and Nemo. None of them helped. I have given all permissions, i.e., d rwx rwx r-x, to magento directory. With most file managers when I copy and paste the files, they say that I do not have permissions. With Gentoo, I ended up transferring temp_extract into magento directory, but I couldn't figure out the command-line to move from temp_extract into magento. I am using Ubuntu 14.04. Can anyone help? Thanks.
The file mangers gives you a
permission denied error as you are copying files in to a folder owned by
/var,you should not change the permissions of system folder like
/var, you have two options to move these files, first
sudo cp /file/you/want/to/copy /folder/you/want/to/copy/to
If you like to move them via a
gui you can run a
gui like this
You can swap
nemo for the name of your favourite file manager.
To copy the specific files you requested, this is the correct syntax
sudo cp -R ~/Downloads/temp_extract/ /var/www/magento/
As you say in comments
I haven't yet figured out how to install magento
You should provide the download you used and any tutorial you followed as it seems unlikely you would need to copy these files manually, there is possibly some kind of installation script you can run to automate the processes.