git init "Folder_Name" git add -A git commit -m "first commit" git remote add origin https://github.com/amrit3701/SageLaTeX.git git push -u origin master
Month: July 2015
Configure sagetex.sty or Make SageTeX known to TeX
Following are the commands in which you should be able configure sagetex.sty
kpsewhich -var-value=TEXMFHOME cp -R SAGE_ROOT/local/share/texmf/tex TEXMFHOME
where SAGE_ROOT
is, as usual, replaced with the location of your Sage installation and TEXMFHOME
is the result of the kpsewhich
command above.
Source: http://doc.sagemath.org/html/en/installation/sagetex.html
Installing LaTeX on Ubuntu
By following just one command in a terminal you should installed latest version of LaTeX
sudo apt-get install texlive-full
Solving Differential Equation Representing Simple Harmonic Motion in SageMath
print "Solving differential equation representing Simple Harmonic Motion" #Declaring mass, time and spring constant as m, t and k respectively m=var('m') t=var('t') k=var('k') #Declaring displacement is fuction of time x = function('x',t) #Assuming spring constant and mass are greater than zero assume(k>0) assume(m>0) #Writing differential equation de= diff(x,t,2)+(k*x)/m #Solving differential equation z = desolve(de,dvar=x,ivar=t) #printing the result of differential equation print(z)
Installing SageMath on ubuntu 14.04
Installing SageMath on ubuntu 14.04 by following just three step in a terminal:
sudo apt-add-repository -y ppa:aims/sagemath sudo apt-get update sudo apt-get install sagemath-upstream-binary
Joined in GD
From my presentation on Image Processing in OpenCV, all the GD members allowed to me to joined in Gd.
Opencv Installtion
Finally I installed opencv2.4.9 version on our laptop.
The given below link fully guided for installation of opencv . This link have explain all the steps of installation of opencv and why they are used in installing of opencv as step by step.
http://www.samontab.com/web/2014/06/installing-opencv-2-4-9-in-ubuntu-14-04-lts/
Unmet dependencies
After wasted two days on installation of libraries files for opencv I am getting a little bit off help from my elder brother Harman. He is explaining about the versions of libraries files and they also tells that I am not following the latest installation documentation of opencv.
I am trying to install libgtk2.0-dev as mentioned in installation documentation of opencv and error occurred as
The following packages have unmet dependencies: libgtk2.0-dev : Depends: libpango1.0-dev (>= 1.20) but it is not going to be installed Depends: libcairo2-dev (>= 1.6.4-6.1) but it is not going to be installed E: Unable to correct problems, you have held broken packages.
But when I trying the latest version of libgtk-3-0 all dependencies is solved and it is installed in my laptop.
The below following links which is used in installation of libraries files are given below :
http://www.ubuntuupdates.org/package/core/trusty/main/proposed/libgtk-3-0
https://packages.debian.org/source/sid/gtk+3.0
When I’m installing libraries file of opencv error occured “Unmet dependencies for this package” .