<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Arbitrary</title>
    <description>The latest articles on DEV Community by Arbitrary (@arbitrary).</description>
    <link>https://dev.to/arbitrary</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F595513%2F3d230e7a-b4e9-4b7a-96b3-adf41dad912c.png</url>
      <title>DEV Community: Arbitrary</title>
      <link>https://dev.to/arbitrary</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/arbitrary"/>
    <language>en</language>
    <item>
      <title>How to install tarball (.tar) files in linux</title>
      <dc:creator>Arbitrary</dc:creator>
      <pubDate>Sun, 19 Dec 2021 06:04:10 +0000</pubDate>
      <link>https://dev.to/arbitrary/how-to-install-tarball-tar-files-in-linux-33aa</link>
      <guid>https://dev.to/arbitrary/how-to-install-tarball-tar-files-in-linux-33aa</guid>
      <description>&lt;p&gt;Does it happen to you that you that whenever you want to install a piece of software you're give either a &lt;code&gt;.deb&lt;/code&gt; file or a &lt;code&gt;.tar&lt;/code&gt; file. Installing &lt;code&gt;.deb&lt;/code&gt; files is easy, it's just like how you do in windows, but &lt;code&gt;.tar&lt;/code&gt; files are a pain specially for beginners. &lt;br&gt;
In this simple tutorial we'll learn how to download and install &lt;code&gt;.tar&lt;/code&gt; file. I'll use Ubuntu but it should work in most Linux distros. I'll install *&lt;em&gt;waterfox web browser *&lt;/em&gt; but the process is similar for all the tarball (.tar) installation files.&lt;/p&gt;
&lt;h2&gt;
  
  
  tldr;
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;download the tar file&lt;/li&gt;
&lt;li&gt;extract it to some location&lt;/li&gt;
&lt;li&gt;create a desktop entry for running the application&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;
  
  
  Detailed method
&lt;/h2&gt;
&lt;h3&gt;
  
  
  Step 1 :download the &lt;code&gt;.tar&lt;/code&gt; file and then move it to the directory where you want to install it.
&lt;/h3&gt;

&lt;p&gt;After downloading the file open the terminal in current directory to move the file to &lt;code&gt;/opt&lt;/code&gt; directory using the following command.&lt;br&gt;
you can change the filename and target directory accordingly.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo mv  waterfox-G4.0.5.en-US.linux-x86_64.tar.bz2 /opt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Step 2: Extract the &lt;code&gt;.tar&lt;/code&gt; file
&lt;/h3&gt;

&lt;p&gt;first goto the directory where you moved the &lt;code&gt;.tar&lt;/code&gt; file.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;cd /opt/
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To extract the &lt;code&gt;.tar&lt;/code&gt; file present in the current directory to use the following command&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo tar xjf waterfox-G4.0.5.en-US.linux-x86_64.tar.bz2
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;you can replace the &lt;code&gt;.tar&lt;/code&gt; filename i.e. &lt;code&gt;waterfox-G4.0.5.en-US.linux-x86_64.tar.bz2&lt;/code&gt; as per your filename.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 3: Create desktop entry with appropriate permissions
&lt;/h3&gt;

&lt;p&gt;make yourself owner of the extracted repository&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo chown -R $USER /opt/waterfox
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Create a desktop entry so that you don't need to come to this directory to launch the application. &lt;br&gt;
run the following command&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;gedit ~/.local/share/applications/waterfox.desktop
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;it'll open gedit text editor where you need to insert the specifications of the desktop entry.&lt;br&gt;
paste the following in the editor and save.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[Desktop Entry]
Name=Waterfox
Exec=/opt/waterfox/waterfox %u
Terminal=false
Icon=/opt/waterfox/browser/chrome/icons/default/default128.png
Type=Application
Categories=Application;Network;X-Developer;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Again, change the various parameters and paths according to your setup.&lt;br&gt;
The path can be directly under the first directory or inside bin directory, make sure you specify correct path.&lt;/p&gt;

&lt;p&gt;Desktop entry has many parameters but only a few are required but you should add at least these. You can read more at &lt;a href="https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-0.9.3.html"&gt;Desktop Entry Standard&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Finally you need to make your desktop entry executable using the following command.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;chmod +x ~/.local/share/applications/waterfox.desktop
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;you can change the name of desktop entry accordingly.&lt;/p&gt;

&lt;p&gt;finally you can remove the &lt;code&gt;.tar&lt;/code&gt; file using the following command&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo rm -rf waterfox*.tar.bz2
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>linux</category>
      <category>ubuntu</category>
      <category>tutorial</category>
      <category>tar</category>
    </item>
    <item>
      <title>Using external packages in flutter</title>
      <dc:creator>Arbitrary</dc:creator>
      <pubDate>Thu, 29 Apr 2021 11:30:00 +0000</pubDate>
      <link>https://dev.to/arbitrary/using-external-packages-in-flutter-35m3</link>
      <guid>https://dev.to/arbitrary/using-external-packages-in-flutter-35m3</guid>
      <description>&lt;h3&gt;
  
  
  Automatic way
&lt;/h3&gt;

&lt;p&gt;Run either of the following commands in the terminal ( inside your project directory) to add the package to your project.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;dart pub add package_name

or 

flutter pub add package_name
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Manual way
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;go to &lt;a href="//pub.dev"&gt;pub.dev&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;search your package&lt;/li&gt;
&lt;li&gt;go to installing tab and copy the package name and version under dependencies&lt;/li&gt;
&lt;li&gt;open &lt;code&gt;pubspec.yaml&lt;/code&gt; file present in root directory&lt;/li&gt;
&lt;li&gt;paste it under &lt;em&gt;dependencies&lt;/em&gt;.(be careful about the indentation)&lt;/li&gt;
&lt;li&gt;save and your ide will download the package in the project.&lt;/li&gt;
&lt;li&gt;go to the dart file where you want to use it and import at the top &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;That's it. Now you can use the package however you like.&lt;/p&gt;

</description>
      <category>flutter</category>
      <category>dart</category>
    </item>
    <item>
      <title>How to buy cryptocurrencies in India 2021. Complete guide</title>
      <dc:creator>Arbitrary</dc:creator>
      <pubDate>Thu, 29 Apr 2021 08:41:50 +0000</pubDate>
      <link>https://dev.to/arbitrary/how-to-buy-cryptocurrencies-in-india-2021-complete-guide-2e69</link>
      <guid>https://dev.to/arbitrary/how-to-buy-cryptocurrencies-in-india-2021-complete-guide-2e69</guid>
      <description>&lt;p&gt;The simple steps to buy crypto are the following:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Create an account with an exchange like &lt;a href="https://wazirx.com/invite/4zzh3fmw"&gt;WazirX&lt;/a&gt; or &lt;a href="https://www.binance.com/en/register?ref=15536587"&gt;Binance&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Get KYC done&lt;/li&gt;
&lt;li&gt;Add bank account&lt;/li&gt;
&lt;li&gt;Transfer funds and start trading&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  To buy cryptocurrencies there are only two ways:
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Using Money(Fiat to crypto)&lt;/li&gt;
&lt;li&gt;Using cryptocurruncies (crypto to crypto)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;To Buy using Fiat(INR) you need to have KYC done and add your bank account to the exchange for transfer of funds. You can do that only on exchanges that support Fiat trading that's why you need to use any indian exchange like &lt;a href="https://wazirx.com/invite/4zzh3fmw"&gt;WazirX&lt;/a&gt; to convert your INR to Crypto.&lt;/p&gt;

&lt;p&gt;To buy crypto using other crypto that you have, you don't need to add Bank account but your might be asked to do KYC verification if your trade volume is high. Just send your money to the exchange wallet and start trading.&lt;/p&gt;

&lt;h3&gt;
  
  
  Local (fiat exchange) vs global (pure crypto exchange) currency exchange
&lt;/h3&gt;

&lt;p&gt;Local exchanges gives you the flexibility to trade using INR and also support your banks. Your Bank accounts are linked on the exchange so you can deposit and withdraw INR whenever you want. But they don't provide as many currencies as the Global exchanges so for that you need to have an account on the Global exchange like &lt;a href="https://www.binance.com/en/register?ref=15536587"&gt;Binance&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Global exchange have almost all the cryptoes that you'd ever want to invest in. To buy them you can do so by buying some crypto like Bitcoin,Ethereum from local exchange then send it to your Global exchange wallet and then use it for trading. When you want to withdraw then repeat the same process from Global to Local exchange and then to your bank account.&lt;/p&gt;

&lt;h3&gt;
  
  
  Peer to peer vs Exchange
&lt;/h3&gt;

&lt;p&gt;In peer to peer trading you buy directly from someone who is willing to trade and in exchange you give them INR directly to their Bank account or mobile wallet using IMPS, Net Banking or UPI. There are no charges for peer to peer trading.&lt;/p&gt;

&lt;p&gt;On an exchange you set a price and if that's available then trade will happen automatically. There is always some exchange fees involved in this but you get trades done faster.&lt;/p&gt;

&lt;h3&gt;
  
  
  Docs for KYC:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;A national ID like PAN-card, Passport, Driving License&lt;/li&gt;
&lt;li&gt;A selfie of yourself&lt;/li&gt;
&lt;li&gt;A bank account to link to the exchange&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Payment modes:
&lt;/h3&gt;

&lt;p&gt;The payment can be done in the following ways&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;IMPS&lt;/li&gt;
&lt;li&gt;NEFT&lt;/li&gt;
&lt;li&gt;UPI&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>cryptocurrency</category>
      <category>bitcoin</category>
      <category>exchange</category>
      <category>india</category>
    </item>
    <item>
      <title>Best cryptocurrency exchanges in India 2021</title>
      <dc:creator>Arbitrary</dc:creator>
      <pubDate>Thu, 29 Apr 2021 08:27:04 +0000</pubDate>
      <link>https://dev.to/arbitrary/best-cryptocurrency-exchanges-in-india-2799</link>
      <guid>https://dev.to/arbitrary/best-cryptocurrency-exchanges-in-india-2799</guid>
      <description>&lt;p&gt;Here is the list of the most popular cryptocurrency exchanges from where you can buy cryptocurrencies and do trading. I have made quick bullet points so you don’t have to read everything to find what you need to know about them. Also marked them as Local/Global so that you know which one accepts INR and which one doesn’t.&lt;br&gt;
I've included only three exchanges in the list which should be more than sufficient because they provide most of the pairs available in India. I have not included some which have only a few crypto pairs to trade.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;a href="https://wazirx.com/invite/4zzh3fmw"&gt;Wazirx (Local Exchange)&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;Best in India with the most number of trading coins offered in India. They have their own coin WazirX(WRX) for trading on their platform at discounted fees. They were accquired by &lt;a href="https://www.binance.com/en/register?ref=15536587"&gt;Binance&lt;/a&gt; which is already one of the most popular Global exchange. They are the only one currently to Provide P2P sercvices along with the exchange platform in India.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Currencies: around 200 pairs&lt;/li&gt;
&lt;li&gt;Trading Fees: 0.1–0.2%(Lowest in India)&lt;/li&gt;
&lt;li&gt;P2P : Yes&lt;/li&gt;
&lt;li&gt;KYC verification: Required&lt;/li&gt;
&lt;li&gt;Method of Purchase: Bank Transfer/UPI/IMPS&lt;/li&gt;
&lt;li&gt;Instant funds deposit and withdrawal&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  &lt;a href="https://www.binance.com/en/register?ref=15536587"&gt;Binance (Global Exchange)&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;The are one of the most popular exchange in the world and also renowned in crypto world for their services. They own the Indian Exchange &lt;a href="https://wazirx.com/invite/4zzh3fmw"&gt;WazirX&lt;/a&gt;. They have their own coin Binance(BNB) for trading on their platform at discounted fees. They are one of the most fully featured exchange that you can find. &lt;a href="https://www.binance.com/en/register?ref=15536587"&gt;Binance&lt;/a&gt; is also the largest exchange in the world by trading volume.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Currencies: Almost all the coins&lt;/li&gt;
&lt;li&gt;Trading Fees: 0.1%(Lowest in India)&lt;/li&gt;
&lt;li&gt;P2P : Yes&lt;/li&gt;
&lt;li&gt;KYC verification: Required&lt;/li&gt;
&lt;li&gt;Method of Purchase: Crypto to Crypto / Credit cards&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  &lt;a href="https://ref.bitbns.com/212534"&gt;BitBNS (Local Exchange)&lt;/a&gt;
&lt;/h3&gt;

&lt;p&gt;Another popular Local exchange with around 85 coins. It is also very innovative which provides SIP equivalent using Bitcoins. They don’t have a peer to peer trading platform. If you complete KYC then you get 50 BNS tokens as a reward.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Currencies: around 120 pairs&lt;/li&gt;
&lt;li&gt;Trading Fees: flat 0.25%&lt;/li&gt;
&lt;li&gt;P2P : Yes&lt;/li&gt;
&lt;li&gt;KYC verification: Required&lt;/li&gt;
&lt;li&gt;Method of Purchase: Bank Transfer&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>crptocurrency</category>
      <category>exchange</category>
      <category>india</category>
      <category>wazirx</category>
    </item>
  </channel>
</rss>
