Changes between Version 1 and Version 2 of apt2yum

Show
Ignore:
Author:
james (IP: 65.172.155.230)
Timestamp:
08/30/11 20:45:53 (6 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • apt2yum

    v1 v2  
    3131 * apt-get build-dep 
    3232   * yum-builddep 
     33 * dpkg -l 
     34   * yum list installed 
     35 * apt-cache search 
     36   * yum search 
     37 * apt-cache search --names-only 
     38   * yum list 
     39   * repoquery 
    3340 
    3441== Not so simple conversions == 
    3542 
    36 These are "similar", but there are some differences in how they act. 
     43These are "similar" operations, but there are some differences in how they act. 
    3744 
    3845 * apt-cache show 
    4653 * apt-get source 
    4754   * yumdownloader --source 
     55 * dpkg --get-selections 
     56   * yum-debug-dump 
     57 * dpkg --set-selections 
     58   * yum-debug-restore 
    4859 
     60== Groups of packages == 
    4961 
     62In apt there is no concept of "groups", where as yum has this concept via. "yum group". 
     63 
     64In both apt and yum you can create/use a "metapackage", which is a package which contains no data but has dependency information (normally requires on other packages). These metapackages are used in both apt and yum managed distributions to make installation simpler (Eg. xorg-x11-drivers and xserver-xorg-video-all). 
     65 
     66Due to the lack of groups in apt metapackages are sometimes created/used with apt where a group is used in yum (Eg. @buildsys-build and build-essential). yum has specific commands which can operate on a "group id" or a translated "group name", "yum group install" "yum group remove" etc. Also the main commands can operate on groups via. the @ prefix "yum install @core" etc. 
     67 
     68---- 
    5069[1] apt-cache dump | egrep "^Package" | wc -l 
     70 
    5171[2] apt-cache show ".*" | fgrep "^Provides" | tr , '\n' | wc -l