Install Debian packages on Arch Linux with Debtap

In SEO & WEB
January 23, 2022
Install Debian packages on Arch Linux with Debtap

Install Debian packages on Arch Linux with Debtap

Are you trying to urge an app performing on Arch Linux or Manjaro but can’t find it within the official software repos or maybe the AUR? Try Debtap. It’s an automatic tool that may decompile DEB packages and convert them to native Arch Linux packages.

 Debtap is experimental software. Packages that are converted with this tool might not always work. Use Debtap at your own risk!

Installing Debtap on Arch Linux and Manjaro
Debtap doesn’t include Arch Linux or Manjaro out of the box. However, it’s possible to urge this program to work quite quickly. to start out the installation process for Debtap, open up a terminal window. Unsure about a way to open up a terminal window on the desktop? Press Ctrl + Alt + T. Alternatively, you’ll be able to launch the terminal window by attempting to find “Terminal” within the app menu and launching it that way.

With the terminal window open and prepared to use, you need to install the Trizen AUR helper. This program automates the installation of AUR packages. Unfortunately, Debtap is within the AUR, so Trizen must grasp working easily.

  • To install the Trizen tool, start by fixing the “git” and “base-devel” packages.

sudo pacman -S base-devel git

  • Once the 2 packages are founded, run the git clone command and download the newest Trizen AUR snapshot.

git clone https://aur.archlinux.org/trizen.git
Next, install the software.

cd trizen/

makepkg -sri

  • With the Trizen AUR application founded, you’ll use it to line up the Debtap application using the trizen -S command.

Configuring Debtap
The Debtap application must be configured on your Arch Linux (or Manjaro) system before attempting to use it. Configuring Debtap is simple. To do it, you’ll run the debtap -u command as root.

What is the debtap -u command? Simply put, it updates the Debtap databases so it can more easily take Debian packages and convert them to Arch Linux packages. To update the databases on your system, launch a terminal and run the command below.

sudo debtap -u
After running the command above, Debtap is able to use. However, if you would like to find out more advanced Debtap configurations, consider running the debtap –help command within the terminal.

Using Debtap to get an Arch Linux package
Debtap is a superb tool that Arch Linux (and Manjaro) users can use once they cannot find an application within the official Arch Linux repos or the AUR. To use this program, you’ll need a terminal window.

Open up a terminal window on the desktop by pressing Ctrl + Alt + T on the keyboard. Or by looking for “Terminal” within the app menu and launching it that way. When the terminal window is open, use the CD command and move to the “Downloads” directory. Now that your terminal is open within the “Downloads” folder download the DEB package you wish to convert using your applications program. When the download is complete, use the debtap command to start the conversion process.

debtap name-of-your-deb-package.deb

Installing generated Arch Linux packages
After generating the package with the Debtap app, you’ll install the generated package on your Arch Linux system. to begin the installation, make sure you have the terminal window open and prepared to use.

With the terminal window open, use the CD command and go to the directory where your package was generated. From here, use the Pacman -U command to put in the generated Arch Linux package onto your computer.

sudo pacman -U name-of-package.pkg.tar.zst

Arch Linux will ask you to enter your password upon entering the command above. Using the keyboard, enter your password. After entering your password, Arch Linux will ask you to press the Y key to continue with the installation.

Using Debtap to get a PKGBUILD
While Debtap is usually accustomed generate an installable Arch Linux package, it may also create a PKGBUILD file. PKGBUILD files are automated build scripts that are uploaded to the AUR.

You must only use the PKGBUILD function if you understand how PKGBUILDs work on Arch Linux and understand a way to edit them.

To generate a PKGBUILD with Debtap, start out with the downloaded DEB package. Then, run the debtap command to come up with the PKGBUILD file. Once editing is complete, you’ll have your generated DEB package.

debtap -P NAME_OF_DEB_PACKAGE.deb

Installing packages with Debtap PKGBUILD files
Installing Debtap generated PKGBUILD files works similar to installing PKGBUILD files downloaded from the AUR. To install, open up a terminal and run the makepkg -Sri command within the directory where the PKGBUILD file is found.

makepkg -sri

 

ڈیب ٹیپ کے ساتھ آرک لینکس پر ڈیبین پیکجز انسٹال کریں۔

کیا آپ آرک لینکس یا منجارو پر کام کرنے والی ایپ حاصل کرنے کی کوشش کر رہے ہیں لیکن اسے آفیشل سافٹ ویئر ریپوز یا یہاں تک کہ اے یو آر میں نہیں مل پا رہے ہیں؟ ڈیبٹیپ کو آزمائیں۔ یہ ایک خودکار ٹول ہے جو ڈی ای بی پیکجوں کو ڈی کمپائل کر سکتا ہے اور انہیں مقامی آرک لینکس پیکجوں میں تبدیل کر سکتا ہے۔

