Unix & Linux: How do I install htop inside mac os x? (3 Solutions!!)

Unix & Linux: How do I install htop inside mac os x? (3 Solutions!!)

Roel Van de Paar

4 года назад

39 Просмотров

Unix & Linux: How do I install htop inside mac os x?


The Question: How do I install http://htop.sourceforge.net/ for Mac_OS_X? (The easiest and
laziest path)

Solutions: Please watch the whole video to see all solutions, in order of how many people found them helpful

== This solution helped 7 people ==
**** Pre-built binary ****
Found http://themainframe.ca/2011/06/install-htop-on-mac-os-x/ that shows how
to do it. The steps are as follows:
$ curl -O http://themainframe.ca/wp-content/uploads/2011/06/htop.zip
$ unzip htop.zip
$ sudo mv htop /bin
$ rm htop.zip
This binary is already pre-built so you should use caution when using
executables such as this to make sure that they aren't malicious.
**** Building it from scratch ****
You can also follow these directions if you'd like to attempt to build the
executable yourself. The tutorial is called: http://jeetworks.org/node/60. A
copy of the original reference material is here on Tech_Chutney.
**** General steps ****
$ git clone git://github.com/AndyA/htop-osx.git
Building this under Snow Leopard requires you to checkout the 'osx' branch:
$ cd htop-osx
$ git checkout -b osx origin/osx
and set your 'CFLAGS' environmental variable to specify a 32-bit build:
$ export CFLAGS="-m32"
before the actual build:

$ ./autogen.sh
$ ./configure
$ make
$ make install

== This solution helped 101 people ==
Here is the laziest way (or homebrew way)
First install http://brew.sh if you haven't
Second brew install htop
Third, done

With thanks & praise to God, and with thanks to the many people who have made this project possible! | Content (except music & images) licensed under cc by-sa 3.0 | Music: https://www.bensound.com/royalty-free-music | Images: https://stocksnap.io/license & others | With thanks to user Victor Sergienko (https://unix.stackexchange.com/users/54895), user slm (https://unix.stackexchange.com/users/7453), user Ruvenss (https://unix.stackexchange.com/users/50300), user peterh - Reinstate Monica (https://unix.stackexchange.com/users/52236), user number5 (https://unix.stackexchange.com/users/10132), and the Stack Exchange Network (http://unix.stackexchange.com/questions/98253). Trademarks are property of their respective owners. Disclaimer: All information is provided "AS IS" without warranty of any kind. You are responsible for your own actions. Please contact me if anything is amiss at Roel D.OT VandePaar A.T gmail.com.

Тэги:

#unix #linux #software_installation #macintosh #htop #solution #solutions
Ссылки и html тэги не поддерживаются


Комментарии: