LuisCosio.com

LuisCosio.com random header image

HOW-TO: Vim 7 running on Ubuntu

July 31st, 2006 · 14 Comments

Shortly after Ubuntu Dapper was frozen, Vim 7 was released and it includes several interesting feautures such as…

  • Spell checking support for about 50 languages
  • Intelligent completion for C, HTML, Ruby, Python, PHP, etc.
  • Tab pages, each containing multiple windows
  • Undo branches: never accidentally lose text again

Here it is a small How-TO to install a backported version of Vim 7 in Ubuntu Dapper:

  1. Fire up a terminal and uninstall any other Vim version you might have installed with “$ sudo apt-get –purge remove vim
  2. Download the backported *.deb’s from “http://www.freshnet.org/debian/dapper/vim7/
  3. Install all the deb’s and thats it, you will have the newest vim with all the plugins, the documentation and the front-end for gnome.
  • del.icio.us
  • Reddit
  • Simpy
  • blinkbits
  • BlinkList
  • Ma.gnolia
  • Slashdot
  • Digg

Tags: Ubuntu

14 responses so far ↓

  • 1 oliver savage // Jul 31, 2006 at 11:25 pm

    You will want to use something along the lines of:

    sudo dpkg -i vim-package-name

    The installation will throw errors if you don’t have the programming language that is required, so either install that language or don’t download the corresponding debs. You may want to install vim-gui-common, and vim-runtime before vim-gnome.

  • 2 Yigal Weinstein // Aug 4, 2006 at 5:43 pm

    Thanks. I have been using vim for a couple of years now and it is the most powerful text editor putting all major text editors to shame with a little time put to learn how it works.

    note: to install many deb packes at once its nice to just use *.deb i.e.:

    dpkg -i *.deb

  • 3 AndyCapp // Aug 5, 2006 at 1:09 pm

    Hello guys, and tnx a lot fpr using my debs :) Today i have plan to upload las vim7 version, so stay tuned :) You can also add a line in your sources.list like this:

    deb http://www.freshnet.org/debian/ dapper/

    Have a nice vim tim ;)
    Massimo -AndyCapp- Danieli

  • 4 schimana.net » VIM 7 unter Ubuntu Dapper installieren // Aug 18, 2006 at 8:15 am

    [...] Die Anleitung gibts bei publicidadpixelada.com [...]

  • 5 Phil Stephens // Aug 19, 2006 at 8:34 pm

    Thanks, guys, for making this easy. I had no luck with the ” - purge” call (so I left it out and it seemed to execute fine), nor with the editing of my sources.list. Instead, I used “wget -” to fetch the packages. Also, it appeared to me that apt-get replaced the old binaries as it installed the new ones using “dpkg -i *.deb”

    One development resulting from this, though, is that synaptic has removed three packages it says were ‘broken.’ They are vim-full, vim-lesstif, and vim-ruby. At this point, the loss of those packages does not prevent gvim from running. I haven’t put it through the ringer yet, though.

  • 6 Phil Stephens // Aug 20, 2006 at 9:04 am

    Howdy again … an update of sorts. I couldn’t get my filetype plugins to work. Has anyone had and/or solved this problem? I removed everything, then reloaded synaptic. It found the .debs at freshnet and pulled them down, along with vim-latex-suite at my request. But, like I said, after a bit of monkeying around I was not successful in getting the ftplugins to work.

  • 7 Dan Miller // Aug 27, 2006 at 3:11 pm

    synaptic responded with: “The following packages will be REMOVED:
    cream* ubuntu-base* ubuntu-minimal* vim* vim-latexsuite* vim-vimoutliner”…I’m a little concerned about ubuntu-base and -minimal!
    I’m using vim /w GUI ver 6.4.6 and was attemp -ting to compile 7.0 src without removing 6.3.
    However 7.0 did not compile the GUI…what’s my next step??

    Thanks from a linux hobbist/programmer wanna-be.

  • 8 andriy drozdyuk » Blog Archive » How to Install Vim7 in Ubuntu Dapper // Sep 3, 2006 at 4:43 pm

    [...] References: This short install guide (note -purge shouldbe –purge) [...]

  • 9 AndyCapp // Sep 16, 2006 at 8:04 pm

    My new backport
    http://www.freshnet.org/wordpress/2006/09/16/new-backport-vim-70-035-debs-for-ubuntu-dapper/

    Andy

  • 10 Kevin Stanchfield // Sep 26, 2006 at 8:56 am

    apt-get has no “-purge” option, however there is a “–purge” which will make sure config files, as well as the packages, will be removed which is probably a good idea with an update this big. Thanks for the article.

  • 11 Andrew Bruce // Oct 12, 2006 at 8:25 am

    Note that there’s no -purge option to dpkg either, it’s –purge!

  • 12 Andrew Bruce // Oct 12, 2006 at 8:26 am

    That would be dash dash purge (something’s happening with the text formatting here).

  • 13 Josh // Mar 30, 2007 at 2:10 pm

    I’ve been waiting to upgrade to vim 7 on Dapper because I thought it would be time consuming. It was easy with these instructions. Thanks.

  • 14 mdani // Nov 22, 2007 at 9:39 am

    i’ve lucky,

    i’m trying this one:

    sudo dpkg -i –force-conflicts *.deb

    force-conflicts because i’m force to get rid of vim-runtime tiny version

Leave a Comment