[Solved] Couldn't find package htop?

I want to install htop – but apt-get says it cannot find the package.

I of course ran sudo apt-get update and then tried to install htop but it still says package not found.

Maybe I need to add a special repository in my sources.list?

here is my sources.list file:

main & restricted repositories

deb http://us.archive.ubuntu.com/ubuntu/ jaunty main restricted

deb-src http://us.archive.ubuntu.com/ubuntu/ jaunty main restricted

deb http://security.ubuntu.com/ubuntu jaunty-security main restricted

deb-src http://security.ubuntu.com/ubuntu jaunty-security main restricted

universe repositories

deb http://us.archive.ubuntu.com/ubuntu/ jaunty universe

deb-src http://us.archive.ubuntu.com/ubuntu/ jaunty universe

deb http://us.archive.ubuntu.com/ubuntu/ jaunty-updates universe

deb-src http://us.archive.ubuntu.com/ubuntu/ jaunty-updates universe

deb http://security.ubuntu.com/ubuntu jaunty-security universe

deb-src http://security.ubuntu.com/ubuntu jaunty-security universe

Also, I don't really want to add any unsupported/unofficial repository.

Any other ideas on getting htop?

Thanks.

4 Replies

I installed it from the source and it runs fine.

It is in the universe repository (which is still official/supported) so if you want it via apt you'll need to uncomment the lines for the universe repository that are commented out.

https://launchpad.net/ubuntu/jaunty/+so … 1-4ubuntu1">https://launchpad.net/ubuntu/jaunty/+source/htop/0.8.1-4ubuntu1

Hi,

You must enable universe.

From:

universe repositories

deb http://us.archive.ubuntu.com/ubuntu/ jaunty universe

deb-src http://us.archive.ubuntu.com/ubuntu/ jaunty universe

deb http://us.archive.ubuntu.com/ubuntu/ jaunty-updates universe

deb-src http://us.archive.ubuntu.com/ubuntu/ jaunty-updates universe

deb http://security.ubuntu.com/ubuntu jaunty-security universe

deb-src http://security.ubuntu.com/ubuntu jaunty-security universe

To:

universe repositories

deb http://us.archive.ubuntu.com/ubuntu/ jaunty universe

deb-src http://us.archive.ubuntu.com/ubuntu/ jaunty universe

deb http://us.archive.ubuntu.com/ubuntu/ jaunty-updates universe

deb-src http://us.archive.ubuntu.com/ubuntu/ jaunty-updates universe

deb http://security.ubuntu.com/ubuntu jaunty-security universe

deb-src http://security.ubuntu.com/ubuntu jaunty-security universe

Oh thanks guys.

Didn't notice that the universe repository was commented out. I guess I should get some more sleep.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct