Learn faster and stay on-track by joining this free class with other self-learners.
|
Learning Vim from the insideOpen Ended Class Creator: pbr Status: Established |
Join this class! |
Lesson 1: Assignment 1Install mercurial and id-utils using your Linux system's package management software. We'll be using them both in future lessons. For example, under Ubuntu: $ sudo aptitude install mercurial $ sudo aptitude install id-utils Use the class forum for this lesson if you get stuck, or to share any particular techniques/approaches you used to get these tools installed and working. HOMEWORK: do not submit "homework" for this assignment unless you get particularly odd results or have a problem completing the exercise.Homework Submissions25 totalDone No comments. Sign up or log in to comment Done No comments. Sign up or log in to comment sorry, but how install mercurial in Centos 5.3?? Thanks, I install mercurial and id-utils, now I continue with course Comments:Greetings mams827 try here: http://stackoverflow.com/questions/1170338/mercurial-for-beginners-the-definitive-practical-guide Hope this helps! Welcome aboard - looking forward to your questions about the Vim sourcecode base. -pbr done No comments. Sign up or log in to comment No comments. Sign up or log in to comment sudo aptitude install id-utils mercurial No comments. Sign up or log in to comment # sudo aptitude install mercurial No comments. Sign up or log in to comment the idutils package is called just that (idutils) in gentoo FYI Comments:Thanks for the info. The discrepancy with id-utils vs. idutils in package names is pretty confusing, huh? I'm wondering why it happened, but not hopeful it'll get fixed anytime soon. Someone somewhere probably decided to try to make it more readable and user friendly (most often not a bad thing) but using the upstream names for packages is much more desirable I think :) Umm, there was not much to it... Comments:Yes; these initial assignments can be pounded through really easily. That's why the homework note on the assignment says: HOMEWORK: do not submit "homework" for this assignment unless you get particularly odd results or have a problem completing the exercise.Sorry... Me too; I didn't realize the markup would come out that big when I pasted it. And there's currently no way to edit comments, so it's stuck like it is. Arrgh. I set up "Lesson 1, Assignment 3" to collect peoples comments and progress on the first few lessons, with hopes that for assignments 1 and 2, only issues/problems/hurdles would get documented in the homework. Once the site's got comment/homework editing capabilities for course creators, I'll be able to prune things to that end. In the meanwhile, ...no worries. Welcome aboard, and I look forward to your contributions to the exploratory assignments! A note for Arch Linux users. id-utils is available via AUR. No comments. Sign up or log in to comment sudo aptitude install mercurial id-utils No comments. Sign up or log in to comment sudo apt-get install id-utils mercurial
Reading package lists... Done
Building dependency tree Setting up mercurial-common (1.3.1-1) ... Setting up mercurial (1.3.1-1) ... Creating config file /etc/mercurial/hgrc.d/hgext.rc with new version Processing triggers for python-support ... Comments:Any particular reason you used apt-get instead of aptitude? It's all good, though; as long as the tools are installed and working you're good to go. sudo apt-get install mercurial id-utils No comments. Sign up or log in to comment in mac 10.6.2 sudo port install mercurail +bash_completion Comments:So did you get id-utils as well? yap. Rocking. Here's hoping all of this works for you; I've not tried it out on a mac myself. sudo aptitude install mercurial sudo aptitude install id-utils Worked fine. A bit newer to debain, I've always used apt-get and didn't know the difference between it and aptitude, which lead me to do a bit of research on the subject...it seem aptitude is probably what I should start using instead. Thanks :D Comments:Awesome. Yes, you can and should use aptitude for just about anything you used to use apt-get for. In gentoo, sudo emerge -v mercurial idutils No comments. Sign up or log in to comment Installed via package manager (ubuntu 9.10) **sudo aptitude install mercurial id-utils** Writing extended state information... Done No comments. Sign up or log in to comment Installed Mercurial through package manager. yaourt -S mercurial Comments:Running ArchLinux, huh? Cool. Tell me if I'm wrong; my understanding is that "Yaourt is to pacman as aptitude is to apt-get" ...is that more or less accurate? I've used mercurial for some other stuff so it was installed. I did need to sudo apt-get id-utils though. Comments:No problem; main thing is to ensure the tools are there for you to use. You might want to investigate using id-utils tools on that "other stuff" you're already working on. I find them really useful for looking around other people's code - for example, ensuring you've looked at ALL callers of a particular function you're changing. sudo aptitude install mercurial
[sudo] password for sonicgrass:
Reading package lists... Done
Building dependency tree Setting up mercurial (1.3.1-1) ... Creating config file /etc/mercurial/hgrc.d/hgext.rc with new version Processing triggers for python-support ...
Reading package lists... Done sudo apt-get id-utils
E: Invalid operation id-utils
sonicgrass@hillbilly:~$ sudo aptitude install id-utils
Reading package lists... Done
Building dependency tree Reading package lists... Done sudo apt-get install mercurial
[sudo] password for lander:
Reading package lists... Done
Building dependency tree Setting up mercurial (1.3.1-1) ... Creating config file /etc/mercurial/hgrc.d/hgext.rc with new version Processing triggers for python-support ... Comments:I'm wondering why you had the authentication warning. I didn't see that when I installed mercurial. dunno. Maybe a difference between apt-get and aptitude. What distro are you running? The newest version of Mint, it probably pulled from some extra repository and triggered the warning. Regardless, seems to be working fine. sudo aptitude install mercurial sudo aptitude install id-utils all done now Comments:Awesome! I'll try to stay in front of you guys with laying in the follow-on lessons. If you run out of lessons/assignments, just check in again tomorrow and there'll be more! apt-get install blar daniel ~ $ sudo pacman -S mercurial Contraseña: resolviendo dependencias... verificando conflictos... Objetivos (1): mercurial-1.4.2-1 [2,65 MB] Tamaño total de descarga: 2,65 MB Tamaño total instalado: 10,52 MB ¿Continuar con la instalación? [S/n] S :: Descargando paquetes desde extra... mercurial-1.4.2-1-i686 2,6M 83,9K/s 00:00:32 [#####################] 100% Verificando la integridad de los paquetes... (1/1) verificando conflictos entre archivos [#####################] 100% (1/1) instalando mercurial [#####################] 100% Dependencias Opcionales para mercurial tk: for the hgk GUI daniel ~ $ hg -v Mercurial Distributed SCM (version 1.4.2) Copyright (C) 2005-2009 Matt Mackall and others This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. [...] ==> Continue installing idutils? [Y/n] ==> [v]iew package contents [c]heck package with namcap ==> ---------------------------------------------- ==>Y Contraseña: cargando datos del paquete... comprobando dependencias... (1/1) instalando idutils [#####################] 100% If you like this package, please install aurvote and vote for its inclusion/keeping in [community] Comments:Bien hecho! Looks like you're good to go. What distro are you running? pacman would mean it's Arch in this case. A note for other Arch users, the idutils package is available from AUR, and not installable using pacman. You will need yaourt or similar. Yes I figured that out a little after I asked. Also there's a note elsewhere about idutils vs. id-utils for Arch. Thanks! |
No comments. Sign up or log in to comment