apt to yum - Cheat sheet - Conversion

  • apt-get install
    • yum install
  • apt-get upgrade
    • yum upgrade
  • apt-get remove
    • yum remove
  • apt-get --reinstall install
    • yum reinstall
  • apt-get install foo=1.0 (to downgrade to version 1.0)
    • yum downgrade foo-1.0
  • apt-get clean
    • yum clean
  • apt-get build-dep
    • yum-builddep
  • dpkg -l
    • yum list installed
  • apt-cache search
    • yum search
  • apt-cache search --names-only
    • yum list
    • repoquery
  • dpkg -L
    • rpm -ql
  • apt-file list
    • repoquery -l
     
    Difficult - not commonly known conversions 
  • apt-cache show
    • yum info
    • repoquery -i
  • apt-get purge
    • yum remove
  • apt-get dist-upgrade
    • yum upgrade
    • yum distro-sync
  • apt-get source
    • yumdownloader --source
  • dpkg --get-selections
    • yum-debug-dump
  • dpkg --set-selections
    • yum-debug-restore
  • dpkg -S
    • repoquery --installed -f
    • rpm -qf
  • apt-file search
    • repoquery -f
    • yum provides
    • rpm -qf
  • apt-get --simulate upgrade
    • yum check-update
    • yum --assumeno upgrade
  • apt-get --simulate install
    • yum --assumeno install
  • sbuild
    • mock

Comments

Popular posts from this blog

SOX - Sound eXchange - How to use SOX for audio processing tasks in research.

Sox of Silence - Original post - http://digitalcardboard.com/blog/2009/08/25/the-sox-of-silence/

How to get video or audio duration of a file using ffmpeg?