Login on to server with Putty.
Change directory to desired location.
Get the files
wget http://wordpress.org/latest.tar.gz
Extract them
tar xfz latest.tar.gz
Change permission on files
chown -R [owner]:[group] wordpress eg chown -R thechatt:thechatt wordpress chmod -R 755 wordpress
Move files out of created folder
mv wordpress/* ./
remove file and directory
rm latest.tar.gz rm -rf wordpress