I need to install some programs on a server where I cannot get super user privileges. Is there a flag or some way to get aptitude to install in my bin and lib folders in my home directory instead of for the whole system?
2 Answers
All of these commands must be run as root or with superuser privileges
From my answer to how to create debian package to install files to /home/user on the Unix & Linux SE site:
The whole point of a Debian package is to install system-wide software. Think about it: if multiple users install this package to their respective /home/user/myapp area, what should show up in your package manager?
If you want to install to your home directory, use the original source (eg. tarball) distribution.
-
Well, it would show up different things for different users in the package manager. The package manager
cabal-install
for Haskell allows user installs and system-wide installs and it works well :)– danrFeb 2, 2012 at 11:36