Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-19-2015, 03:29 AM   #1
LQ Newbie
Registered: May 2015
Posts: 1

Rep: Reputation: Disabled
Installing from RPM without root access

Hi all

Im a major newbie when it comes to linux, so im hoping this problem is relatively simple.
Appologies if ive posted to the wrong section, im not quite sure if this is the right place but tbh i wasnt sure where the right section would be...

Im currently trying to install a deep learning package called Caffe ( on my university's linux server (it is for a project in one of my classes, have my lecturers full knowledge and consent to do so)

Unfortunately caffe has quite a few dependencies and even worse i do not have root access so i cannot install them properly

Ive been told i have to find a way to install to local directories under my account but am not entirely sure how to go about this (spent alot of time googling with no luck)

Most of the prerequisites i need are on RPM (redhats package manager), so essentially i just need to know how to use RPM without root,

what command do i need to do this? using the website RPMFind i was able to locate some of the packages i need to install ( one of which can be found here
using info from this site, how would i go about using RPM, or is there a way to search RPM through the commandline?

the university is running redhat enterprise 6.6, if that makes a difference
Old 05-19-2015, 04:33 PM   #2
Registered: Jun 2001
Location: Grapevine, Texas
Distribution: Ubuntu 14.04, CentOS 7
Posts: 102

Rep: Reputation: 15
Do you have sudoers access? You don't need to be root to install software, if you have sudoers access. Try this:

sudo -i
Enter the password for your own username. If that logs you in, install the packages with yum.
Old 05-19-2015, 04:46 PM   #3
Senior Member
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,714

Rep: Reputation: 1280Reputation: 1280Reputation: 1280Reputation: 1280Reputation: 1280Reputation: 1280Reputation: 1280Reputation: 1280Reputation: 1280
The rpm utility has a "--root=directory" which will install to a specific directory that you may own that overrides the default install directory and should bypass the need for root access (which is also what you get with sudo...).
Old 05-19-2015, 08:04 PM   #4
John VV
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,243

Rep: Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527
be warned
using "rpm" to install the files is a ROYAL PAIN IN THE REAR END
so much so that a program called "yum" was created to do it

yum solves the prerequisite issues
with rpm YOU!!! have to manually do the work MANUALLY!!!


for CUDA

the nvidia 3d driver -- YOU MUST BE ROOT!!!!!!
no way around that
for the current RHEL 7.1
-- as root
install the nvidia repo
then install the Akmod-nvidia.rpm using yum

blas and boost
you also need to be root ( might be able to get this going as a normal user???? )
both are used by gcc in building


if you bought this then use it
if not use the GPL clone Octave
su -
yum install octave


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
RPM installation having NO root access gregpeterson Linux - Newbie 7 10-17-2009 04:57 AM
Providing access and permission to a user for installing RPM.. your_shadow03 Linux - Newbie 4 09-27-2009 08:17 AM
Installing an RPM as non-root user in $HOME priya@linux Linux - Newbie 23 07-02-2009 07:06 AM
installing an rpm as a non-root user sidra Red Hat 2 09-19-2007 03:54 PM
rpm freezes up while installing as root timberwolf Linux - Software 4 12-07-2003 06:18 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:27 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration