• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » How to Install SQLLine on Ubuntu (For Big Data Tools)

By Abhishek Ghosh August 21, 2018 11:13 am Updated on August 21, 2018

How to Install SQLLine on Ubuntu (For Big Data Tools)

Advertisement

SQLLine is a Java console based for connecting to databases to execute SQL commands. This is a helper tutorial for other guides. Here is How to Install SQLLine on Ubuntu For Using With Big Data Tools. SQLLine depends on Java Virtual Machine, JLine console reader, JDBC driver (any JDBC compliant driver can be used). Of course we can use the same way of installation on Windows 10 Bash and Android bah with Termux.

 

Steps on How to Install SQLLine on Ubuntu

 

There is probably an apt version of sqlline, probably that is backdated. You should check what your application wants. There is a Python SQLLine :

Vim
1
https://bitbucket.org/lalinsky/python-sqlline

How to Install SQLLine on Ubuntu

We are showing Java SQLLine.

Advertisement

---

Install Java virtual machine :

Vim
1
2
3
4
5
6
apt-get update && apt-get upgrade
apt-get install software-properties-common
Step 2: Add the Java repository
add-apt-repository ppa:webupd8team/java
apt-get update
sudo apt-get install oracle-java8-installer

java7 or java9 are releases are not recommended for development. Verify that Java and the Java compiler have been properly installed:

Vim
1
2
java -version
javac -version

To set the variable for your system:

Vim
1
echo "JAVA_HOME=$(which java)" | sudo tee -a /etc/environment

Reload your system’s environment variables:

Vim
1
source /etc/environment

Verify the variable was set correctly:

Vim
1
echo $JAVA_HOME

Install Apache Maven following our previous guide.

Create a directory named sqllinedir and work with Jline, sqlline from that directory. Install Jline from :

Vim
1
https://github.com/jline/jline3

These are the needed commands :

Vim
1
2
3
4
5
mkdir /opt/sqllinedir
cd /opt/sqllinedir
git clone git://github.com/jline/jline3.git
cd jline3
./build rebuild

Download your database specific JDBC driver files into that sqllinedir directory. For example, MySQL JDBC driver can found on MySQL’s site :

Vim
1
https://www.mysql.com/products/connector/

Te above step will change according to your need to use SQLLine. Final step is installing SQLLine itself. The SQLLine we are showing is fork of Marc Prud’hommeaux’s original SQLLine project on SourceForge. It is somewhat modernized :

Vim
1
2
3
git clone git://github.com/julianhyde/sqlline.git
cd sqlline
mvn package

Other matters related to SQLLine remains same. The old SourcForge reference of all commands of SQLLine is still a good place to start with :

Vim
1
http://sqlline.sourceforge.net/#sect_command_all

Probably we could omit some steps with the new forked version. However, some of the tools assumes they are installed.

Tagged With how to use sqlline , ubuntu sqlline oracle

This Article Has Been Shared 160 Times!

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to How to Install SQLLine on Ubuntu (For Big Data Tools)

  • Install Apache Kafka on Ubuntu 16.04 : Single Cloud Server

    Here Are The Steps On How To Install Apache Kafka on Ubuntu 16.04 Running One Single Cloud Server Instance. Apache Kafka

  • Install Apache Zeppelin On Ubuntu 16.04

    Zeppelin Can Be Pre-Built Package Or Can Be Build From Source. Here Is How To Install Apache Zeppelin On Ubuntu 16.04 Building From Source.

  • WordPress Interactive Python Widget For Python (Like JSFiddle For Jupyter Notebook)

    Here is WordPress Interactive Python Widget For Python With DataCamp Light For Peoples Who Hunt Something Like JSFiddle For Jupyter Notebook.

  • How To Learn Big Data For Beginners

    Many Are Interested to Learn Big Data Analytics and Other Works But Clueless Where From to Start. Here is How To Learn Big Data For Beginners.

  • How to Install Apache Ignite on Ubuntu Server

    How to Install Apache Ignite on Ubuntu Depends on the Purpose. Apache Ignite is a distributed database, also is a caching and processing platform.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Get Audiophile-Grade Music on Your Smartphone March 25, 2023
  • Simple Windows Security and Privacy Checklist for 2023 March 24, 2023
  • 7 Best Artificial Intelligence (AI) Software March 24, 2023
  • ESP32 Arduino Water Tank Level Monitoring Using Laser ToF Sensor March 23, 2023
  • Exploring the Benefits and Advantages of Microsoft’s Operating System March 22, 2023

About This Article

Cite this article as: Abhishek Ghosh, "How to Install SQLLine on Ubuntu (For Big Data Tools)," in The Customize Windows, August 21, 2018, March 25, 2023, https://thecustomizewindows.com/2018/08/how-to-install-sqlline-on-ubuntu-for-big-data-tools/.

Source:The Customize Windows, JiMA.in

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT