Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
M

mew

> 编程语言
Open source

Package Manager Translator

1.5K stars0 likes1 views
WebsiteGitHub

About

Package Manager Translator

Mew

package manager translator

Any package manager command on any distro

How to install

  • clone https://github.com/fossasia/mew.git
  • cd mew
  • ./mew
Arch pacman Q Qc Qi Ql Qm Qo Qp Qs Qu Rn Rns Rs S Sc/Scc Si Sii Sl Ss Syu Sw Sy U
Debian / Ubuntu apt / apt-get dpkg -l changelog dpkg -s / aptitude show dpkg -L aptitude purge '~o' dpkg -S / dlocate dpkg -I aptitude search '~i(~n $name|~d $description)' apt-get upgrade -> n apt remove apt install --reinstall apt autoclean/ apt clean apt-cache show / aptitude show apt-cache rdepends / aptitude search ~D$pattern apt-cache dumpavail apt-cache dump (Cache only) apt-cache pkgnames apt search apt update && apt upgrade apt install --download-only (into the package cache) apt download (bypass the package cache) apt-get update apt install
Red Hat / Fedora dnf/rpm qa -q --changelog qi ql package-cleanup --orphans rpm -qf (installed only) or dnf provides (everything) rpm -qp rpm -qa '*<str>*' dnf list updates, dnf check-update dnf remove dnf reinstall dnf clean all dnf info dnf repoquery --alldeps --whatrequires dnf list available dnf search dnf upgrade dnf download dnf clean expire-cache && dnf check-update dnf install
SLES/openSUSE zypper/rpm search -s/ qa -q --changelog info/qi ql zypper search -f zypper list-updates zypper patch-check (just for patches) zypper remove / zypper rm zypper install --force zypper clean zypper info zypper search --requires zypper packages zypper search zypper se [-s] zypper update zypper up zypper --download-only zypper refresh zypper ref zypper in
Gentoo emerge/equery -e world changes -f -pv and -S files equery belongs eix -S -I emerge -uDNp world emerge -C emerge -1O eclean distfiles emerge -pv and emerge -S equery depends emerge -ep world emerge -S emerge -u world emerge --fetchonly emerge --sync;layman -S emerge

Adding Packages to Mew

To create a Package Manager's data follow these steps:

  • Create a {{Package Manager}}.json file.
  • The Package Manager can be any out of ['apt-get','apt','pacman','dnf','rpm','zypper','emerge','equery']
  • Add relevant data for distros ['debian','ubuntu','redhat','fedora','sles','opensuse','gentoo']
  • Now add data to the JSON file
    javascript
    {
        "command_1" : {
            "distro_1" : "translated command_1 in distro_1",
            "distro_2" : "translated command_1 in distro_2",
            .
            .
        },
        "command_2" : {
            "distro_1" : "translated command_2 in distro_1",
            "distro_2" : "translated command_2 in distro_2",
            .
            .
        },
        .
        .
        .
    }
  • Save the {{Package Manager}}.json file into `data' folder.
  • Done

Issues· 6 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Python

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言