How to update lua package on ubuntu? - linux

When i try ./configure i got this :
checking for LUA... configure: error:
Package requirements (lua >= 5.1.3)
were not met:
Requested 'lua >= 5.1.3' but version of Lua is 5.1.2
So i try to update lua with remove and new install but still does not work
~/lsyncd-2.0.3# lua -v Lua 5.1.2
Copyright (C) 1994-2007 Lua.org, PUC-Rio
How can i update the package to 5.1.4 ?
(I am on ubuntu 8.04)
Thanks :)

8.04 is pretty old in Ubuntu years. If Lua 5.1.3 or 5.1.4 don't show up on synaptic ("package manageer"), then chances are that they have not been backported to 8.04. The best remedy would be for you to upgrade your Ubuntu system to the latest LTS version, which is 10.04 Lucid Lynx. There should be an option or button on your update manager or package manager.
The newer Ubuntu will provide a recent Lua.

Related

Ubuntu: install latest version of package

I'm working with Ubuntu 14.04 and I need to use stress-ng.
If I type: apt-cache policy stress-ng
I obtain:
stress-ng:
Installed: 0.03.15-1~ubuntu14.04.1
Candidate: 0.03.15-1~ubuntu14.04.1
Version table:
*** 0.03.15-1~ubuntu14.04.1 0
100 http://mirror.switch.ch/ftp/mirror/ubuntu/ trusty-backports/universe amd64 Packages
100 /var/lib/dpkg/status
So if I run apt-get install stress-ng, it downloads version 0.03.15.
Unfortunately, this version does not allow me to do some things which are present in the last one, 0.07.16, supported by Ubuntu 17.04.
How can I do to use this latest version on 14.04?
You can add the repositories of the newer release to sources.list,and use apt-pinning,this is an advanced feature to install packages from a newer version of Ubuntu.
Check out Pinning.
Pinning is a process that allows you to remain on a stable release of
Ubuntu (or any other debian system) while grabbing packages from a
more recent version.
Note however that the processes described below will only work if
things like libc6 versions match, so you should probably not do this
on an Ubuntu system. I strongly recommend you look at UbuntuBackports
before doing this.
Also you can just download the package and make install.
Hope this helps.

install glibc.i386 on x64 centos 6.4

I have CentOS 6.4 x64 but I need a glibc.i386 to run the Cadence Virtuoso application.
I tried yum install glibc.i386
but what I get is "No package glibc.i386 available."
How can I have this package?
I tried yum install glibc
but I got this "Package glibc-2.12-1.166.el6_7.3.i686 already installed and latest version Nothing to do"
but I need glibc.i386
Use yum install glibc - CentOS will do the rest
What makes you think glibc.i386 is not present?
Odds are good LD_LIBRARY_PATH just needs to be updated to include the 32-bit glibc libraries (and possibly exclude the 64-bit) when you're trying to run Cadence Virtuoso.

Using gcc 4.8 or newer with RedHawk

I am running RedHawk 1.10 on CentOS6.5 which uses gcc 4.4.7, but I am interested in a more recent version of gcc such as 4.8 or 4.9. I know that newer versions can be installed. Has anyone had experience using these with RedHawk? Are there any problems?
I believe Redhawk has had some mild testing on Ubuntu 14.04 LTS, which I think has gcc 4.8.2 as its default.
Should you run into any compilation issues, you should open tickets on the github page.

libsdl2-image-2.0-0 on Ubuntu 10.04.3 LTS

I am trying to install libsdl2-image-2.0-0 on Ubuntu 10.04.3 LTS and I am getting this error: "Error: Dependency is not satisfiable: libc6 (>= 2.14)"
I have "upgraded" to the latest version of Linux already and it wasn't my cup of tea. I ended up reinstalling Ubuntu 10.04.3 LTS.
All of that said, how can I get SDL 2.0 to work on this version of Linux? Thanks!
SDL2 is really new in the repository. Even in the newest release of Ubuntu, we got SDL2, SDL2-image but not SDL2-ttf.
So you got two choice :
1 - You need to compile the entire library yourself.
2 - Update your distribution, but your will still need to compile sdl2-ttf, because it's not in the official repository at the moment.

How can I upgrade RPM version 4.4.* to RPM version 4.8.*?

I am getting error below when I am trying to install a package on CentOS 5. After some research it seems like my RPM version needs to be upgraded; How can I upgrade RPM version 4.4.2.3 to RPM version 4.8.0?
#sudo rpm -ivh test.1.0.0.noarch.rpm
error: Failed dependencies:
rpmlib(FileDigests) <= 4.6.0-1 is needed by test.1.0.0.noarch
rpmlib(PayloadIsXz) <= 5.2-1 is needed by test.1.0.0.noarch
#rpm --version
RPM version 4.4.2.3
The problem most likely is that your rpm was built on an CentOS 6 machine and it cannot be install on CentOS 5. You are seeing the exact message as shown by the Red Hat website solutions page titled "RPM Compatibility from Red Hat Enterprise Linux (RHEL) 6 to RHEL 5 and earlier" at web address https://access.redhat.com/site/solutions/41415.
By upgrading to a newer distribution. RPM is a core part of Fedora/Red Hat/CentOS and upgrading it is close to impossible in my experience. It should not be attempted.

Resources