نوٹ :ڈیبٹیپ تجرباتی سافٹ ویئر ہے۔ اس ٹول کے ساتھ تبدیل ہونے والے پیکجز ہمیشہ کام نہیں کرسکتے ہیں۔ ڈیبٹیپ کو اپنی ذمہ داری پر استعمال کریں!

آرک لینکس اور منجارو پر ڈیب ٹیپ انسٹال کرنا
ڈیب ٹیپ باکس سے باہر آرک لینکس یا منجارو کے ساتھ نہیں آتا ہے۔ تاہم، اس پروگرام کو کافی تیزی سے کام کرنا ممکن ہے۔ ڈیبٹیپ کے لیے انسٹالیشن کا عمل شروع کرنے کے لیے، ایک ٹرمینل ونڈو کھولیں۔

ڈیسک ٹاپ پر ٹرمینل ونڈو کو کیسے کھولنا ہے اس کے بارے میں یقین نہیں ہے؟ کنٹرول + آلٹ + ٹی دبائیں۔ متبادل کے طور پر، آپ ایپ مینو میں ‘ٹرمینل’ کو تلاش کرکے اور اسے اس طرح لانچ کرکے ٹرمینل ونڈو کو لانچ کرنے کے قابل ہو جائیں گے۔ٹرمینل ونڈو کھلنے اور استعمال کے لیے تیار ہونے کے ساتھ، آپ کو اے یو آر مددگار انسٹال کرنا چاہیے۔ یہ پروگرام اے یو آر پیکجوں کی تنصیب کو خودکار کرتا ہے۔ بدقسمتی سے، ڈیبٹیپ اے یو آر میں ہے، لہذا ٹرائیزن کو اسے آسانی سے کام کرنا چاہیے۔

نمبر1:ٹرائیزن ٹول کو انسٹال کرنے کے لیے، ‘گٹ’ اور ‘بیس ڈیول’ پیکجوں کو ترتیب دے کر شروع کریں۔

نمبر2:ایک بار جب دونوں پیکجز سیٹ ہو جائیں، گٹ کلون کمانڈ چلائیں اور تازہ ترین اے یو آر سنیپ شاٹ ڈاؤن لوڈ کریں۔

نمبر3:اے یو آر ایپلیکیشن کے سیٹ اپ کے ساتھ، آپ اسے ٹرائیزن کمانڈ کا استعمال کرتے ہوئے ڈیبٹیپ ایپلیکیشن سیٹ اپ کرنے کے لیے استعمال کر سکتے ہیں۔

ڈیب ٹیپ کو ترتیب دینا
ڈیب ٹیپ ایپلیکیشن کو استعمال کرنے کی کوشش کرنے سے پہلے اسے آپ کے آرک لینکس (یا منجارو) سسٹم پر کنفیگر کرنے کی ضرورت ہے۔ ڈیب ٹیپ کو ترتیب دینا آسان ہے۔ ایسا کرنے کے لیے، آپ کو ڈیٹاپ -یو کمانڈ کو روٹ کے طور پر چلانے کی ضرورت ہوگی۔ ڈیب ٹیپ کمانڈ کیا ہے؟ سیدھے الفاظ میں، یہ ڈیب ٹیپ ڈیٹا بیس کو اپ ڈیٹ کرتا ہے تاکہ یہ ڈیبین پیکجز کو آسانی سے لے اور انہیں آرک لینکس پیکجز میں تبدیل کر سکے۔ اپنے سسٹم پر ڈیٹا بیس کو اپ ڈیٹ کرنے کے لیے، ایک ٹرمینل لانچ کریں اور نیچے دی گئی کمانڈ کو چلائیں۔

اوپر کمانڈ چلانے کے بعد، ڈیب ٹیپ استعمال کرنے کے لیے تیار ہو جائے گا۔ تاہم، اگر آپ مزید جدید ڈیب ٹیپ کنفیگریشنز سیکھنا چاہتے ہیں، تو ٹرمینل میں ڈیٹاپ -ہیلپ کمانڈ چلانے پر غور کریں۔

