Peter White
Peter White

Reputation: 1086

Recompiling VIM: apt-get can't find source code?

I'm trying to recompile VIM with clipboard support and I'm attempting to follow this guide.

The trouble is that when I do:

sudo apt-get source vim

I get E: Unable to find a source package for vim, although the package name was auto-completed and exists if you type sudo apt-get source <tab><tab>

By the way, before I started, I did sudo apt-get remove vim.

Any ideas how to proceed?

I'm using Ubuntu 12.04 LTS.

Upvotes: 0

Views: 636

Answers (1)

romainl
romainl

Reputation: 196781

Just do

$ sudo apt-get install vim-gnome

It will install both gvim and vim with clipboard support.

Upvotes: 1

Related Questions