Linux – cent-OS – Application – Installed Location & Application Name – “Azure Data Studio”

Background

Yesterday evening I installed Microsoft’s Azure Data Studio on a Linux Cent-OS box.

Use It

Naturally, I wanted to start using it.

But, I couldn’t find it.

OS

MS Windows

In MS Windows, I will simply access the Start button and trek the start menu.

Linux – Cent-OS

My Cent-OS does not have a start menu.

Find Application – GUI

Show Applications

Finally rediscovered, “Find Applications“.

showApplications-01.20200509.0105AM.png

Find Application – Console

ps
Syntax
ps -aux
Sample
ps -aux | grep -i azure
Output – Image

ps.aux.20200509.014426.png

Output – Text
>ps -aux | grep azure
daniel   17025  0.1  3.1 881412 122156 tty2    Sl+  01:18   0:01 /usr/share/azuredatastudio/azuredatastudio --no-sandbox --unity-launch
daniel   17028  0.0  1.1 381976 42092 tty2     S+   01:18   0:00 /usr/share/azuredatastudio/azuredatastudio --type=zygote --no-sandbox
daniel   17052  0.0  2.6 588368 102716 tty2    Sl+  01:18   0:00 /usr/share/azuredatastudio/azuredatastudio --type=gpu-process --field-trial-handle=11470576150820658683,5595055618610545336,131072 --disable-features=LayoutNG,SpareRendererForSitePerProcess --disable-color-correct-rendering --no-sandbox --gpu-preferences=KAAAAAAAAAAgAAAgAAAAAAAAYAAAAAAAEAAAAAAAAAAAAAAAAAAAAAgAAAAAAAAA --service-request-channel-token=10788058794635579814
daniel   17065  0.0  1.7 454040 66152 tty2     Sl+  01:18   0:00 /usr/share/azuredatastudio/azuredatastudio --type=utility --field-trial-handle=11470576150820658683,5595055618610545336,131072 --disable-features=LayoutNG,SpareRendererForSitePerProcess --lang=en-US --service-sandbox-type=network --no-sandbox --standard-schemes --secure-schemes=vscode-resource --bypasscsp-schemes --cors-schemes=vscode-resource --fetch-schemes=vscode-resource --service-worker-schemes --service-request-channel-token=5693199771022227349 --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
daniel   17071  0.2  5.6 922792 214944 tty2    SLl+ 01:18   0:03 /usr/share/azuredatastudio/azuredatastudio --type=renderer --disable-color-correct-rendering --no-sandbox --field-trial-handle=11470576150820658683,5595055618610545336,131072 --disable-features=LayoutNG,SpareRendererForSitePerProcess --lang=en-US --standard-schemes --secure-schemes=vscode-resource --bypasscsp-schemes --cors-schemes=vscode-resource --fetch-schemes=vscode-resource --service-worker-schemes --app-path=/usr/share/azuredatastudio/resources/app --node-integration --webview-tag --no-sandbox --no-zygote --background-color=#fffffe --num-raster-threads=2 --enable-main-frame-before-activation --service-request-channel-token=85917687978537366 --renderer-client-id=5 --no-v8-untrusted-code-mitigations --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
daniel   17125  0.0  3.3 760744 128740 tty2    Sl+  01:18   0:01 /usr/share/azuredatastudio/azuredatastudio --inspect-port=0 /usr/share/azuredatastudio/resources/app/out/bootstrap-fork --type=extensionHost
daniel   17154  0.0  1.9 3398560 73464 tty2    SLl+ 01:18   0:01 /usr/share/azuredatastudio/resources/app/extensions/mssql/sqltoolsservice/Linux/2.0.0-release.56/MicrosoftSqlToolsServiceLayer --log-file /home/daniel/.config/azuredatastudio/logs/20200509T041826/exthost1/Microsoft.mssql/sqltools.log --tracing-level Critical
daniel   17155  0.0  1.1 2999444 44376 tty2    SLl+ 01:18   0:00 /usr/share/azuredatastudio/resources/app/extensions/mssql/sqltoolsservice/Linux/2.0.0-release.56/MicrosoftSqlToolsCredentials --log-file /home/daniel/.config/azuredatastudio/logs/20200509T041826/exthost1/Microsoft.mssql/credentialstore.log --tracing-level Critical
daniel   17156  0.0  1.2 3001144 47140 tty2    SLl+ 01:18   0:00 /usr/share/azuredatastudio/resources/app/extensions/mssql/sqltoolsservice/Linux/2.0.0-release.56/SqlToolsResourceProviderService --log-file /home/daniel/.config/azuredatastudio/logs/20200509T041826/exthost1/Microsoft.mssql/resourceprovider.log --tracing-level Critical
daniel   17190  0.0  2.9 741444 113644 tty2    Sl+  01:18   0:00 /usr/share/azuredatastudio/azuredatastudio --type=renderer --disable-color-correct-rendering --no-sandbox --field-trial-handle=11470576150820658683,5595055618610545336,131072 --disable-features=LayoutNG,SpareRendererForSitePerProcess --disable-gpu-compositing --lang=en-US --standard-schemes --secure-schemes=vscode-resource --bypasscsp-schemes --cors-schemes=vscode-resource --fetch-schemes=vscode-resource --service-worker-schemes --app-path=/usr/share/azuredatastudio/resources/app --node-integration --no-sandbox --no-zygote --background-color=#fffffe --disable-blink-features=Auxclick --num-raster-threads=2 --enable-main-frame-before-activation --service-request-channel-token=9433191001804075121 --renderer-client-id=7 --no-v8-untrusted-code-mitigations --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
daniel   19104  0.0  0.0  12108   988 pts/0    S+   01:43   0:00 grep --color=auto azure

