I want to migrate from Windows to Linux Mint.
Good.
- libgtk 2.0 dev not installed by default, so Lazarus failed to rebuild new IDE when new package installed
So, install necessary dependencies.
- Sometimes very lag operation in Lazarus, for eg executed
File->New could take time more than 30 seconds to finished
Sounds like a known issue with older version of Lazarus, are you using the LinuxMint repo one ? (Actually The Ubuntu one, actually the Debian one). See
https://forum.lazarus.freepascal.org/index.php/topic,61295.msg460766.html#msg460766 . Similar, related issues mentioned lots of places in Forum.
- Downloaded Online Package Manager very slow, sometime about 4-15kB/s
A know issue at present, see current Forum issues.
Generally, I suggest you use a current version of Lazarus, not the one in Mint repos, possibly the rc1-branch version of FPC. Reporting bugs in old versions is generally not very productive, they won't get fixed unless they still exist and then they will only be fixed in trunk and, later, in a new release.
I am confused, from which these errors came, Virtual Machine, Linux Mint or Lazarus?
Well, the dependency problems relate to missing dependencies.
I generally run FPC/Lazarus in Virtual Box VMs with no more problems that on natural hardware. But current versions make far more differences than being in a VM.
Davo