Instaling RStudio server as user, not root?

Is it possible? When I run this:

cmake .. -DRSTUDIO_TARGET=Server -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/Apps/users/hussaif1/r_studio/rstudio-rstudio-6979d6d/exe

I get:

CMake Error at src/cpp/session/CMakeLists.txt:23 (message):
Dictionaries not found (re-run install-dependencies script to install)

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
linked by target "rstudio-core" in directory /Apps/users/hussaif1/r_studio/rstudio-rstudio-6979d6d/src/cpp/core

-- Configuring incomplete, errors occurred!

I have installed libuuid from source and added it to my LD_LIBRARY_PATH. Do I need to tell cmake where the source files are for libuuid ( /Apps/users/hussaif1/r_studio/util-linux-2.33/libuuid/src )?

You can't install RStudio Server as a user. You can run it as a user in some limited circumstances (i.e. if you're the only user who will be accessing it).

The CMake errors are unrelated to this, though. Getting the dependencies right takes some effort; if you need to build it yourself, you will probably be more successful if you use our Docker containers.

You also might not need to build it yourself at all; another route is to unpack the RPM or DEB file and just run the server as-is.

Thanks, I figured I had to be root :slight_smile: Generally when I am asked to install something new, I start with the most primitive way to install, i.e as a user.. So now I will explore the docker and other options you mentioned.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.