LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   packages (https://www.linuxquestions.org/questions/mandriva-30/packages-640395/)

ktkps 05-06-2008 06:46 PM

packages
 
plz help!!
How do I install packages in mandriva??I've used ubuntu where there was a comprehensive package manager..but in mandriva I just see a very limited list of packages..Plz suggest some sites where I can dnld the packages for mandriva.Also help me in installing them ,I say this because
I've tried installing Azureus(torrent client)I dnlded it,istalled it,mandriva asked for root password,then I could not see the installed package.Same happened with another audio editing software(in both the installations the progress bar was not shown)

frndrfoe 05-06-2008 06:56 PM

Here is a pretty exhaustive looking get started guide for mandriva.
http://www.mandrake.tips.4.free.fr/review2006.html

otherwise you could probably use yum from the command line.
Code:

#yum list | grep package
#yum upgrade
#yum update

see 'man yum' it's an excellent tool as well

phantom_cyph 05-06-2008 08:24 PM

Or you can do:

Quote:

rpm -ivh filename.rpm

Ixthusdan 05-06-2008 09:19 PM

Please use urpmi to install software for Mandriva Linux. Configure your sources via the Mandriva Control Center or via Easy Urpmi. (Google it.) Once you have done this, You can install any software in the Mandriva repositories by simply typing as root in a shell "urpmi [package name]" urpmi will install any needed depends as well. I would not recommend using yum (SuSE) or any other distro's method, although installing via rpm will also work, but the depends will not be detected. This makes installing a program difficult. Use urpmi.

jkerr82508 05-07-2008 03:42 AM

Quote:

Originally Posted by ktkps (Post 3145083)
How do I install packages in mandriva?

Did you try "Install and Remove Software" in the Menu?


Jim

Ixthusdan 05-07-2008 07:11 AM

The gui "Install and Remove Software" is the front end for urpmi. Mandriva users must configure it (by adding repos) prior to using the tool. Otherwise, the only available resources will be from the media used to install the os.

jkerr82508 05-07-2008 07:18 AM

The first time "Install and Remove Software" (i.e. rpmdrake) is used it will offer to set up repos.

Jim

Ixthusdan 05-07-2008 11:36 AM

Yes, of course it does. But if one navigates to an Easy Urpmi mirror sight, you will also be able to utilize some good repos that are not official Mandriva repos. (Seer of Souls, MDE, or PLF sights are unofficial). The additional sights make Mandriva as robust as the best as far as installation of programs. I recommend Easy Urpmi, and I have been using Mandriva since version 7.0 back in 1999. (It was Mandrake back then)

ktkps 05-08-2008 05:57 AM

thnx guys I've configured the easy urpmi through the site and I've installed softawres....

one more thing I installed mandriva in my friend's computer,Who happens to have bought a new hard disk..mandriva is in hdd1 so it seems he is not able to access files from hdd2 how to rectify this problem??

Ixthusdan 05-08-2008 07:02 AM

You need to know some things first, like the exact bus location and the file structure on the drive. You have indicated the locations as hdd2, but that would be the second partition on the secondary slave of an IDE bus. SATA drives show up as sdxx, rather than hdxx. So, the "hd" means "hard drive," the next letter means where it is on the bus (a= primary master, b=primary slave, c=secondary master, and d=secondary slave) and finally, the number is the partition on the drive. Partitions are mounted, rather than drives. A drive can be one partition, but you are still mounting a partition.

You need to make a mount point somewhere on the tree; I recommend /mnt/whatever. So, the command to mount the first partition of a secondary slave would be "mount /dev/hdd1 /mnt/whatever". You can add this to /etc/fstab to auto mount the drive. You need to know the file system. If it is ext3, then the line would be "/dev/hdd1 /mnt/whatever ext3 auto 0 0".

I hope this is helpful, rather than confusing.


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