I'm running Ubuntu 12.04 LTS and I've followed the directions closely here:    sudo add-apt-repository ppa:libreoffice/libreoffice-4-1   sudo apt-get update   sudo apt-get dist-upgrade     to add the PPA repository and then run update / upgrade.  But when I actually run sudo apt-get upgrade I get:  Reading package lists... Done Building dependency tree        Reading state information... Done   Calculating upgrade... Done   0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.   I've downloaded the file manually (LibreOffice_4.2.1_Linux_x86-64_rpm.tar.gz) and executed it but I don't know how to fill out the command line arguments:  ~/Downloads/LibreOffice_4.2.1.1_Linux_x86-64_rpm$ ./install   Usage: ./install [-a,--add] [-l,--link] [-U,--update] [-h,--help] &lt;rpm-source-dir&gt; &lt;office-installation-dir&gt; Example: ./install . ~/libreoffice   I should probably be doing ./install -u /path/to/install/here  But how do I know where Libre Office is installed to right now? I'd like to upgrade my current version not install two side by side so I want to get these command line paramters right.
There was recently another release of , but it is  a pain to have to manually go to their website and download the packages every time there is a new release. Is there a PPA that always has the latest version of LibreOffice?
Why is disk usage greater than the size of all files on it? A does the same B as does C How do you get the index of the current iteration of a foreach loop? Identify geographic location to points I am quite new in QGIS and I really need your help.  I have a map of Kenya divided into 68 districts and I have coordinates of 30.000 schools. The points have one variable besides the latitude and longitude data called "distance to nearest school".   First I imported the map. Then I imported the spreedsheet and transformed it to a SHP file like the map. So now I have two SHP files.    The points have three variables: "Latitude", "Longitude" and "Distance to nearest school". I want to have a fourth variable called "District" and take the mean of the "Distance to nearest school" for each district. How do the tens­es and as­pects in English cor­re­spond tem­po­ral­ly to one an­oth­er? Non-na­tive speak­ers of­ten get con­fused about what the var­i­ous tens­es  and as­pects mean in English. With in­put from some of the folk here I've put to­geth­er a di­a­gram that I hope will pro­vide some clar­i­ty on the mat­ter.  I of­fer it as the first an­swer to this ques­tion. Con­sid­er it a liv­ing doc­u­ment. In­put is wel­come, and good sug­ges­tions will be  in­cor­po­rat­ed in­to the di­a­gram.    No­ta bene: What this is not is a dis­cus­sion of whether there are  more than two tens­es in English. , to which this ques­tion is not in­tend­ed to sup­ply ar­gu­ments one way or the oth­er.  Here, the aim is to pro­vide an overview of what con­struc­tions English-speak­ing peo­ple use for con­vey­ing in­for­ma­tion about ac­tions re­fer­ring to past, present, and fu­ture, and to pro­vide it first and fore­most to pre­cise­ly the peo­ple who are like­ly to use "tense" as a catch-all term in their search, rather than to lin­guists who know bet­ter.  Break­ing News There is now an ex­cel­lent ELU blog ar­ti­cle ti­tled  . It is high­ly rec­om­mend­ed read­ing. Is there another saying/idiom similar to crocodile tears? What is the best way to get a sine wave from a square wave? Find the smallest integer $n$ greater than $1$ such that the last $3$ digits of $n^2$ are the same as the last $3$ digits of $n$. Find the smallest integer $n$ greater than $1$ such that the last $3$ digits of $n^2$ are the same as the last $3$ digits of $n$.  So far I've got $n^2 = 1000k + n$ which means $n^2 ≡ n \mod 1000$. I  don't know how to proceed since 1000 seems to be a bit high. How to use AP Style commas after dates I was wondering how you are supposed to use commas after full dates in AP style. I've been told to always put a comma after the year, like in the sentence:  On April 4th, 2012, I found a cat.  However, I thought the following might be an exception:  April 4th, 2012 brought the death of my cat.  Notice how there's no comma after &quot;2012.&quot;  My teacher disagreed and told me that the AP style dictates that we always put commas after dates like that. The way I reasoned through it is by replacing the dates with the word &quot;Monday&quot;  On Monday, I found a cat. Monday brought the death of my cat.  And you wouldn't write  Monday, brought the death of my cat.  TL;DR Which one is correct?  April 4th, 2012 brought the death of my cat.  or  April 4th, 2012, brought the death of my cat. To find:  $$\int \sqrt{1+\sin(x)} dx$$  What I  tried:  I put $\tan(\frac{x}{2}) = t$, using which I got it to:  $$I = 2\int \dfrac{1+t}{(1+t^2)^{\frac{3}{2}}}dt$$  Now I am badly stuck. There seems no way to approach this one. Please give a hint. Also, can we initially to some manipulations on the original integral to make it easy? Thank you. Let $V,W$ be nonzero normed spaces over $\mathbb{K}$ such that $V$ is finite-dimensional.  Let $E$ open in $\mathbb{K}$ and $p\in E$.  Let $f:E\rightarrow W$ be Gâteaux-differentiable at $p$.  Is $f$ necessarily Fréchet-differentiable at $p$ in this case?  I think this is not true in general, but cannot find a counterexample. What would be a counterexample? Problems with # inside a verbatim that's inside a note I'm trying to use a # character inside a verbatim that's inside a note :   \begin{frame}[fragile]  \note{\begin{verbatim}  # \end{verbatim} }  \end{frame}   This produces the following errror :   >   ! Illegal parameter number in definition of \beamer@todo. >    to be read again>  >                     >   l.5 }   How can I write the # character in a way that doesn't break the latex compilation ?  Thanks in advanced,  PS : This is related to the following problem in pandoc : I would like to draw a squiggly line with an arrow somewhere in the middle of it. TikZ has a pathmorphing decoration that draws a squiggly line and a markings decoration to place an arrow tip. So a solution would be to use them together:  \documentclass{article} \usepackage{tikz} \usetikzlibrary{decorations,decorations.pathmorphing,decorations.markings} \begin{document}  \begin{tikzpicture}  \draw[          decoration={snake},          decorate,          postaction={decoration={markings,mark=at position 0.6 with {\arrow{>}}},decorate}      ]         (0,0) -- (2,0); \end{tikzpicture}  \end{document}   Unfortunately this does not work and results in  ! Dimension too large. &lt;to be read again&gt;                     \relax  l.11         (0,0) -- (2,0);   I suspect there is an infinite recursion going on somewhere.  Is there a workaround? If not, is there a different simple solution to the problem?  (Note: This is probably related to my previous question ) Selecting the right crank length What is the best way to determine the correct crank length for my height and more specifically my leg length? Can I clear an area of my prison for everyone BUT max security prisoners? Find the number of dissimilar terms in the expansion of $$\bigg(x+\frac{1}{x}+x^2+\frac{1}{x^2} \bigg)^{20}$$  Could someone give me some hint to proceed in this question. I used $x+1/x=t$ and wrote expansion as $(t^2+t-2)^{20}$ but even this does not convey much information. Please help. If $p$ and $q = 2p + 1$ are both odd primes, show that $-4$ and $2(-1)^{(1/2)(p-1)}$ are both primitive roots modulo $q$.   I cannot get heads nor tails of how to even start this let alone finish it How to update textbox in form1 from form2? I ran into this site:  But I can't find it on here:  Is it even an &quot;official&quot; Stack Exchange project? (This question is meant to be a resource to direct others to given that this is a common question.)  Given the task of creating an image that will be printed at a certain size, what pixel dimensions and resolution should I be setting my file at?