Last active
July 4, 2018 16:08
-
-
Save Mahedi-61/7e8738609c5df83618874c77fadba2c5 to your computer and use it in GitHub Desktop.
this gist contains necessary steps for installing research work tools like LaTeX, R and other useful library.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### install latex for writing research paper | |
sudo apt-get update | |
sudo apt-get install texlive | |
# for extra (language) packages type following command instead of above | |
sudo apt-get install texlive-full | |
# Other useful packages (** optional) | |
# don't install if you have one or less space in disk | |
sudo apt-get install ibus | |
sudo apt-get install rcs rcs-latex | |
# for latex editor i prefer texStudio | |
sudo apt-get install texstudio | |
## For complete uninstallation | |
sudo apt-get purge texlive* | |
sudo apt autoremove | |
sudo apt-get remove tex-common --purge | |
sudo rm -rf /usr/local/texlive/* | |
sudo rm -rf /usr/local/share/texmf | |
sudo rm -rf /var/lib/texmf | |
rm -rf ~/.texlive* | |
### install r for making graphs | |
sudo apt-get update | |
sudo apt-get install r-base r-base-dev | |
# for r editor i prefer rStudio | |
sudo apt-get install gdebi-core | |
wget https://download1.rstudio.org/rstudio-0.99.896-amd64.deb | |
sudo gdebi -n rstudio-0.99.896-amd64.deb | |
# for converting pdf to image in eps format | |
pdf2ps -eps -level3 input.pdf output.eps | |
# pdfcrop comes from sudo apt-get install texlive-extra-utils | |
# If you wish to crop a pdf with (left, top, right and bottom margins) in points then run | |
pdfcrop --margins '-50 -50 -50 -50' input.pdf output.pdf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment