<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>packages Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/packages/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Sun, 09 Aug 2020 20:05:34 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How to install the Development and build tools on Ubuntu 20.04?</title>
		<link>https://www.osradar.com/install-development-build-tools-ubuntu-20-04/</link>
					<comments>https://www.osradar.com/install-development-build-tools-ubuntu-20-04/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Tue, 11 Aug 2020 02:03:00 +0000</pubDate>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[packages]]></category>
		<category><![CDATA[tools]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=22565</guid>

					<description><![CDATA[<p>In this very short post, you will learn how to install a series of development and build tools on Ubuntu 20.04. These tools are essential to perform tasks like installing packages from the source code. Or some programming tasks such as package creation. If you are an application developer and need to package it for [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-development-build-tools-ubuntu-20-04/">How to install the Development and build tools on Ubuntu 20.04?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>In this very short post, you will learn how to install a series of development and build tools on Ubuntu 20.04. These tools are essential to perform tasks like installing packages from the source code. Or some programming tasks such as package creation.</p>



<p>If you are an application developer and need to package it for a distribution like Debian or Ubuntu, you need some tools. Some of these tools are considered to be essential for the process.</p>



<p>So, all these tools are contained in the word <code>build-essential</code>. Other important packages will be installed there. Some of them are:</p>



<ul><li>GCC the GNU C language compiler which is a mainstay for developing various languages and installing programs.</li><li>make which allows us to compile programs from source code.</li><li>G++ the GNU compiler for the C++ language which is widely used in <a href="https://www.osradar.com/install-qtcreator-on-ubuntu-18-04/" target="_blank" aria-label="undefined (opens in a new tab)" rel="noreferrer noopener">QT applications.</a></li></ul>



<p>And many more.</p>



<h2>Install the Development and build tools on Ubuntu 20.04</h2>



<p>Before we start I want to remind you that in this post we will install the basic tools. In case you want to compile a program from the source code, each one of them has dependencies that you have to fulfill.</p>



<p>On the contrary, if you are going to build packages, you also need other more specific ones according to the distribution.</p>



<p>So, open a terminal and install the build-essential package.</p>



<pre class="wp-block-preformatted">:~$ sudo apt install build-essential
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following additional packages will be installed:
binutils binutils-common binutils-x86-64-linux-gnu cpp cpp-9 dpkg-dev fakeroot g++ g++-9 gcc gcc-9 gcc-9-base libalgorithm-diff-perl libalgorithm-diff-xs-perl
libalgorithm-merge-perl libasan5 libatomic1 libbinutils libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libctf-nobfd0 libctf0 libdpkg-perl libfakeroot
libfile-fcntllock-perl libgcc-9-dev libgomp1 libisl22 libitm1 liblsan0 libmpc3 libquadmath0 libstdc++-9-dev libtsan0 libubsan1 linux-libc-dev make manpages-dev
Suggested packages:
binutils-doc cpp-doc gcc-9-locales debian-keyring g++-multilib g++-9-multilib gcc-9-doc gcc-multilib autoconf automake libtool flex bison gdb gcc-doc gcc-9-multilib
glibc-doc bzr libstdc++-9-doc make-doc
The following NEW packages will be installed:
binutils binutils-common binutils-x86-64-linux-gnu build-essential cpp cpp-9 dpkg-dev fakeroot g++ g++-9 gcc gcc-9 gcc-9-base libalgorithm-diff-perl
libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan5 libatomic1 libbinutils libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libctf-nobfd0 libctf0 libdpkg-perl
libfakeroot libfile-fcntllock-perl libgcc-9-dev libgomp1 libisl22 libitm1 liblsan0 libmpc3 libquadmath0 libstdc++-9-dev libtsan0 libubsan1 linux-libc-dev make
manpages-dev
0 upgraded, 41 newly installed, 0 to remove and 0 not upgraded.
Need to get 39.9 MB of archives.
After this operation, 175 MB of additional disk space will be used.
Do you want to continue? [Y/n]</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="286" src="https://www.osradar.com/wp-content/uploads/2020/08/11-1024x286.png" alt="1.- Installing development and build tools on Ubuntu 20.04" class="wp-image-22567" srcset="https://www.osradar.com/wp-content/uploads/2020/08/11-1024x286.png 1024w, https://www.osradar.com/wp-content/uploads/2020/08/11-300x84.png 300w, https://www.osradar.com/wp-content/uploads/2020/08/11-768x214.png 768w, https://www.osradar.com/wp-content/uploads/2020/08/11-696x194.png 696w, https://www.osradar.com/wp-content/uploads/2020/08/11-1068x298.png 1068w, https://www.osradar.com/wp-content/uploads/2020/08/11.png 1348w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>1.- Installing development and build tools on Ubuntu 20.04</figcaption></figure>



<p>As you can see, this package also installs some necessary dependencies. Don&#8217;t worry all these dependencies are more basic package development and build tools.</p>



<p>Some of them may be already installed so you can download the number of packages you need.</p>



<p>When the download and installation is finished, you can check the versions of make, gcc and g++</p>



<pre class="wp-block-preformatted">:~$ make --version
GNU Make 4.2.1
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <a href="http://gnu.org/licenses/gpl.html">http://gnu.org/licenses/gpl.html</a>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.</pre>



<pre class="wp-block-preformatted">:~$ gcc --version
gcc (Ubuntu 9.3.0-10ubuntu2) 9.3.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</pre>



<pre class="wp-block-preformatted">:~$ g++ --version
g++ (Ubuntu 9.3.0-10ubuntu2) 9.3.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</pre>



<p>And so these tools have been installed.</p>



<h2>Conclusion</h2>



<p>The development and package building tools are very important in Ubuntu 20.04. Since many programs that are in the repositories depend on them and installing them can save us time.</p>



<p>On the other hand, they become quite necessary if we are developers or application packagers.</p>



<p>So, share this post and join <a href="https://t.me/osradar" target="_blank" aria-label="undefined (opens in a new tab)" rel="noreferrer noopener">our Telegram Channel</a>.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-development-build-tools-ubuntu-20-04/">How to install the Development and build tools on Ubuntu 20.04?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/install-development-build-tools-ubuntu-20-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>YUM the CentOS package manager: A little guide to use it</title>
		<link>https://www.osradar.com/yum-the-centos-package-manager-a-little-guide-to-use-it/</link>
					<comments>https://www.osradar.com/yum-the-centos-package-manager-a-little-guide-to-use-it/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Mon, 18 Mar 2019 06:00:54 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[packages]]></category>
		<category><![CDATA[packages manager]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[YUM]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=11460</guid>

					<description><![CDATA[<p>The package manager is one of the essential components of the system. With them, we can install packages that often contain the applications we need for daily work. It is practically impossible to conceive of an operating system without a package manager. So, obviously, CentOS 7 has one. In this article, ideal for novices, we [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/yum-the-centos-package-manager-a-little-guide-to-use-it/">YUM the CentOS package manager: A little guide to use it</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>The package manager is one of the essential components of the system. With them, we can install packages that often contain the applications we need for daily work. It is practically impossible to conceive of an operating system without a package manager. So, obviously, CentOS 7 has one. In this article, ideal for novices, we will teach you how to use YUM the CentOS 7 package manager. So, this way you will be able to take full advantage of this utility.</p>
<p>YUM (Yellowdog updater modifier) is the current CentOS package manager. It is an open source tool that allows us to install, remove, search and manage the packages in our CentOS 7 distribution. Its code is published under the <a href="https://www.gnu.org/licenses/gpl-2.0.html" rel="noopener noreferrer">GPL license</a> so we can examine its source code. YUM is to CentOS what <a href="https://www.osradar.com/apt-the-ubuntu-package-manager/" rel="noopener noreferrer">APT is to Debian or Ubuntu</a>.</p>
<p>It should be noted that a package manager is a key component of a Linux system. It allows us to install the necessary packages for our daily work with applications. However, the main advantage of package managers is the management of the dependencies of a given package. For example, if we want to install a package A that depends on a package B, YUM and any other package manager will resolve this issue by installing package B automatically. Of course, there are times when the package manager cannot resolve the dependencies and we will have to act.</p>
<p>On the other hand, package managers today can search for packages and in some cases manage repositories.</p>
<h1>How to use the CentOS package manager</h1>
<p>The use of YUM, as well as other package managers, is very simple. Just use the command with the options and parameters. So it will not be difficult for you to understand. However, one thing to keep in mind is that root privileges are required. It is obvious if we take into account that with YUM we can install and uninstall packages that are often applications.</p>
<p>So open a terminal or access your CentOS 7 server and run:</p>
<pre>:~$ su</pre>
<p>Normally the first thing we do is update all the packages installed in our system. To do this, run:</p>
<pre>:~# yum update</pre>
<p>It is also possible to update all packages except one that we specify.</p>
<pre>:~# yum update --exclude=[package_name]</pre>
<p>Or specify which package or packages we want to update.</p>
<pre>:~# yum update [package_name] [package_name]</pre>
<p>Also, you can check which packages can be updated without starting the process.</p>
<pre>:~# yum check-update</pre>
<p>Once you have typed these commands, you will be asked to confirm whether you really want to make these changes. However, if you do not want confirmation to be asked you can add the option -y before update.</p>
<p>Next, we will always need to install some package. With YUM it is very simple:</p>
<pre>:~# yum install [package_name]</pre>
<p>Of course, you can install several packages in a single command:</p>
<pre>:~# yum install [first_package] [second_package] ...</pre>
<p>Now, sometimes, it is convenient to know how to uninstall the packages.</p>
<pre>:~# yum remove [package_name]</pre>
<p>As in the installation process, you can uninstall several packages at once.</p>
<pre>:~# yum remove [package_name] [package_name] ...</pre>
<h2>Search and print package information</h2>
<p>With YUM we cannot only update, install and uninstall packages, we can also look for information about some of them.</p>
<pre>:~# yum info [package_name]</pre>
<p>Or, show information of all available packages to update.</p>
<pre>:~# yum info available</pre>
<p>On the other hand, you can search for a specific package. Ideal if you do not remember the exact name of the package.</p>
<pre>:~# yum list | grep [package_name]</pre>
<p>Or:</p>
<pre>:~# yum search [package]</pre>
<p>If you want to show all packages, installed or not, the command is as follows:</p>
<pre>:~# yum list</pre>
<p>So, if you only want to see the installed ones</p>
<pre>:~# yum list installed</pre>
<p>Or, the packages ready to be updated.</p>
<pre>:~# yum list updates</pre>
<h2>YUM cleaning options and list the repositories</h2>
<p>Every time we install a package, YUM downloads it, so it is a good idea to wipe the package cache to save disk space.</p>
<pre>:~# yum clean packages</pre>
<p>To do a deep cleaning, you can use this command:</p>
<pre>:~# yum clean all</pre>
<p>Finally, you can see all the active repositories by typing this command:</p>
<pre>:~# yum repolist</pre>
<p>So, now you can enjoy it.</p>
<h1>Conclusion</h1>
<p>To manage a package manager in a good way is a guarantee to be able to use our system better. So YUM, the CentOS package manager, is characterized by its ease of use and low learning curve.</p>
<p>This article is for people without much knowledge of CentOS so help us to reach many people who need it.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/yum-the-centos-package-manager-a-little-guide-to-use-it/">YUM the CentOS package manager: A little guide to use it</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/yum-the-centos-package-manager-a-little-guide-to-use-it/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
