I have no root access on this machine.
I would like to know if there is a way I can download Ubuntu packages and install them as non-root?
Probably in my
~/usr/share or something like that? Would that work?
Apt doesn't support it directly, but there are ways to do it.
One is to use
The second way I know of is to call dpkg directly from the command line. The following example will install package.deb into your home directory.
The disadvantage to using dpkg like this is that error messages are likely to be cryptic; dpkg doesn't automatically resolve dependencies or create the directory structure it expects.
Finally, you could use the
The disadvantage to this approach is that you need the development environment available for this approach to work at all, and you might find yourself compiling dozens of packages in order to resolve all the dependencies.
You can move the files to some point in your home directory and execute them from there.