I really enjoyed this talk[1] by Bryan Cantrill, part of which is about what it took to emulate Linux's syscalls from within SmartOS. It's lengthy, but enjoyable.
One of the applications that they tried to port directly to before the emulation layer was htop, and he has a good rant about what that took because of its use of /proc and how that made porting it very difficult. Given that, I'm sure this wasn't easy. Kudos! [1] https://www.youtube.com/watch?v=TrfD3pC0VSs
I use htop. I tried glances as I heard good things about it. It is nice, I like how it has more stuff -- disk, network. However it installed matplotlib, fonts-lyx, tk8.6, libjs-jquery-ui, python3-bottle, and a slew of other dependencies, not a big deal but something to watch for.
apt-get. It was painless, and I have the diskspace so not a big deal. Looking at package properties I see it recommends a bunch of packages, so it installed those and their deps (this is Ubuntu 15.10):
Perhaps you're referring to Linuxbrew - "a fork of Homebrew, the Mac OS package manager, for Linux."
It exposes the same repository as its OSX counterpart, with linux-flavoured customisations where necessary. From feature list at http://linuxbrew.sh/ - Can install software to a home directory and so does not require sudo - Install software not packaged by the native distribution - Install up-to-date versions of software when the native distribution is old - Use the same package manager to manage both your Mac and Linux machines
Comments (153) 37 threads
Earlier commentsOne of the applications that they tried to port directly to before the emulation layer was htop, and he has a good rant about what that took because of its use of /proc and how that made porting it very difficult.
Given that, I'm sure this wasn't easy. Kudos!
[1] https://www.youtube.com/watch?v=TrfD3pC0VSs
Continue this thread — 2 replies
It exposes the same repository as its OSX counterpart, with linux-flavoured customisations where necessary.
From feature list at http://linuxbrew.sh/
- Can install software to a home directory and so does not require sudo
- Install software not packaged by the native distribution
- Install up-to-date versions of software when the native distribution is old
- Use the same package manager to manage both your Mac and Linux machines
https://github.com/AndyA/htop-osx
Continue this thread — 1 reply
All comments shown.
Couldn't load more comments. Check your connection and try again.