آرک لینکس پیکیج بنانے کے لیے ڈیب ٹیپ کا استعمال
ڈیب ٹیپ ایک بہترین ٹول ہے جسے آرک لینکس (اور منجارو) کے صارفین اس وقت استعمال کر سکتے ہیں جب انہیں آفیشل آرک لینکس ریپوز یا اے یو آر میں کوئی ایپلیکیشن نہیں مل پاتی ہے۔ اس پروگرام کو استعمال کرنے کے لیے، آپ کو ٹرمینل ونڈو کی ضرورت ہوگی۔

کی بورڈ پر کنٹرول + آلٹ+ ٹی دبا کر ڈیسک ٹاپ پر ٹرمینل ونڈو کھولیں۔ یا ایپ مینو میں ‘ٹرمینل’ کو تلاش کرکے اور اسے اسی طرح لانچ کریں۔ جب ٹرمینل ونڈو کھلے تو سی ڈی کمانڈ استعمال کریں اور ‘ڈاؤن لوڈز’ ڈائرکٹری میں جائیں۔اب جب کہ آپ کا ٹرمینل ‘ڈاؤن لوڈز’ فولڈر میں کھلا ہے، ڈیب ٹیپ پیکیج کو ڈاؤن لوڈ کریں جسے آپ اپنے ویب براؤزر کا استعمال کرتے ہوئے تبدیل کرنا چاہتے ہیں۔ ڈاؤن لوڈ مکمل ہونے پر، تبادلوں کا عمل شروع کرنے کے لیے ڈیٹاپ کمانڈ استعمال کریں۔

تیار کردہ آرک لینکس پیکیجز کو انسٹال کرنا
ڈیب ٹیپ ایپ کے ساتھ پیکج تیار کرنے کے بعد، آپ تیار کردہ پیکج کو اپنے آرک لینکس سسٹم پر انسٹال کر سکتے ہیں۔ انسٹالیشن شروع کرنے کے لیے، یقینی بنائیں کہ آپ کے پاس ٹرمینل ونڈو کھلی ہے اور استعمال کے لیے تیار ہے۔ٹرمینل ونڈو کھلنے کے ساتھ، سی ڈی کمانڈ استعمال کریں اور اس ڈائریکٹری میں جائیں جہاں آپ کا پیکج تیار کیا گیا تھا۔یہاں سے، تیار کردہ آرک لینکس پیکیج کو اپنے کمپیوٹر پر انسٹال کرنے کے لیے پیکمین -یو کمانڈ استعمال کریں۔

پی کے جی بلڈ بنانے کے لیے ڈیب ٹیپ کا استعمال کرنا
جب کہ ڈیب ٹیپ کو عام طور پر قابل انسٹال آرک لینکس پیکیج بنانے کے لیے استعمال کیا جاتا ہے، یہ ایک پی کے جی بلڈ فائل بھی بنا سکتا ہے۔ پی کے جی بلڈ فائلیں خودکار ساختہ اسکرپٹ ہیں جو اے یو آر پر اپ لوڈ ہوتی ہیں۔

نوٹ: آپ کو صرف پی کے جی بلڈ فنکشن استعمال کرنا چاہئے اگر آپ سمجھتے ہیں کہ پی کے جی بلڈ آرچ پر کیسے کام کرتے ہیں اور سمجھتے ہیں کہ ان میں ترمیم کیسے کی جائے۔

ڈیب ٹیپ کے ساتھ پی کے جی بلڈ بنانے کے لیے، ڈاؤن لوڈ کردہ ڈیب ٹیپ پیکیج کے ساتھ شروعات کریں۔ پھر، پی کے جی بلڈ فائل بنانے کے لیے ڈیٹاپ کمانڈ چلائیں۔

ڈیب ٹیپ پی کے جی بلڈ فائلوں کے ساتھ پیکیجز انسٹال کرنا
ڈیب ٹیپ سے تیار کردہ پی کے جی بلڈ فائلوں کو انسٹال کرنا بالکل اسی طرح کام کرتا ہے جیسے اے یو آر سے ڈاؤن لوڈ کی گئی پی کے جی بلڈ فائلوں کو انسٹال کرنا۔ انسٹال کرنے کے لیے، ایک ٹرمینل کھولیں اور اس ڈائریکٹری میں کمانڈ چلائیں جہاں پی کے جی بلڈ فائل موجود ہے۔

 

/ Published posts: 1190

Shagufta Naz is a Multi-disciplinary Designer who is leading NewzFlex Product Design Team and also working on the Strategic planning & development for branded content across NewzFlex Digital Platforms through comprehensive research and data analysis. She is currently working as the Principal UI/UX Designer & Content-writer for NewzFlex and its projects, and also as an Editor for the sponsored section of NewzFlex.

Twitter
Facebook
Youtube
Linkedin
Instagram