vmtouch icon indicating copy to clipboard operation
vmtouch copied to clipboard

Install it without sudo rights

Open CesMak opened this issue 7 years ago • 3 comments

I would like to install vmtouch without having sudo rights on my ubuntu pc.

How is this possible?

CesMak avatar Jun 18 '18 14:06 CesMak

You can copy the binary somewhere and add it to your path. For example you can put in ~/bin/ and then put export PATH=$PATH:~/bin in your .bashrc and then logout and log back in.

hoytech avatar Jun 18 '18 14:06 hoytech

Basically just FYI for anyone hitting this thread:

If I understand the online manual correctly, running as non-root excludes you from being able to use -l, -L, or -d (locking and daemon) (and possibly others flags).

Michael-IDA avatar Sep 04 '18 15:09 Michael-IDA

@Michael-IDA - Yes, pretty much. Actually you technically can use memory locking, but most systems are configured with very small limits for non-root users. For example here's a stock ubuntu setup:

$ ulimit -a|grep -i locked
max locked memory       (kbytes, -l) 16384

hoytech avatar Sep 04 '18 15:09 hoytech