How to install .rpm package.

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
mipcar

How to install .rpm package.

Post by mipcar »

Hi,
I've looked in tutorials and on here without success so I'll ask specifically.

My problem:
I downloaded from a Japanese site drivers for my Canon printer.
They have saved ( I assume successfully) on my desktop. Now I need someone to step me through the process of opening and installing them.
I've tried looking in software manager and package manager (used both for installing from Linux site) but cannot work out how to use them to open and install this driver.

Help please.

Mychael
proxima_centauri

Re: How to install .rpm package.

Post by proxima_centauri »

Install the program "alien" in Synaptic.
Then in terminal

Code: Select all

sudo alien -d *.rpm
where * is the name of the package.
mipcar

Re: How to install .rpm package.

Post by mipcar »

Thanks but that does not work.. It says it cannot find the .rpm file... It's on my desktop.

I've posted a similar question in Newbies suppliing more information about what I have tried, maybe you might get an idea for me from reading that.

Mychael
Fred

Re: How to install .rpm package.

Post by Fred »

mipcar,

cd /home/fred/Desktop

then

sudo alien -d *.rpm

Fred
mipcar

Re: How to install .rpm package.

Post by mipcar »

Thanks, that worked up to a point.. Bash commands worked in terminal... the sudo -d command was accepted but nothing seems to have happened beyond that.

Mychael
User avatar
merlwiz79
Level 8
Level 8
Posts: 2418
Joined: Wed Apr 04, 2007 1:50 pm
Location: Here again :)

Re: How to install .rpm package.

Post by merlwiz79 »

I always just converted it to a debian package to install.

Code: Select all

sudo alien -k --scripts <file name>.rpm
Image
mipcar

Re: How to install .rpm package.

Post by mipcar »

Again,
Command string works, as in doesn't say invalid command or anything like that, just does nothing that I can see.

Mychael
Fred

Re: How to install .rpm package.

Post by Fred »

mipcar,

Alien isn't 100%. What merlwiz79 said should work. It could be that rpm file won't work on a Debian based system. But I haven't checked into it.

Fred
mipcar

Re: How to install .rpm package.

Post by mipcar »

Well thanks for the help anyway guys.

Mychael
User avatar
merlwiz79
Level 8
Level 8
Posts: 2418
Joined: Wed Apr 04, 2007 1:50 pm
Location: Here again :)

Re: How to install .rpm package.

Post by merlwiz79 »

Got a link to the rpm?
Maybe it was just a corrupt download.
Image
mipcar

Re: How to install .rpm package.

Post by mipcar »

merlwiz79 wrote:Got a link to the rpm?
Maybe it was just a corrupt download.
I'll try to track it down.. It was a site in mainly Japanese.

Would it have any effect if I saved it somewhere other then desktop?

Mychael
gnfpt

Re: How to install .rpm package.

Post by gnfpt »

Hello,

alien (sudo alien -d --script packagename.rpm) will only convert the .rpm to a .deb.
To install the package you should do: sudo dpkg -i packagename.deb.

~/gnf.pt
proxima_centauri

Re: How to install .rpm package.

Post by proxima_centauri »

necrobump. topic locked.
Locked

Return to “Software & Applications”