LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 06-30-2007, 03:45 AM   #1
Instantly
Member
 
Registered: Dec 2004
Posts: 78

Rep: Reputation: 15
RPM package File


I downloaded an RMP package file...
how can I install it?

I tired
sudo apt-get install /home/user/Desktop/packagename.rpm

but it shows:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package

how can I install it?
 
Old 06-30-2007, 05:37 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
You downloaded the wrong type of file. Maybe "alien" would work to convert it to a debian file. You could put your distribution in your profile.
 
Old 06-30-2007, 12:54 PM   #3
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,692
Blog Entries: 9

Rep: Reputation: 45
Quote:
Originally Posted by Instantly
I downloaded an RMP package file...
how can I install it?

I tired
sudo apt-get install /home/user/Desktop/packagename.rpm

but it shows:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package

how can I install it?
If you have a debian based distro, then you will be needing to use .deb files, .rpm is for RPM based systems like Mandriva, fedora, SuSE etc etc.

So, with that in mind, if you don't have aptitude or synaptic or similar installed, you'd open a terminal window and do
Code:
sudo apt-get install packagename
You would only include the "sudo" bit if you use sudo i.e. the "*buntus" use sudo as standard. Erm if you're not quite sure about the package name then you can also do
Code:
apt-cache search packagename
invariably the resultant list will be longer than you expect but as it gives packagenames and descriptions, you should be able to easily identify what the package name is that you're actually looking for.

regards

John
 
  


Reply



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
Get rpm package file list and config informations tobiasw Linux - Newbie 1 10-22-2006 05:39 PM
Removing an RPM package from within another RPM package jimwelc Linux - Software 7 05-12-2006 02:13 PM
RPM: How do you extract just one file from the package? Thetargos Fedora 4 07-17-2004 03:03 AM
How to add a file to an existing rpm package SharpyWarpy Linux - Software 3 06-20-2004 05:59 AM
can reinstall the rpm package without delete the rpm package eye Red Hat 1 10-20-2003 07:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:58 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration