• 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 962 Times!

Facebook Twitter Pinterest
Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Orthopaedic 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

You can subscribe to our Free Once a Day, Regular Newsletter by clicking the subscribe button below.

Click To Subscribe

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 (21K Followers)
  • Twitter (5.3k 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

  • Why Not to Use Your Host for Email Marketing March 5, 2021
  • What You Need to Know About the Microservices March 4, 2021
  • Fix Missing/Bad FileProvider for Freshchat (Android error code 354) March 3, 2021
  • Basics of Data Protection on the Internet March 2, 2021
  • What is Standard Software February 28, 2021

 

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 6, 2021, https://thecustomizewindows.com/2018/08/how-to-install-sqlline-on-ubuntu-for-big-data-tools/.

Source:The Customize Windows, JiMA.in

 

This website uses cookies. If you do not want to allow us to use cookies and/or non-personalized Ads, kindly clear browser cookies after closing this webpage.

Read Cookie Policy.

PC users can consult Corrine Chorney for Security.

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

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

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