[arch-general] Pacman for user-only packages
Hello, I've been an Arch user for years now because pacman is my favorite package manager. However, I've been working at a job for almost a year now where I use a RHEL machine without root access. They let me use whatever software I want, but I have to build it all from source and install it in my home directory. Since this means that I have the better part of a linux distribution installed ad-hoc by hand, I've often wished I could somehow use pacman and the ABS to automate my builds, have versioning and dependencies, rollback in case of errors, etc. Is there any way to set up pacman/ABS/AUR to install to a user's home directory? Or is there some other user-oriented package manager that people know of to accomplish this sort of thing? Thanks, William
On Monday, April 13, 2015 07:07:35 PM William Hatch wrote:
Hello,
I've been an Arch user for years now because pacman is my favorite package manager. However, I've been working at a job for almost a year now where I use a RHEL machine without root access. They let me use whatever software I want, but I have to build it all from source and install it in my home directory. Since this means that I have the better part of a linux distribution installed ad-hoc by hand, I've often wished I could somehow use pacman and the ABS to automate my builds, have versioning and dependencies, rollback in case of errors, etc. Is there any way to set up pacman/ABS/AUR to install to a user's home directory? Or is there some other user-oriented package manager that people know of to accomplish this sort of thing?
Thanks, William
To William, pamcan -r lets you install to a different directory (it'll need the necessary files). You could maybe try to use it on a .local directory. Regards, Mark
Yes , you can set up a local repo, packer (aur manager) also has config for custom folder. Pacman -U package rolls back to chosen package. you could download PKGBUILD and use makepkg and pacman to manage it yourself. Many possibilities w pacman Bob
participants (3)
-
bob
-
Mark Lee
-
William Hatch