View Full Version : [ubuntu] need help with RPM
fmpfmpf
May 7th, 2008, 09:06 AM
hello everyone. this is my 1st Linux experience....so pls dont laugh.
My question is, how do i install the RPM?
i am using Ubuntu 7.10
i typed this in the terminal:-
sudo apt-get install rpm
and this is what i got:-
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
then i type this again:-
sudo apt-get install rpm
and the reply is:-
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package rpm is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is only available from another source
E: Package rpm has no installation candidate
i am installing drivers for a touch screen monitor.
http://www.elotouch.com/Support/Down...dnld.asp#linux
i am using the Unified_Serial_Source.zip
What should i do?
thank you in advanced
Xiong Chiamiov
May 7th, 2008, 09:14 AM
RPM is a file extension used by Red Hat for installation files. Although it is possible to install software on Ubuntu that ends in .rpm, it is not recommended. Rather, you should first look in Synaptic, then for a .deb, then compile from source. There is an excellent guide you should take a look at here (http://monkeyblog.org/ubuntu/installing/).
EDIT: And that said, there is no need to apologize. All of us were new at some time (January for me), and there are many things that are quite different than what we were used to...
seshomaru samma
May 7th, 2008, 09:16 AM
What is RPM?
Do you mean Red Hat programmes ?
You can install Red Hat software (RPMs) with Alien
sudo apt-get install alien
mapes12
May 7th, 2008, 09:17 AM
RPM is the Redhat Package Manager protocol and is not supported in Ubuntu. Redhat based distros use RPM. Ubuntu is based on Debian and uses the Aptitude protocol. Call up a terminal window: "man apt-get" for the full command switches. Either way, from your desktop: System / Administration / Synaptic Package Manager should do the job. Make sure you have all the repositories you need configured into your system.
nebu
May 7th, 2008, 09:17 AM
u can use alien to convert rpm files to deb files which work on your ubuntu system
first install alien....
$sudo apt-get update
$sudo apt-get install alienthen use alien to convert the rpm to a deb file
$sudo alien -k name-of-rpm-file.rpmthen install form the deb file...
$sudo dpkg -i name-of-deb-file.deb
kestrel1
May 7th, 2008, 09:17 AM
The only RPM I know of is an .rpm file, that are packages used to install programs on some Linux systems. Ubuntu is Debian based & uses .deb files, although you can convert .rpm's to .deb if you are unable to install the source files.
What are you actually trying to do?
warbread
May 7th, 2008, 09:18 AM
In terminal, go to the directory with the .rpm file and type:
:-$ sudo apt-get install alien
:-$ alien -d FILE.rpm
This will turn the .rpm file into a .deb file, which Ubuntu uses. It will appear in the same directory. Double click on it, or type into the terminal:
:-$ sudo dpkg -i FILE.deb
Xiong Chiamiov
May 7th, 2008, 09:20 AM
Ah no! Alien bad! Unless you have absolutely no other choice, building (preferably with checkinstall) is a much better option from what I've seen. Alien always seems to have problems.
mapes12
May 7th, 2008, 09:27 AM
I agree with Xiong Chiamiov. Don't use alien. You will screw up your system. Stay with native .deb packages from the repositories. What are you trying to install??
fmpfmpf
May 7th, 2008, 10:10 AM
ok, so how do i install this deb file?
should i tpye something like sudo apt-get install deb?
thank you
fmpfmpf
May 7th, 2008, 10:36 AM
I am using Ubuntu 7.10
i want to install some drivers, and i have obtained the drivers from the company's website.
The problem is, Ubuntu runs with .deb, but the drivers provided are .rpm
what should i do?
i have tried searching for the .deb drivers in Synamptic Package Manager, but no result
thank you very much
pedro_orange
May 7th, 2008, 10:38 AM
I am using Ubuntu 7.10
i want to install some drivers, and i have obtained the drivers from the company's website.
The problem is, Ubuntu runs with .deb, but the drivers provided are .rpm
what should i do?
i have tried searching for the .deb drivers in Synamptic Package Manager, but no result
thank you very much
What sort of drivers are we talking about here?
What hardware are we trying to install?
fmpfmpf
May 7th, 2008, 10:42 AM
i am installing drivers for a touch screen monitor.
http://www.elotouch.com/Support/Downloads/dnld.asp#linux
i am using the Unified_Serial_Source.zip
thank you
brettg
May 7th, 2008, 10:45 AM
You need to convert rpm to deb;
sudo alien --to-deb filename.rpm --scripts
If alien is not installed (it's not by default) you need to enable the multiverse repo (or maybe universe) and do;
sudo apt-get install alien
MaindotC
May 7th, 2008, 10:46 AM
If the drivers are in .rpm format you can convert them to .deb installers using a program called alien. Alien is available in the repositories. When it is installed, you should be able to extract and conver them using this thread (http://howtoforge.com/converting_rpm_to_deb_with_alien)
SupaSonic
May 7th, 2008, 10:48 AM
I think you should use this (taken from the link you gave):
Using the Linux Package Manager:
* Log in on the e-services page, then click the Download Linux Driver link to assemble and download the driver package.
It says
Pre-built binaries for popular Linux distributions.
So there's a good chance there is a deb for Ubuntu. It's definitely better than using alien.
Joeb454
May 7th, 2008, 10:49 AM
There's another thread (http://ubuntuforums.org/showthread.php?t=785123) on this - whereby people have already recommended AGAINST using Alien - it always results in issues :(
Oh and to the OP - it's against the Forum CoC (Codes of Conduct) to post duplicate threads - just a heads up)
MaindotC
May 7th, 2008, 10:50 AM
Thank you for brining this to my attention. I've never had any problems with alien.
MaindotC
May 7th, 2008, 10:54 AM
Once you have created the .deb file you can view it in a file browser, right click it, and select "open with debian package manager".
From the command prompt, you can type:
[code]
dpkg -i <filename.deb>
[code]
mapes12
May 7th, 2008, 11:50 AM
If you mean the the Synaptic Package Manager then it's already on your system: System / Administration / Synaptic Package Manager.
If you mean a specific package which one are you trying to install??
fmpfmpf
May 7th, 2008, 11:56 AM
I think you should use this (taken from the link you gave):
It says
So there's a good chance there is a deb for Ubuntu. It's definitely better than using alien.
i dont seem to able to find "Pre-built binaries for popular Linux distributions."
thank you
jong2x
May 24th, 2008, 12:40 AM
i need help with .rpm i'm using ubuntu this is my first time using linux o.s. ... i downloaded xmms but i can't change the file to .deb and i don't know what i'm doing wrong... help... thanks...
james@james-laptop:~$ sudo alien -d xmms-kde-3.1-2-redhat9.i386.rpm
[sudo] password for james:
File "xmms-kde-3.1-2-redhat9.i386.rpm" not found.
james@james-laptop:~$ sudo alien -d xmms
File "xmms" not found.
james@james-laptop:~$ sudo alien -d xmms.rpm
File "xmms.rpm" not found.
james@james-laptop:~$ sudo alien -k xmms-kde-3.1-2-RedHat9.i386.rpm
File "xmms-kde-3.1-2-RedHat9.i386.rpm" not found.
haha... it's obvious that i don't know what i'm doing haha...
brettg
May 24th, 2008, 01:37 AM
Is the rpm actually in the folder you are working in?
ls -al *rpm
If your alien command returns "File not found" then you are probably mistyping something, use wildcards to reduce this possibility
sudo alien --to-deb --scripts xmms*
Note: xmms has been undeveloped for quite some time now which is why it has been dropped from the reps. Audacious is a fork of xmms and uses many of the same skins and plugins.
sudo apt-get audacious
jong2x
May 25th, 2008, 04:09 AM
i downloaded xmms to my desktop.
i tried what you said but it's still saying file "xmms" not found
i'll try to download audacious manually
i also tried,
james@james-laptop:~$ sudo apt-get audacious
E: Invalid operation audacious
brettg
May 25th, 2008, 04:22 AM
Sorry, my bad,
sudo apt-get install audacious
That's what you get for posting late at night after imbibing a few sherberts I guess :-)
Raccoon1400
May 25th, 2008, 04:36 AM
ok, so how do i install this deb file?
should i tpye something like sudo apt-get install deb?
thank you
click on the deb file you downloaded, and then gdebi should open and let you install it. Is the package available in synaptic or add-remove programs?
to use apt-get, type
apt-get install, then the name of the program, not package format. Note: must be exact package name.
jong2x
May 25th, 2008, 04:47 AM
thanks :)
i've already installed it and found a guide how to install things
Powered by vBulletin® Version 4.2.2 Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.