I am new to Linux (new as in installed it yesterday), I need it for my programming course in the university and I've been told to install specific versions of specific programs, but though I've used apt-get install to install them (having previously done apt-get update) they aren't in the correct version.
The programs that I need are make 4.0 and valgrind 3.10.1.
apt-get installs make 3.81 and valgrind 3.10.0.SVN.
I have tried typing "apt-get install make4.0" and "apt-get install valgrind10.3.1" to no avail. I have downloaded them from the internet and followed what instructions I could understand to install the newer versions but it keeps saying that I have the older ones. (I'm not sure if I can post direct links here, if I can let me know and I'll post where I got them from).
What have I been doing wrong? How can I fix this?
I am currently running Linux Mint.
Thanks for any answer in advance.
valgrind
is 3.10.1, not 10.3.1. The current version of GNU make is 4.1. You can obtain the source and then compile on your machine. It is likely to be straight-forward. Think carefully before installing the new versions over the existing software. I'd not do that; I'd create a new directory, such as/usr/gnu
or/opt/software
and place the new programs in there, and add/usr/gnu/bin
or/opt/software/bin
ahead of the standard locations in my PATH. Or you can use/usr/local
— or any other names you desire.apt-get
won't get the new versions, then they are not yet officially available to you via that mechanism. You need to decide whether the newer version is crucial to you. If not, go with what's available — what you've already got. This is by far the simplest. If you think the new version is critical, then you have to get the code yourself and compile and install it yourself. That's not very hard, but it is harder than installing prebuilt software. I have 3.11.0.SVN for the version I built (a while ago) from a clone of the SVN repository.--prefix=/opt/make
, and add thebin/
to your path. Never use the default prefix (/usr
) for anything that hasn't come through your distribution's package manager. That's just asking for trouble. If the distribution catches up, you can justrm /opt/make
.make
version 3.81 is equivalent tomake
version 4. So I would not bother installingmake-4