LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 05-19-2015, 02:29 AM   #1
beba
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 (http://caffe.berkeleyvision.org/inst...#prerequisites) 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 http://www.rpmfind.net//linux/RPM/fe....fc23.src.html)
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, 03:33 PM   #2
kc5hwb
Member
 
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:

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

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
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, 07:04 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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!!!

from
http://caffe.berkeleyvision.org/inst...#prerequisites

well
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


MATLAB

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


Reply



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 03:57 AM
Providing access and permission to a user for installing RPM.. your_shadow03 Linux - Newbie 4 09-27-2009 07:17 AM
Installing an RPM as non-root user in $HOME priya@linux Linux - Newbie 23 07-02-2009 06:06 AM
installing an rpm as a non-root user sidra Red Hat 2 09-19-2007 02:54 PM
rpm freezes up while installing as root timberwolf Linux - Software 4 12-07-2003 05:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:07 AM.

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