Install Cmake (Distr Centos 5)
I am trying to install cmake but got problem.
Have in my tmp directory this file; cmake-2.6.4-7.el5.i386.rpm (and when use putty it is shown in red color) When using command; Quote:
Quote:
Quote:
Do I have wrong ".rpm" file or how can I get "public key"? |
Welcome to LQ.
Simply .. # yum localinstall --nogpgcheck cmake-2.6.4-7.el5.i386.rpm Or : # rpm -Uvh cmake-2.6.4-7.el5.i386.rpm |
Quote:
Quote:
Quote:
Maybe this rpm-file is corrupt? Have now found other cmake; cmake-2.6.4-5.el5.2.src.rpm and cmake-2.6.4-5.el5.2.i386.rpm Anyone of these you would recomend? |
Quote:
What about install with a file such as; cmake-2.6.0-Linux-i386.tar.gz Please advise were to put file and what command to use? |
Filen eller katalogen finns inte : No such file or directory.
You are simply in the wrong location. Then the first command is always: pwd. I.e. you can't install a file hidden away in another directory without doing "the second command" : cd <path-to-where-I-have-the-file>/ The terminal opens in /home/<user-name>/ (usually.) If the "target" is in Download/ , then : cd Download/ , if it's on the Desktop : cd Desktop/ Now you can do # <install-command> |
OK, I saw now I stood in bin directory when trying.
the RPM file is in tmp-directory Changed and now got following; Quote:
Also would like to have libusb libssl libssl-dev Any suggestion were to find? |
Generally : CentOS 5.6 packages are here
http://mirror.centos.org/centos/5.6/os/i386/CentOS/ Updates : http://mirror.centos.org/centos/5.6/updates/i386/RPMS/ EPEL, Extra Packges for Enterprise Linux http://download.fedora.redhat.com/pub/epel/5/i386/ The EPEL cmake-2.6.4-5.el5.2.i386.rpm : http://download.fedora.redhat.com/pu...el5.2.i386.rpm The cmake-2.6.4-7el5.i386.rpm you got, is an ATrpms package. (A corrupt package?) Not necessarily recommended. I don't use any "ATrpms". "cmake-2.6.4-5.el5.2.i386.rpm" is the CentOS system package. The cmake-2.6.4-5.el5.2.src.rpm is source code, hence SRC. May be you don't have an i386 OS = 32 bits ? The command 'uname -a' will show. 64bits, x86_64 http://mirror.centos.org/centos/5.6/os/x86_64/CentOS/ Updates 64bits http://mirror.centos.org/centos/5.6/...s/x86_64/RPMS/ EPEL 64bits http://download.fedora.redhat.com/pub/epel/5/x86_64/ → cmake-2.6.4-5.el5.2.x86_64.rpm |
Quote:
Linux system.clarkconnect.lan 2.6.18-128.2.16.v5 #1 SMP Mon Jul 6 11:29:03 EDT 2009 i686 i686 i386 GNU/Linux I asume it is 32-bit? Now I have tested once more, this is the result; Quote:
Thanks a lot "knudfl" for your helping advises! |
|
And now to next problem, or do I keep on as for cmake?
Quote:
|
why is it people tend to make a very simple thing very complicated
it is best and RECOMMENDED to install programs using "yum" a local install using rpm will NOT add it to the list of installed program in the OS database and therefor will NOT be listed as installed .The OS will NOT know about it . If you are going to use the ATrpm repo - then you ONLY use atrpm - it is incompatible with the rest set up and use the cent extras and RPMForge see the Wiki: http://wiki.centos.org/AdditionalResources/Repositories now VERY important install AND USE "yum-Priorities" plugin AND set it's values ?? cent.reop set to 1 cent-update set to 1 cent-extras set to 2 RPMForge set to 3 adobe.repo set to 4 the lower the number the HIGHER the Priority not everything is 100% compatible so READ and FALLOW all warnings ! these will be added as dependencies libusb libssl libssl-dev to the command Code:
su - this will be done AUTOMATICALLY if needed . |
Quote:
Typical when learning some new, the more info you get, more questions you have... Now I have more questions. I have looked into http://wiki.centos.org/AdditionalResources/Repositories and also installed rpmforge-release-0.5.2-2.el5.rf.i386.rpm But then I don't understand how to Quote:
Quote:
When I used your command in the end I got: Quote:
And what I need most now is to get libusb to work? |
rpm -qa cmake : Will show the installed 'cmake' package.
rpm -qa | grep libusb : To know, if you remembered to install 'libusb-devel' |
Quote:
Code:
[root@system ~]# rpm -qa cmake But then: What command/button to use for the vertical line between -qa and grep Quote:
I wrote: Code:
rpm -qa libusb Code:
libusb-0.1.12-5.1 Code:
[root@system build]# cmake .WEBIF=1 .. This is what I get; Code:
[root@system tmp]# yum install libusb-devel-0.1.12-5.1.i386.rpm Quote:
|
you ran configure
did you build the program ???????? Quote:
i see NO evidence that you tried ? there is NO error? no nothing ! |
All times are GMT -5. The time now is 04:27 PM. |