Getting current uftrace to users: Debian (and Linuxbrew) #1327
bernhardkaindl
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
debian users can be happy, it's updated in sid, and a bug has been filed to remove armhf binary so it can migrate to testing soon |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
To build uftrace using LinuxBrew/Homebrew on Linux, do this:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
and follow the instructions shown there. Then, you run simply:
brew install -s uftrace
This downloads all dependencies of uftrace (already pre-built) and builds uftrace from source with all features (luajit support is coming soon).
If you want the latest uftrace from the git HEAD, you can build it from the master branch using:
brew install -s --HEAD uftrace
The full set of uftrace manual pages are provided as well.
The best thing is: If you don't have to have
sudo
privileges on the machine, it simply installs into your home directory, if you don't.In case you have
sudo
privileges, it will install below/home/linuxbrew/.linuxbrew
, so it does not pollute your/usr/local
.In any case, any
Linuxbrew
-built tools are only in yourPATH
as long as you source the output ofbrew shellenv
as described into the installation instructions. If you remove the corresponding line from you~/.profile
, or don't even add it, you can call the installed tools likeuftrace
using the direct path or by a symlink to it.The "formula" to brew
uftrace
can be maintained by anyone who has a github account, just create a fork of homebrew-core on github, commit your changes to a new branch and create a pull request. Here is my currently-active pull request which adds support for luajit: Homebrew/homebrew-core#84316In case you have questions, just write a comment here in the discussion!
Beta Was this translation helpful? Give feedback.
All reactions