Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi, everybody.
I've got web hosting on linux red hat platform and ssh access to it.
Want to install midnight commander on it. But I've got no root access. I've followed some instructions in web to get things done: I successfully ran rpm -i command, and now when I'm runnin ./configure script the error is thrown that I've got no glib
configure: error: Test for glib failed.
Then I've downloaded glib rpm and when running rpm -i on it I've got this error:
error: can't create transaction lock on /var/lib/rpm/__db.000
So HOW CAN I INSTALL MC WITHOUT ROOT ACCESS OR WHAT SHOULD I DO WITH THAT GLIB?
Thanks everybody in advance.
You could try Google, but I don't think you can install RPM's without root access. I think it keeps some kind of repository/database somewhere in a root-only directory that the 'rpm' command won't be able to update without the proper privileges.
You could try downloading the source code and compiling it yourself as a non-root user. You'll have to check the documentation that comes with each application to be sure you can though.
To use the package you will have to play around with LD_LIBRARY_PATH to let the
loader know where the required shared labraries are and modify your PATH to
include any required scripts and executables.
But what should I do with this:
when I'm runnin ./configure script the error is thrown that I've got no glib
configure: error: Test for glib failed.
Then I've downloaded glib rpm and when running rpm -i on it I've got this error:
error: can't create transaction lock on /var/lib/rpm/__db.000
That is actually a problem
Thanks Again
But what should I do with this:
when I'm runnin ./configure script the error is thrown that I've got no glib
configure: error: Test for glib failed.
Then I've downloaded glib rpm and when running rpm -i on it I've got this error:
error: can't create transaction lock on /var/lib/rpm/__db.000
That is actually a problem
Thanks Again
You must have root access. Period. You cannot install software without root access.
Moving on, why don't you have root access? Or do you only think you don't have root access?
I've got no root access because its only shared hosting.
Let's think deeply
1. I CAN download mc sources
2. I SHOULD HAVE ABILITY TO compile this sources
3. I CAN run mc eventually.
Yes, I cannot install rpm on the system having no root (the practice saying opposite things - I was able to run rpm -i but when running ./configure script in mc folder I've got glib error), but I definitely CAN to compile sources and run the program I've just compiled. No matter it's my own source code or just sources of mc downloaded from ftp (Am I wrong actually?).
So, I'm still seeking for the answer HOW CAN I BYPASS GLIB ERROR WHEN RUNNING ./CONFIGURE IN MC FOLDER?
Thanks everybody again.
Yes you can compile from source as a normal user,but you will still need root permission to run make install.
The following guide shows how to compile from source:
I've got no root access because its only shared hosting.
Let's think deeply
1. I CAN download mc sources
2. I SHOULD HAVE ABILITY TO compile this sources
3. I CAN run mc eventually.
Yes, I cannot install rpm on the system having no root (the practice saying opposite things - I was able to run rpm -i but when running ./configure script in mc folder I've got glib error), but I definitely CAN to compile sources and run the program I've just compiled. No matter it's my own source code or just sources of mc downloaded from ftp (Am I wrong actually?).
So, I'm still seeking for the answer HOW CAN I BYPASS GLIB ERROR WHEN RUNNING ./CONFIGURE IN MC FOLDER?
Thanks everybody again.
I guess you will need to break down and install Linux locally.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.