Documentation

Post-Installation Guide

On Tiger

Open a Terminal application and become root to edit file /etc/profile. Add /usr/local to $PATH environment variable. The profile should appear like this:

# System-wide .profile for sh(1)

PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
export PATH

if [ "${BASH-no}" != "no" ]; then
        [ -r /etc/bashrc ] && . /etc/bashrc
fi

On Leopard

Things are different here. You don't have to customize /etc/profile, instead of it you'll have to create a file named /etc/paths.d/rudix with this content:

/usr/local/sbin

Leopard is aware of /usr/local/bin and you don't have to customize a path for it but you should insert the above line in order to reach commands in /usr/local/sbin.

Testing the installation

You can easily test the installation by running the rudix command like this:

$ rudix -l
apr-util.pkg (1.2.12-0) Companion library to APR
apr.pkg (1.2.12-0)      Apache Portable Runtime
autoconf.pkg (2.61-2)   Automatically configure source code on many Un*x platforms
automake.pkg (1.9.6-2)  GNU standards-compliant Makefile generator
...

And now you can run your favorite command line application.

FAQ

Q. What does Rudix means?
A. Rudix is the mixing of Ruda and Unix.

Q. What are the advantages of Rudix against the others?
A. In one word: simplicity. All packages are self-contained and installable via disk image as whatever software on Mac OS X should be.

Q. Why do Rudix install packages under /usr/local?
A. Because it is the standard place for third party software in every Unix on earth.

Q. How do I uninstall a package?
A. Mac OS X does not provides any graphical uninstaller for .pkg packages but you can uninstall Rudix's packages (for example ccache.pkg) by running

$ sudo rudix -r ccache.pkg

Q. I've try to run my favorite program but the only thing I get is dyld: Library not loaded: /usr/local/lib/...
A. It means that you forgot to install some library. Please, see section libraries in download page and install the apropriate library.

Q. I dislike Rudix. Is there any alternative?
A. Really? Why don't you send me a mail and tell me what you don't like and help me to improve my system and even solve your problem. Well, there are very good alternatives to Rudix, like MacPorts and Fink.

Q. The ownership or group in file(s) /usr/local/something(/...) looks messy after I installed some Rudix package. How do I fix this?
A. All Rudix packages uses root:wheel for ownership and group, 0755 (rwxr-xr-x) and 0644 (rw-r--r--) for file access in /usr/local/ tree. You are free to change the owner and group for these modes.
Rudix packages would not change permissions in places other than /usr/local/ but you can use Disk Utility if you think something is suspect: open Disk Utility, Select your Macintosh HD and push the button “Repair Disk Permissions”.

User Contributions

Version History

If you think Rudix is a great project, considere donate it.

Copyright © 2005-2008 Rudá Moura