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.
I am begining to understand now how Linux works with installing programs.
I have gotten the hang of RPM (easy ), but I can't do the other type (./configure, make, make install)
I have tried to ./configure many applications and they have all failed. For example, I downloaded Xine (DVD Player). It was a tar.gz file. I extracted it (on my desktop, that's where I downloaded it to), opened up my console, typed cd (directory). I then typed ./configure. That seemed to go ok. I then did make which took forEVER. Once that was finally done, I typed make install and it came up with this:
Code:
meo@OUROWNNW1:~/Desktop/xine-lib-1.1.1/xine-lib-1.1.1> make install
Making install in doc
make[1]: Entering directory `/home/meo/Desktop/xine-lib-1.1.1/xine-lib-1.1.1/doc'
Making install in man
make[2]: Entering directory `/home/meo/Desktop/xine-lib-1.1.1/xine-lib-1.1.1/doc/man'
Making install in en
make[3]: Entering directory `/home/meo/Desktop/xine-lib-1.1.1/xine-lib-1.1.1/doc/man/en'
make[4]: Entering directory `/home/meo/Desktop/xine-lib-1.1.1/xine-lib-1.1.1/doc/man/en'
make[4]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/man/man1" || mkdir -p -- "/usr/local/man/man1"
/usr/bin/install -c -m 644 './xine-config.1' '/usr/local/man/man1/xine-config.1'
/usr/bin/install: cannot create regular file `/usr/local/man/man1/xine-config.1': Permission denied
make[4]: *** [install-man1] Error 1
make[4]: Leaving directory `/home/meo/Desktop/xine-lib-1.1.1/xine-lib-1.1.1/doc/man/en'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory `/home/meo/Desktop/xine-lib-1.1.1/xine-lib-1.1.1/doc/man/en'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/meo/Desktop/xine-lib-1.1.1/xine-lib-1.1.1/doc/man'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/meo/Desktop/xine-lib-1.1.1/xine-lib-1.1.1/doc'
make: *** [install-recursive] Error 1
meo@OUROWNNW1:~/Desktop/xine-lib-1.1.1/xine-lib-1.1.1>
What is wrong, why does this come up on EVER PROGRAM i try to install and finally, how do I fix the problem?
Also, how do I view installed programs? I have Suse 10 KDE.
The reason behind this is that a program, when it's installed, is installed in the system folders, and as a single user you don't have access to those folders - for obvious security reasons.
With su (=superuser, i.e. root), you have root priviledge... but only log in as root when it's necessary, don't you even try to do the "./configure" and "make" steps as root, do them as simple user. You can enter "exit" to become simple user again in a root console.
That should have installed the program in "bash" : bash is, so to say, a home of all program and script shortcuts. It's located in /usr/local/bin/ and /bin/. This way, you can run any program listed in those folders, from any folder with any user. If you have had xine installed, i'd bet that there's now a xine script in /usr/local/bin. Anyway, to make things simple, open a console and run "xine", you'll see if something starts running
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.