Skip to content

Userland macports that is targeted at RHEL so that packages can be installed without root.

License

Notifications You must be signed in to change notification settings

bpdegnan/redbash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

redbash is userland macports with the target of RHEL.

redbash is an attempt to install macports, which is for macos but can be installed with root on [Ubuntu] (https://trac.macports.org/wiki/InstallingMacPortsOnUbuntuLinux), as a userland package on RHEL where one does not have root access. This is achieved by building all of the support utilites that are required to compile macports, which are all inherently BSD.

Firstly, BSD has a different sed, and for that reason I've done a port of BSD's sed as bsdsed.

Secondly, paths are challenging, and for this reason there's a structure of:

./
./private/bin
./private/opt

The private directory has untilties that are required to build macports, and macports is installed into opt.

In order to get the package, I generally run:

wget https://github.com/bpdegnan/redbash/archive/refs/heads/main.zip -O redbash-main.zip

In order to install the packages, clone this repository and then run ./setuppaths.sh. You will need logout and back in to update the paths, or rerun your shell. Next run installmacports.sh to try to build things. You can then do a "port selfupdate" You need to sort out the bsdsed to run as sed because I've been unable to pull that off without root access still; however, you can do the following to prove things are working:

port -v install libffi

About

Userland macports that is targeted at RHEL so that packages can be installed without root.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages