Git Product home page Git Product logo

debtap's Introduction

debtap

A script for converting .deb packages into Arch Linux packages, focused on accuracy

FAQ

Q: What "debtap" stands for?

A: DEB To Arch (Linux) Package

Q: Isn't better to download an official package or write a PKGBUILD in case I need to compile a package or convert a .deb package to an Arch Linux package?

A: Sure it is, and I truely encourage you to do so. Debtap was written to create packages that either cannot be compiled (closed source packages) or cannot be built from AUR for various reasons (error during compiling or unavailable files), as a quick 'n' dirty solution and an extra option for creating Arch Linux packages for Arch Linux users.

Q: So debtap will help me only in case I need to convert specific .deb packages to Arch Linux packages?

A: No. In case you need to write a new PKGBUILD for a package that already exists in the Debian/Ubuntu distributions, using parameter -p or -P it can generate a PKGBUILD and then edit it as you wish.

Q: What are the minimum requirements to run this script?

A: You need to have installed these dependencies: bash, binutils (provides ar utility for extracting .deb package and readelf), pkgfile and fakeroot.You must run at least once (preferably recently) debtap -u to create/update pkgfile and debtap database (you do this with root privileges).

Q: Debtap needs a lot of time to convert a package. So, why this is happening?

A: Like I said, debtap is focused on accuracy. It won't just unpack a .deb package and then repackage its data to an Arch Linux package, ignoring metadata. Depending on the speed of your processor and the package itself, conversion can take from a few seconds to several minutes.

Q: During conversion I get several warning messages, why?

A: Debtap cannot be 100% accurate for several reasons, the main reason for this is the complexity of packages names. If you want to check the freshly generated .PKGINFO and .INSTALL (this is optional file) metadata files or even fix the untranslated packages names inside .PKGINFO, debtap offers you the option to edit these files before compressing the final package.

Q: How do I use debtap?

A: The syntax is quite simple actually: debtap [options] package_filename For example: debtap world-of-goo-demo_1.0_i386.deb

Any recommendations or questions for debtap are welcomed!

Available options:

-h  --h  -help      --help        Prints help
-u  --u  -update    --update      Update debtap database
-q  --q  -quiet     --quiet       Bypass all questions, except for editing metadata file(s)
-Q  --Q  -Quiet     --Quiet       Bypass all questions (not recommended)
-s  --s  -pseudo    --pseudo      Create a pseudo-64-bit package from a 32-bit .deb package
-w  --w  -wipeout   --wipeout     Wipeout versions from all dependencies, conflicts etc.
-p  --p  -pkgbuild  --pkgbuild    Additionally generate a PKGBUILD file
-P  --P  -Pkgbuild  --Pkgbuild    Generate a PKGBUILD file only
-v  --v  -version   --version     Print version

debtap's People

Contributors

helixarch avatar pmav99 avatar kaqqao avatar nsajko avatar tleonardi avatar primetoxinz avatar asmolero avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.