Currently FreeBSD has only a old version of vi. I like vim as it is a highly configurable text editor and efficient one. And I prefer to work only with it.
How install it:
pkg_add -r -v vim-lite
Example; install MC
pkg_add -r -v mc
Linux, programming and more
Really good question, the only way I know is:
You can search by name or description.
pkg_info works only for installed packages:(
I have currently no FreeBSD to try it out, some time ago a had FreeNAS running on FreeBSD.
uh-oh. I did a ‘portsnap fetch extract update’ and now it is fine :-) This is a bit steeper learning curve after Ubuntu…
I’m a FreeBSD newbie, and I constantly freak out how impossible it is to find out a ‘package’ name from the ‘port’ name.
Because of that I had to install ‘bash’ from ports, which took about 20 minutes compiling all of the dependecies. I would have liked to install the package, but I couldn’t figure it out.
The same is true for ‘vim’. There is a ‘vim’ and ‘vim-lite’ in the /ports folder, so I thought that is ‘vim-lite’ can be installed as a package, the same is true for ‘vim’. But not.
Can you give me any hint how to find out a package name from a port name?