Can vim downloaded in win be installed on ubuntu?

  question, vim

My computer is equipped with ubuntu but can’t access the Internet, so if I want to install vim, I can only download and install it under win, but I don’t know if I can install it or where else? The websites that Baidu vim pops up all feel unreliable. So, where is the installation?
One more question, ubuntu writes code on it, gcc is not its own amount, so where can I download gcc and install it on ubuntu?

Sureļ¼ŒVim Lucid i386

Download the deb package. If it is not this version of ubuntu, just change the address to your own version.

GCC address: