Aug 14, 2011
tom

Installing packages to home directory with package manager

Question

I have an account on a remote GNU+Linux system that I use via SSH, I have no root access to the machine. Sometimes I need more software or newer versions than provided by system administrators, so currently I install everything I need by hand in ~/opt directory, but it’s getting hard to maintain as number of packages installed increases. Is there any package manager (like apt, yum, portage) that can install stuff in my home directory instead of root?

Answer

I was looking for a similar thing recently, and found this blog post [1], which mentions using gentoo-prefix and nix prefix

[1] http://invalidmagic.wordpress.com/2011/01/21/running-the-nix-package-manager-in-a-prefix-as-the-home-directory/

Related posts:

  1. yum package conflict installing mysqlclient package
  2. Problems installing PHP libevent PECL Package
  3. Automatic storing package before installing it on .deb based system?
  4. Is there a good package manager for Windows?
  5. Permission denied to go to home directory

Leave a comment