Explanation
  1. Column
    • Column – Command
      • /usr/share/azuredatastudio/azuredatastudio
rpm -qa
Outline

List packages => Vendor and package name

Syntax
rpm -qa --qf '%{VENDOR} => %{NAME}\n'
Sample
rpm -qa --qf '%{VENDOR} => %{NAME}\n' | grep -i 'Microsoft'
Output – Image

rpm.qa.qf.01.20200509.0255AM

Output – Text

>rpm -qa --qf '%{VENDOR} => %{NAME}\n' | grep -i 'Microsoft'
Microsoft Corporation => azuredatastudio

Explanation
  1. packages
    • Microsoft
      • azuredatastudio

rpm -ql

List package

Syntax
rpm -ql [package]
Sample
rpm -ql azuredatastudio | grep '/bin/'
Output – Image

rpm.qa.png

Output – Text
>sudo rpm -ql azuredatastudio | grep '/bin/'
/usr/share/azuredatastudio/bin/azuredatastudio
/usr/share/azuredatastudio/resources/app/extensions/big-data-cluster/node_modules/detect-libc/bin/detect-libc.js
/usr/share/azuredatastudio/resources/app/extensions/big-data-cluster/node_modules/mkdirp/bin/cmd.js
/usr/share/azuredatastudio/resources/app/extensions/big-data-cluster/node_modules/mkdirp/bin/usage.txt
/usr/share/azuredatastudio/resources/app/extensions/big-data-cluster/node_modules/semver/bin/semver
/usr/share/azuredatastudio/resources/app/extensions/mssql/node_modules/detect-libc/bin/detect-libc.js
/usr/share/azuredatastudio/resources/app/extensions/mssql/node_modules/mkdirp/bin/cmd.js
/usr/share/azuredatastudio/resources/app/extensions/mssql/node_modules/mkdirp/bin/usage.txt
/usr/share/azuredatastudio/resources/app/extensions/mssql/node_modules/semver/bin/semver
/usr/share/azuredatastudio/resources/app/node_modules.asar.unpacked/vscode-ripgrep/bin/rg
>

Explanation
  1. Artifact
    • /usr/share/azuredatastudio/bin/azuredatastudio

Summary

In Cent-OS, to initiate “Azure Data Studio“, here are your options:-

  1. GUI
    • Show Applications
  2. Console
    • Change folder to /usr/share/azuredatastudio/bin
    • Initiate azuredatastudio

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s