Monday, August 14, 2017

Julia - Language - Install Juno Text Editor

To Install Juno text editor, first install Atom text editor, created by GitHub. Download the Debian package of Atom from the link: https://atom.io/

Download Atom text editor:

$ wget https://atom-installer.github.com/v1.19.2/atom-amd64.deb
--2017-08-21 17:26:25--  https://atom-installer.github.com/v1.19.2/atom-amd64.deb
Resolving atom-installer.github.com (atom-installer.github.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to atom-installer.github.com (atom-installer.github.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 83638506 (80M) [application/octet-stream]
Saving to: ‘atom-amd64.deb’

atom-amd64.deb                                     100%[================================================================================================================>]  79.76M  1.87MB/s    in 43s     

2017-08-21 17:27:10 (1.85 MB/s) - ‘atom-amd64.deb’ saved [83638506/83638506]

$

Now install using the dpkg utility of debian / ubuntu / linux mint:

$ sudo dpkg -i atom-amd64.deb 
Selecting previously unselected package atom.
(Reading database ... 174639 files and directories currently installed.)
Preparing to unpack atom-amd64.deb ...
Unpacking atom (1.19.0) ...
dpkg: dependency problems prevent configuration of atom:
 atom depends on git; however:
  Package git is not installed.

dpkg: error processing package atom (--install):
 dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Errors were encountered while processing:
 atom

We can see that there were some errors due to missing dependencies. Hence to resolve them, let us run:

 $ sudo apt-get install -f

This will install atom. To confirm, let us run the following commands:

$ which atom
/usr/bin/atom

$ atom --version
Atom    : 1.19.0
Electron: 1.6.9
Chrome  : 56.0.2924.87
Node    : 7.4.0


In Atom, go to Settings (Ctrl ,, or Cmd , on OS X) and go to the "Install" panel.

Type uber-juno into the search box and hit enter. Click the install button on the package of the same name.

Atom will then set up Juno for you, installing the required Atom and Julia packages. Once the setup is done you're good to go!





No comments:

Post a Comment