how to install .rpm files in linux?

  • hijibiji
  • Born
  • Born
  • hijibiji
  • Posts: 1

Post 3+ Months Ago

hi
i have mandrake linux 10 and as i am a new user of linux ,facing lots of problem regarding installation softwares in linux especially .rpm files.
can anyone help me out ?. :?: .please reply..
regards,
  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Posts: 2700
  • Loc: Somewhere outside the box in Sarasota, FL.

Post 3+ Months Ago

Type the following on the command line;

man rpm

That should give you a nice little manual page about the rpm command.

Cheers.
  • Anonymous_coward
  • Student
  • Student
  • Anonymous_coward
  • Posts: 68
  • Loc: A Cold Wet England

Post 3+ Months Ago

here's what I learnt and wrote down to be the standard install routines for rpm and tar.gz files.
you can find out what the switches mean by doing a rpm --help or tar --help from the command line.

Install a package
rpm –ivh packagename
upgrade a package
rpm –Uvh packagename

create a tar file
tar –cvf myfiles.tar mydir/
(add z if you are dealing with or creating .tgz (.tar.gz) files)

standard install from source
tar –xvzf Apackage.tar.gz
cd Apackage
./configure
make
make install


cheers

Chris
  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Posts: 2700
  • Loc: Somewhere outside the box in Sarasota, FL.

Post 3+ Months Ago

Sigh.

I thought it might be important for this person to understand the flags and their use, and not just be fed the answer.
My bad I guess.

Cheers.
  • Anonymous_coward
  • Student
  • Student
  • Anonymous_coward
  • Posts: 68
  • Loc: A Cold Wet England

Post 3+ Months Ago

sorry did'nt see your response before I posted mine, that said its probably the one area where I almost never vary the command syntax, so I just cut and pasted. I can see your point though and probably would'nt do the same for an rm question !

Chris
  • pan
  • Born
  • Born
  • pan
  • Posts: 2
  • Loc: New York

Post 3+ Months Ago

Anonymous_coward wrote:
here's what I learnt and wrote down to be the standard install routines for rpm and tar.gz files.
you can find out what the switches mean by doing a rpm --help or tar --help from the command line.

Install a package
rpm –ivh packagename
upgrade a package
rpm –Uvh packagename

create a tar file
tar –cvf myfiles.tar mydir/
(add z if you are dealing with or creating .tgz (.tar.gz) files)

standard install from source
tar –xvzf Apackage.tar.gz
cd Apackage
./configure
make
make install


cheers

Chris


Chris,
I tried to install and rpm and I got the following:

[root@localhost RPMS]# rpm -ivh linuxwacom-0.6.6-5.i386.rpm
warning: waiting for transaction lock on /var/lib/rpm/__db.000
Preparing... ########################################### [100%]
1:linuxwacom ########################################### [100%]

How can I check wether the rpm was actually installed and where?

Thanks
  • AnarchY SI
  • Web Master
  • Web Master
  • User avatar
  • Posts: 2521
  • Loc: /usr/src/MI

Post 3+ Months Ago

pan wrote:
Anonymous_coward wrote:
here's what I learnt and wrote down to be the standard install routines for rpm and tar.gz files.
you can find out what the switches mean by doing a rpm --help or tar --help from the command line.

Install a package
rpm –ivh packagename
upgrade a package
rpm –Uvh packagename

create a tar file
tar –cvf myfiles.tar mydir/
(add z if you are dealing with or creating .tgz (.tar.gz) files)

standard install from source
tar –xvzf Apackage.tar.gz
cd Apackage
./configure
make
make install


cheers

Chris


Chris,
I tried to install and rpm and I got the following:

[root@localhost RPMS]# rpm -ivh linuxwacom-0.6.6-5.i386.rpm
warning: waiting for transaction lock on /var/lib/rpm/__db.000
Preparing... ########################################### [100%]
1:linuxwacom ########################################### [100%]

How can I check wether the rpm was actually installed and where?

Thanks



Answered here
  • Bamini
  • Born
  • Born
  • Bamini
  • Posts: 4
  • Loc: India

Post 3+ Months Ago

Try this command !

rpm -qa <rpm name> or if u don't know the exact rpm name
for examble if its hotrod-1.0-1.i386.rpm u can give as
rpm -qa | grep hotrod
this will list out all the installed rpm's.

Post Information

  • Total Posts in this topic: 8 posts
  • Users browsing this forum: No registered users and 55 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.