4th Street Bar Hive-Bar

Hive-Bar Powered by Hive beta-fdb5b5b

Community post

Tutorial- How to install steem python and use steem CLI on Ubuntu 16.04

Today I'll show you how to install official steem python library on Ubuntu 16.04

You can also run it on any flavor of linux like centOS , fedora etc. If you dont have one check here to run it as virtual player on windows machine.

For steem python we need python 3.5 or higher, lucky for us ,ubuntu 16.04 already has python 3.5 built-in.

Now we need to go to terminal and type following commands:

sudo apt-get update

![1.PNG](https://steemitimages.com/DQmWpS5rGUAy6aYBDVDmjYuP1wX57WJM6y54t2xnpEiFESv/1.PNG)

Install ssl library:

sudo apt-get install libssl-dev

![2a.PNG](https://steemitimages.com/DQmZGnqGTcnarkpSJ9zbCC9qh3BWhSba889nDWYbvG763yA/2a.PNG)

Next we need to install pip:

sudo apt-get install -y python3-pip

![3.PNG](https://steemitimages.com/DQmNsxCH5EdbFwLkQh438Vx4MDhgf4v6ZmMFT4J3jKHVbCr/3.PNG)

Its time to install steem python, note this should take more than a minute:

pip3 install -U steem

![4.PNG](https://steemitimages.com/DQmSexRRFiZqHn9BTG9bGdxUdZ63vauY8S5DWPi35MKdKjM/4.PNG)

Now that we have steem python installed, lets import our steemit acccount:

steempy import <accountname>

It will prompt you to enter your steemit password, after that you will have to create a local steempy password, confirm it and voila, you have successfully imported your steemit account.

5.PNG

Now that you have your account imported ,you can do lots of fun stuff, to get started with list of commands:

steempy -h

![6.PNG](https://steemitimages.com/DQmTtGLBrevvgxkDHb8L2DtpkGjDAz72DozzobV43AHdB15/6.PNG)

Go ahead and play around :)


Upvote and share if this was helpful
83 upvotes $1.81

Replies (17)

Review before signing

Posting as . Signing with . Keychain permission: Posting. Hive Keychain will ask you to approve this action next.


  
Technical details

Operation fingerprint: