LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-01-2013, 08:43 AM   #1
pracovniksqs
LQ Newbie
 
Registered: Mar 2013
Posts: 1

Rep: Reputation: Disabled
Smile rpm step by step


For running serial port communication in my perl script I need to install the perl module perl-Device-SerialPort.
I tried to use rpm for installation.
First I downloaded ...src.rpm file.
Switched to root (su) and rpm -ivh ...src.rpm
Warning came about header signature NOKAY
then one line with ############### [100%]
But when I checked the instalation with
rpm -qa | grep .*erial.*
I have obtained the list of installed modules which
didn't contain any item with the word serial or Serial.
What is wrong (besides my head, of course https://lqo-thequestionsnetw.netdna-...lq/icon7.gif)?
 
Old 03-01-2013, 10:22 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967
"src" means "source code". All you've actually done there in update the raw source code, it's not in any usable state. Avoid src rpm's they are *never* the right one unless you already know it is. Just go find an i386 / i686 / x86_64 / noarch equivalent and do the same thing again.
 
Old 03-01-2013, 10:29 AM   #3
suicidaleggroll
Senior Member
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 3,136

Rep: Reputation: 1103Reputation: 1103Reputation: 1103Reputation: 1103Reputation: 1103Reputation: 1103Reputation: 1103Reputation: 1103Reputation: 1103
What distro are you using? Why not use use the package manager to download/install it?

On OpenSUSE:
Code:
zypper in perl-Device-SerialPort
On RHEL/CentOS/SL:
Code:
yum install perl-Device-SerialPort

Last edited by suicidaleggroll; 03-01-2013 at 10:31 AM.
 
Old 03-01-2013, 10:31 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967
Quote:
Originally Posted by suicidaleggroll View Post
What distro are you using? Why not use use the package manager to download/install it?
it looked too obscure to find in a repo, but actually I do see it on repoforge, and rawhide.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Step-By-Step Instruction to install Linksys WPC11 Ver.4 Wireless Card Zypher Linux - Hardware 8 08-12-2009 11:43 AM
Install Netgear wg311v wireless card on Fedora Core 6 (step by step help thanks!) jpop Linux - Hardware 1 03-07-2007 01:16 PM
LXer: Easy step-by-step guide for incorporating SVG into Web pages LXer Syndicated Linux News 0 07-29-2006 01:54 PM
Step-by-Step: Making integrated Broadcome wireless adapter work with Mandrake 9.2 jmp875 Linux - Wireless Networking 16 06-30-2004 01:50 AM


All times are GMT -5. The time now is 11:17 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration