<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Packages on Vineet Kumar</title><link>https://new.vineetkumar.me/tag/packages/</link><description>Recent content in Packages on Vineet Kumar</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sat, 11 Apr 2015 19:06:36 +0000</lastBuildDate><atom:link href="https://new.vineetkumar.me/tag/packages/index.xml" rel="self" type="application/rss+xml"/><item><title>Concept of Installing Applications in Ubuntu</title><link>https://new.vineetkumar.me/2015/04/concept-of-installing-applications-in-ubuntu/</link><pubDate>Sat, 11 Apr 2015 19:06:36 +0000</pubDate><guid>https://new.vineetkumar.me/2015/04/concept-of-installing-applications-in-ubuntu/</guid><description>&lt;p&gt;Until now we have discussed how to install Ubuntu, &lt;a href="https://new.vineetkumar.me/2015/03/the-user-experience-of-using-ubuntu/" target="_blank" rel="noopener noreferrer"&gt;concepts around files&lt;/a&gt;, &lt;a href="https://new.vineetkumar.me/2015/03/the-user-experience-of-using-ubuntu/" target="_blank" rel="noopener noreferrer"&gt;keyboard shortcuts&lt;/a&gt; to navigate easily and various ways to customize Ubuntu with &lt;a href="https://new.vineetkumar.me/2015/01/making-ubuntu-personalized-gnome/" target="_blank" rel="noopener noreferrer"&gt;Gnome shell&lt;/a&gt;. Today I am going to discuss how to install applications in Linux along with the various ways to do them, and will end with a special note that would explain how “running” applications in Ubuntu is fundamentally different than Windows.&lt;br&gt;
You must be used to installing softwares in Windows by downloading .EXE files or .MSI installers. You open these files and click Next -&amp;gt; Next and viola. Installing applications in Ubuntu is a bit different and safer than Windows in some cases. But before we get into the steps its important to understand the concept of Packages in Ubuntu.&lt;/p&gt;
&lt;h3 id="what-is-a-package" class="relative group"&gt;What is a Package? &lt;span class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100"&gt;&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700" style="text-decoration-line: none !important;" href="#what-is-a-package" aria-label="Anchor"&gt;#&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;&lt;p&gt;A package can be considered a collection of files bundled into a single file. Package contains among other things, the installation script which tells where the files will be copied and what settings needs to be changed once the package is installed.&lt;br&gt;
In essence, the output of a package is equivalent to .exe or .msi installers, that is they install a software on the OS. There are many ways to install a package on Linux. You can install a package using Package manager which itself are categorized in Low-Level and High-Level package managers. You can also download packages over the Internet and use it to install it on the system (more on this later in this article).&lt;br&gt;
Low level package managers are &lt;strong&gt;dpkg&lt;/strong&gt; (for Debian based Linux like Ubuntu) and &lt;strong&gt;rpm&lt;/strong&gt; (for SUSE and Fedora). While high level package managers are &lt;strong&gt;apt-get&lt;/strong&gt; (for Debian), &lt;strong&gt;zypper&lt;/strong&gt; (for SUSE) and &lt;strong&gt;yum&lt;/strong&gt; (for Fedora).&lt;br&gt;
Packages can depend on other package to be installed first. Say if you want to install some software which was written in PHP, you may need to install the PHP package first. This concept is called &lt;strong&gt;dependency&lt;/strong&gt; and is usually taken care of itself if you are using a high level package managers.&lt;/p&gt;
&lt;h3 id="advanced-packaging-tool-apt" class="relative group"&gt;Advanced Packaging Tool (APT) &lt;span class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100"&gt;&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700" style="text-decoration-line: none !important;" href="#advanced-packaging-tool-apt" aria-label="Anchor"&gt;#&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;&lt;p&gt;The underlying package manager in Ubuntu (or any Debian based Linux) is APT. You can use the command &lt;strong&gt;apt&lt;/strong&gt; to install or remove packages on your system. APT is also used in background in GUI based package managers like &lt;strong&gt;Ubuntu Software Center&lt;/strong&gt; and &lt;strong&gt;synaptic&lt;/strong&gt;.&lt;br&gt;
EDX have a pdf which lists some basic commands to using package managers. Download it &lt;a href="https://courses.edx.org/asset-v1:LinuxFoundationX+LFS101x.2+1T2015+type@asset+block@Basic_Packagaing_Commands.pdf" target="_blank" rel="noopener noreferrer"&gt;&lt;strong&gt;here&lt;/strong&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id="what-is-source-and-binary" class="relative group"&gt;What is Source and Binary? &lt;span class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100"&gt;&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700" style="text-decoration-line: none !important;" href="#what-is-source-and-binary" aria-label="Anchor"&gt;#&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;</description></item></channel></rss>