Take the 2-minute tour ×
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It's 100% free, no registration required.

I'm a complete newbie with linux and raspberry. How can I install htop on wheezy? I know of apt-get, installing rpm with alien. but There is this error and I cant find any relevant info on google. I get what the errors are saying.. but is there another way?

Help?

...
warning: rpmforge-release-0.5.2-2.el5.rf.i386.rpm: Header V3 DSA/SHA1 Signature, key ID 6b8d79e6: NOKEY
rpmforge-release-0.5.2-2.el5.rf.i386.rpm is for architecture i386 ; the package cannot be built on this system
share|improve this question
    
i figured it out.. sudo apt-get install htop as I said.. I'm new to this. –  Alan Dec 23 '12 at 0:17

3 Answers 3

Just that you know what's wrong with the package you downloaded.

The name of the rpm... especially the part .i386. is the cpu architecture the package (rpm, deb, ...) is built for.

Your RPI has ARM archivetecture so you just loaded a rpm for the wrong architecture.

But anyway, installing a package via apt-get is always better than installing an rpm with alien.

share|improve this answer

You're using Debian, so you'd be better off installing .deb and only using alien with .rpms if really needed.

  1. apt-cache search htop
  2. sudo apt-get install htop
share|improve this answer

Better you clone code from htop github repo (https://github.com/hishamhm/htop) and do below steps

./configure
make 
make install

Worked perfectly for me.

share|improve this answer
2  
I won't say this is wrong, but it is not "better" -- it usually makes more sense to use the distro version, since that is simpler and easier (apt-get install htop, done) and will be automatically upgraded if you keep the system as a whole updated. Usually the only reason to build from source is if you want/need a particular version and/or to patch it. –  goldilocks Jun 22 at 15:19
    
@goldilocks agree its easiest way but i have faced issues few times for RPi repo, bineries present in repo not works properly, so i choose to build from source, that always work for me (without any missbehaviour) –  Amey Jadiye Jun 23 at 7:19

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.