<?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>odbc Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/odbc/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Mon, 05 Jul 2021 15:46:41 +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 ODBC on Ubuntu 20.04 / Debian 10?</title>
		<link>https://www.osradar.com/install-odbc-ubuntu-debian/</link>
					<comments>https://www.osradar.com/install-odbc-ubuntu-debian/#comments</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Wed, 07 Jul 2021 22:22:00 +0000</pubDate>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[focal]]></category>
		<category><![CDATA[odbc]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[unixodbc]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=21642</guid>

					<description><![CDATA[<p>Hi, folks. In this post, you will learn how to install ODBC on Ubuntu 20.04 / Debian 10 through a free implementation. If you use this database access API a lot, it will serve you well. In a few words, ODBC is an open specification for providing application developers with a predictable API with which [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-odbc-ubuntu-debian/">How to install ODBC on Ubuntu 20.04 / Debian 10?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hi, folks. In this post, you will learn <strong>how to install ODBC on Ubuntu 20.04 / Debian 10</strong> through a free implementation. If you use this database access API a lot, it will serve you well.</p>



<p>In a few words, ODBC is an open specification for providing application developers with a predictable API with which to access Data Sources. Data Sources include SQL Servers and any Data Source with an ODBC Driver.</p>



<p>With the need for an open-source implementation and compatibility with other operating systems, <a href="http://www.unixodbc.org/" target="_blank" aria-label="undefined (opens in a new tab)" rel="noreferrer noopener">unixODBC</a> was born. This project also has a graphical interface that you can use but its potential is in the binaries that offer compatibility with this implementation.</p>



<p>So, let&#8217;s go for it.</p>



<h2>Installing ODBC on Ubuntu 20.04 / Debian 10</h2>



<p><strong>Note: The screenshots are from version 2.3.7 but the post has been updated to the latest version which is 2.3.9. Don&#8217;t Worry.</strong></p>



<p>Upgrading the system completely is the first step in performing this tutorial.</p>



<p>So, open a terminal and run the following commands:</p>



<pre class="wp-block-preformatted">:~$ sudo apt update<br>:~$ sudo apt upgrade</pre>



<p>Once the installation has been completed, all the basic tools for compiling and building packages must be installed. This can easily be done with the following command:</p>



<pre class="wp-block-preformatted">:~$ sudo apt install build-essential
[sudo] password for angelo:
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>



<p>This will install all the dependencies we need to install unixODBC on Ubuntu 20.04 / Debian 10</p>



<p>The next step is to download the unixODBC source code file. At the time of writing, the latest stable version is 2.3.9</p>



<pre class="wp-block-preformatted">:~$ wget ftp://ftp.unixodbc.org/pub/unixODBC/unixODBC-2.3.9.tar.gz
--2021-07-05 17:32:20--  ftp://ftp.unixodbc.org/pub/unixODBC/unixODBC-2.3.9.tar.gz
            => ‘unixODBC-2.3.9.tar.gz’
 Resolving ftp.unixodbc.org (ftp.unixodbc.org)… 87.106.19.214
 Connecting to ftp.unixodbc.org (ftp.unixodbc.org)|87.106.19.214|:21… connected.
 Logging in as anonymous … Logged in!
 ==> SYST … done.    ==> PWD … done.
 ==> TYPE I … done.  ==> CWD (1) /pub/unixODBC … done.
 ==> SIZE unixODBC-2.3.9.tar.gz … 1676145
 ==> PASV … done.    ==> RETR unixODBC-2.3.9.tar.gz … done.
 Length: 1676145 (1.6M) (unauthoritative)
 unixODBC-2.3.9.tar.gz                     100%[=====================================================================================>]   1.60M  5.31MB/s    in 0.3s
 2021-07-05 17:32:21 (5.31 MB/s) - ‘unixODBC-2.3.9.tar.gz’ saved [1676145]</pre>



<p>Then decompress the generated file and go to the unixODBC folder.</p>



<pre class="wp-block-preformatted">:~$ tar xvzf unixODBC-2.3.9.tar.gz
:~$ cd unixODBC-2.3.9/</pre>



<p>There you prepare the file for compilation:</p>



<pre class="wp-block-preformatted">:~$ ./configure --prefix=/usr/local/unixODBC</pre>



<p>Then, using the make command to create the package</p>



<pre class="wp-block-preformatted">:~$ make</pre>



<p>And finally, install it on the system by running the following command:</p>



<pre class="wp-block-preformatted">:~$ sudo make install</pre>



<p>When the process is finished you can go to the <code>/usr/local/unixODBC/bin</code> folder and see all the binaries that have been installed.</p>



<pre class="wp-block-preformatted">:~$ cd /usr/local/unixODBC/bin/
:~$ ls</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="834" height="142" src="https://www.osradar.com/wp-content/uploads/2020/07/5-2.png" alt="5.- ODBC on Ubuntu 20.04 / Debian 10" class="wp-image-21683" srcset="https://www.osradar.com/wp-content/uploads/2020/07/5-2.png 834w, https://www.osradar.com/wp-content/uploads/2020/07/5-2-300x51.png 300w, https://www.osradar.com/wp-content/uploads/2020/07/5-2-768x131.png 768w, https://www.osradar.com/wp-content/uploads/2020/07/5-2-696x119.png 696w" sizes="(max-width: 834px) 100vw, 834px" /><figcaption>1.- ODBC on Ubuntu 20.04 / Debian 10</figcaption></figure>



<p>So unixODBC is ready for battle. You can now implement it and connect to various databases such as those made in Microsoft SQL Server.</p>



<h2>Conclusion</h2>



<p>The implementation of ODBC on Unix systems is done by unixODBC with the guarantee of being opensource and quite stable. It&#8217;s a very interesting <a href="https://www.osradar.com/tag/databases" target="_blank" aria-label="undefined (opens in a new tab)" rel="noreferrer noopener">database</a> project that can be very useful to many professionals. So in this post, I&#8217;ve shown you how to install it from the source code.</p>



<p>Please 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-odbc-ubuntu-debian/">How to install ODBC on Ubuntu 20.04 / Debian 10?</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-odbc-ubuntu-debian/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
	</channel>
</rss>
