If you use apt-get install lazarus, you don't have to know a url or the correct version. apt-get looks in the package lists of archive.ubuntu.com for the correct version for you, downloads and installs it.