Wednesday, January 22, 2020
Home How to / Tips Stata missing icons on Linux

Stata missing icons on Linux [Solved]

Hello all, With an assumption that you have successfully installed Stata on your Linux system (Ubuntu, Manjaro, Debian, Fedora, Open SUSE, Linux Mint, Elementary OS, and etc..,) I further proceed on steps involved to get icons after installation. In case if you had any problem in installation follow the steps mentioned here.

Before moving on I recommend you to install Stata in the default directory that is suggested by Stata (/usr/local/stata or /usr/local/stata/stata$version)

Instructions

Step:1 Download the script from https://bitbucket.org/vilhuberl/stata-png-fix and extract its contents (you can use either zip or tar).

Step 2: Change directory to the newly extracted folder in terminal usind cd command. Make sure that you have sudo privileges. Once you have admin privileges run the following code from within the folder where you extracted the larsvilhuber’s solution:

Code:

compile-stata-png-fix.sh

During the installation process, you will have to press ENTER twice. You will have to enter your password too (in order to get the libraries we are trying to install).

Step 4: The script finalises with four suggestions for four new symlinks. You really need only one, though (assuming that you only use one version of Stata). For example, if you use Stata-mp you could do:

Code:

sudo ln -sf /usr/local/stata-png-fix/stata-png-fixed.sh /usr/local/bin/xstata-se

Step 5: Now, provided that /usr/local/bin is in your $PATH, you should be able to just type “xstata-se” to get Stata with icons.

(If you installed Stata in /usr/local/stata then you should not need to change anything. However, if you installed Stata in a different location you will have to change the directory to which the symlink points at (simply by replacing /usr/local/stata with whatever you need, like /opt/stata)).

Finally, Now if you run in a terminal “xstata-se” (the name of the symlink in /usr/local/bin) you should get Stata with icons. Hope this helps.

Source: (Stata14 Icons)

A. Sulthan
Author, Assistant Professor in Finance, Researcher and Arsenal Football Club Fan

Leave a Reply

avatar
  Subscribe  
Notify of

Founder and Author

Author, Assistant Professor in Finance, Researcher and Arsenal Football Club Fan

Stay Connected

1,624FansLike
1,358FollowersFollow
274SubscribersSubscribe

CATEGORIES

Most Popular

What is Hypothesis? What are its types and characteristics?

“Hypothesis may be defined as a proposition or a set of propositions set forth as an explanation for the occurrence of some specified group...
Indian rupee

What Is Public Provident Fund?

0
The Public Provident Fund (PPF) scheme was started by the National Savings Organization in 1968 to promote small savings. It is an extremely popular...

Example Of Compare And Contrast Essay In Apa Format

0
With just about every job, when the undertaking will come, I will think about who they are and make an energy to try...

Preview: Chelsea vs Arsenal – Premier League 2019/20

0
Chelsea will look for the Premier League double against Gunners for the fifth time (2005-06, 2009-10, 2012-13 and 2015-16). Only Liverpool and Manchester...