<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Linux on Code Log</title><link>https://codelog.me/en/categories/linux/</link><description>Recent content in Linux on Code Log</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Thu, 14 Jan 2016 23:43:47 +0800</lastBuildDate><atom:link href="https://codelog.me/en/categories/linux/index.xml" rel="self" type="application/rss+xml"/><item><title>A Primer on Linux Package Management</title><link>https://codelog.me/en/posts/linux-package-management/</link><pubDate>Thu, 14 Jan 2016 23:43:47 +0800</pubDate><guid>https://codelog.me/en/posts/linux-package-management/</guid><description>&lt;img src="https://codelog.me/img/2016-01-14-linux-package-management/linux-package-management.png"&gt;
&lt;p&gt;Simply put, the Linux &lt;strong&gt;package management system&lt;/strong&gt; refers to a tool for installing, removing, or updating software on a Linux system. Different Linux distributions package application software in different formats. For example: Debian-based Linux uses *.deb; CentOS uses *.rpm; openSUSE also uses *.rpm. Because of the differences in package formats across Linux distributions, the package management tools also differ.&lt;/p&gt;</description></item><item><title>A Detailed Look at Where deb Packages Are Installed</title><link>https://codelog.me/en/posts/linux-package-install-path/</link><pubDate>Wed, 13 Jan 2016 00:13:58 +0800</pubDate><guid>https://codelog.me/en/posts/linux-package-install-path/</guid><description>&lt;p&gt;As everyone knows, when you install software on Windows, most of the files of that package are usually kept in the installation directory. But when you first install a package on Linux, you often wonder: &lt;strong&gt;where exactly are the package&amp;rsquo;s files stored?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Actually, when you install a package on Linux, the system copies different types of files from the package to different directories. If you&amp;rsquo;re using a Debian-based Linux system, you can find out which directories the different types of files of a package go to with the following command. For example, to see the distribution of all of nodejs&amp;rsquo;s files:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-shell" data-lang="shell"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#75715e"&gt;# dpkg -L nodejs&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The output is as follows:&lt;/p&gt;</description></item></channel></rss>