Urpmi to pacman

Well it is a family: Mandriva Mageia ROSA Unity PCLOS. Brothers and sisters living together in perfect harmony - so it deserved som space of its own.

Moderators: b1o, jkerr82508

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Urpmi to pacman

Postby viking60 » 07 Apr 2013, 13:42

I have amused myself with comparing urpmi to pacman. Not that I want to start a "best in show" contest :hand: But simply to compare the functionality. This is not all that easy because I cannot remember the equivalent to pacman -Qi foo for urpmi etc...
(feel free to help me).
I the end this could be a useful place to start for urpmi users that try Arch or Manjaro for the first time. If you make an alias out of it you will feel right at home.
Mandrivas urpm

urpmi foo
urpme foo
urpmi --auto-update
urpmq --auto-orphans
urpme --auto-orphans
urpmq -i some_program and urpmq --requires-recursive foo
urpmq --list
Arch's pacman

pacman -S foo
pacman -R foo
pacman -Syu
pacman -Qtdg
pacman -Rs $(pacman -Qqdt)
pacman -Qi some_program
pacman -Sl

For the eager helpers:
pacman -Qi pacman gives the the folowing output for pacman with dependencies and all

Code: Select all

[thomas@manjaro Skrivebord]$ pacman -Qi pacman
Navn           : pacman
Versjon        : 4.0.3-16
URL            : http://www.archlinux.org/pacman/
Lisenser       : GPL
Grupper        : base  base-devel
Inneholder     : Ingen
Avhenger av    : bash  glibc>=2.15  libarchive>=3.1.2  curl>=7.19.4  gpgme
                 pacman-mirrorlist  archlinux-keyring  manjaro-keyring
Valgfrie avhengigheter : fakeroot: for makepkg usage as normal user
Behøves av     : expac  manjaro-system  package-query  pacmanxg4-bin  pyalpm
                 yaourt
I konflikt med : Ingen
Erstatter      : Ingen
Installert størrelse : 3628,00 KiB
Innpakker         : Philip Müller <philm[at]manjaro[dot]org>
Arkitektur        : x86_64
Pakkedato         : ma. 04. mars 2013 kl. 13.10 +0100
Installasjonsdato : on. 03. april 2013 kl. 19.06 +0200
Installasjonsgrunn : Manuelt installert
Installeringsskript : Ja
Beskrivelse    : A library-based package manager with dependency support
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
rolf
Guru-Berserk
Posts: 1107
Joined: 16 Mar 2010, 16:07

Re: Urpmi to pacman

Postby rolf » 07 Apr 2013, 16:26

I'd use two separate urpmq switches for package information and dependencies. If you combine them, it gets quite lengthy :)

Code: Select all

[rolf@localhost ~]$ urpmq -i urpmi
Name        : urpmi
Version     : 6.71
Release     : 8
Group       : System/Configuration/Packaging
Size        : 3554833                      Architecture: noarch
Source RPM  : urpmi-6.71-8.src.rpm
URL         : http://wiki.mandriva.com/en/Tools/urpmi
Summary     : Command-line software installation tools
Description :
urpmi is ROSA Linux's console-based software installation tool. You can
use it to install software from the console in the same way as you use the
graphical Install Software tool (rpmdrake) to install software from the
desktop. urpmi will follow package dependencies -- in other words, it will
install all the other software required by the software you ask it to
install -- and it's capable of obtaining packages from a variety of media,
including the ROSA Linux installation DVD, your local hard disk,
and remote sources such as web or FTP sites.


Code: Select all

[rolf@localhost ~]$ urpmq --requires-recursive urpmi
aria2
augeas-lenses
bash
chkconfig
coreutils
coreutils-doc
cpio
db52-utils
db52_recover
file
findutils
gawk
genhdlist2
glibc
gnupg
grep
gzip
html2text
less
lib64acl1
lib64attr1
lib64audit1
lib64augeas0
lib64beecrypt7
lib64blkid1
lib64bzip2_1
lib64cap2
lib64cares2
lib64cpuinfo1
lib64curl4
lib64db5.2
lib64dbsql5.2
lib64dbus-1_3
lib64elf1
lib64expat1
lib64ext2fs2
lib64fa1
lib64ffi5
lib64freebl3|bluegriffon
lib64gcc1
lib64gcrypt11
lib64gdbm4
lib64glib2.0_0
lib64gmodule2.0_0
lib64gmp10
lib64gnutls28
lib64gobject2.0_0
lib64gomp1
lib64gpg-error0
lib64gssapi_krb5_2
lib64hogweed2
lib64idn11
lib64k5crypto3
lib64keyutils1
lib64krb5_3
lib64krb5support0
lib64ldap2.4_2
lib64lzma5
lib64magic1
lib64ncurses5
lib64ncursesw5
lib64neon0.27
lib64nettle4
lib64openssl1.0.0
lib64ossp-uuid16
lib64p11-kit0
lib64pam0
lib64pam_misc0
lib64pcre1
lib64pcreposix1
lib64popt0
lib64pth20
lib64readline6
lib64rpm5.4
lib64sasl2
lib64sigsegv2
lib64sqlite3_0
lib64ssh2_1
lib64stdc++6
lib64syck0
lib64systemd-daemon0
lib64tasn1_3
lib64tcb0
lib64termcap2
lib64uClibc0.9.33
lib64usb-compat0.1_4
lib64usbx1.0_0|lib64usb1.0_0
lib64user1
lib64uuid1
lib64xml2_2
lib64z1
libgpg-error-common
meta-task
ncurses
openldap
perl
perl-Archive-Extract
perl-Archive-Tar
perl-CGI
perl-CPANPLUS
perl-CPANPLUS-Dist-Build
perl-Config-IniFiles
perl-DBD-SQLite
perl-DBI
perl-DBIx-Simple
perl-Digest-SHA
perl-ExtUtils-CBuilder
perl-Filesys-Df
perl-Hal-Cdroms
perl-Locale-gettext
perl-MDV-Distribconf
perl-MDV-Packdrakeng
perl-Module-Build
perl-Module-CoreList
perl-Module-Signature
perl-Net-DBus
perl-Term-ReadKey
perl-Time-Piece
perl-Time-ZoneInfo
perl-URPM
perl-XML-LibXML
perl-XML-NamespaceSupport
perl-XML-Parser
perl-XML-SAX
perl-XML-SAX-Base
perl-XML-Twig
perl-base
popt-data
rmt
rootcerts
rpm
rpm-helper
setup
shadow-conv
shadow-utils
systemd-units
uClibc
update-alternatives
urpmi
usermode-consoleonly
wget|aria2|curl


The Mandrake-developed urpm* tools provide the functionality of rpm, with some +/-, the major enhancement of urpm* being that uninstalled packages in configured repos can be queried(installed), as well, where rpm requires a package be installed or that full path to a package be provided.
So, man rpm and man urpm* are both handy resources for understanding rpm.

http://www.rpm.org/max-rpm/
http://www.rpm.org/

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Urpmi to pacman

Postby viking60 » 07 Apr 2013, 21:03

Thanks I'll add it above. I kind of had a feeling that it would be something lengthy. And yes man is my friend..
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Urpmi to pacman

Postby viking60 » 08 Apr 2013, 10:22

I guess that covers the most used , if you want them compared to yum and apt-get you can have a look here
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"


Return to “The Mandriva family”