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.
[root@system bin]# yum localinstall --nogpgcheck cmake-2.6.4-7el5.i386.rpm
Loading "protect-packages" plugin
Setting up Local Package Process
base-kernels | 951 B 00:00
base-updates | 951 B 00:00
centos-updates | 951 B 00:00
centos-os | 951 B 00:00
base-supplements | 951 B 00:00
base-os | 1.1 kB 00:00
Cannot open file: cmake-2.6.4-7el5.i386.rpm. Skipping.
Nothing to do
When trying the second advice I got;
Quote:
[root@system bin]# rpm -Uvh cmake-2.6.4-7el5.i386.rpm
fel: misslyckades med att öppna cmake-2.6.4-7el5.i386.rpm: Filen eller katalogen finns inte
[root@system bin]#
It is in swedish; "Failed to open "cmake..." file or map do no exist.
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?
Last edited by Tobbe54; 04-10-2011 at 03:10 PM.
Reason: More info..
OK, I saw now I stood in bin directory when trying.
the RPM file is in tmp-directory
Changed and now got following;
Quote:
[root@system tmp]# yum localinstall --nogpgcheck cmake-2.6.4-7el5.i386.rpm
Loading "protect-packages" plugin
Setting up Local Package Process
Cannot open file: cmake-2.6.4-7el5.i386.rpm. Skipping.
Nothing to do
Total download size: 19 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: cmake ######################### [1/1]
Installed: cmake.i386 0:2.6.4-5.el5.2
Complete!
YEES!! It worked now! Or? How would I test this funktion?
Thanks a lot "knudfl" for your helping advises!
Last edited by Tobbe54; 04-11-2011 at 04:41 PM.
Reason: Succeded!
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 -
yum install cmake
if needed
this will be done AUTOMATICALLY if needed .
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 .
Thanks for your answer, as newbee on Linux it is very much I don't know about.
Typical when learning some new, the more info you get, more questions you have...
Now I have more questions.
But then: What command/button to use for the vertical line between -qa and grep
Quote:
-qa | grep
rpm -qa | grep libusb :
I wrote:
Code:
rpm -qa libusb
And got;
Code:
libusb-0.1.12-5.1
Seems to be installed, but when I do the cmake the system don't "feel" libusb, looks like this;
Code:
[root@system build]# cmake .WEBIF=1 ..
-- pthread found. Adding pthread support
-- librt found (needed by libusb).
-- no libusb 1.0 found. No smartreader support
--
-- operating system: Linux
-- system type: i686-pc-linux
-- system: linux
-- cpu: i686
-- hw: pc
-- use system aes functions
-- use system sha functions
-- use system pthread functions
-- web interface enabled
--
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/src/oscama/oscam-svn/build
Maybe the libusb-devel is not working?
This is what I get;
Code:
[root@system tmp]# yum install libusb-devel-0.1.12-5.1.i386.rpm
Loading "protect-packages" plugin
Setting up Install Process
Parsing package install arguments
Examining libusb-devel-0.1.12-5.1.i386.rpm: libusb-devel - 0.1.12-5.1.i386
libusb-devel-0.1.12-5.1.i386.rpm: does not update installed package.
Nothing to do
I was worried when I received "John VV";s answer;
Quote:
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
But what about the two above rpm;s are they dangerous? Not working? Also what about that "The OS will not know about it"?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.