If you don't have a hosting you can work with Moodle using a local server. You can use XAMPP for Linux. You can find it here. If you want to see how to install it, have a look at the following video.
There are some other options, such as Server2Go, Wampp Server, etc.
To download Moodle use this link.
Thanks to A. Cabrera for this information.