gdlib-config Ubuntu 16.04 / Ubuntu 18.04 - ubuntu-16.04

I'm on a W10 Host using VirtualBox. I had set up two virtual environments : Ubuntu 16.04 and Ubuntu 18.04.
I'm trying to install the GD perl module. For this I need the gdlib-config file.
I'm able to get it with Ubuntu 16.04 using the following :
$whereis gdlib-config
gdlib-config:
$sudo apt-get install libgd-dev
$whereis gdlib-config
gdlib-config: /usr/bin/gdlib-config /usr/share/man/man1/gdlib-config.1.gz
Same command lines under Ubuntu 18.04 :
$whereis gdlib-config
gdlib-config:
$sudo apt-get install libgd-dev
$whereis gdlib-config
gdlib-config:
Both libgd-dev installations ends successfully
Where can I get the gdlib-config for Ubuntu 18.04 ? Why did they remove gdlib-config file from the libgd-dev library ?
Thanks

Related

Prebuilt sparc bare metal cross compiler not working

Downloaded a prebuilt cross compiler sparc-elf-4.2.2 and has set the PATH to sparc-elf-4.4.4/bin after which i ran sparc-elf-gcc -o matrixmul matrixmul.c on the terminal only to find the following response
/home/root/sparc-elf-4.4.2/bin/sparc-elf-gcc: No such file or directory
I have no idea as to why this response .
I just ran into the same problem. Turned out that that my OS is a 64-Bit Ubuntu System and the compiler is a 32-Bit program.
I followed the instructions given here https://askubuntu.com/questions/454253/how-to-run-32-bit-app-in-ubuntu-64-bit :
To run a 32-bit executable file on a 64-bit multi-architecture Ubuntu
system, you have to add the i386 architecture and install the three
library packages libc6:i386, libncurses5:i386, and libstdc++6:i386:
sudo dpkg --add-architecture i386
Or if you are using Ubuntu 12.04 LTS (Precise Pangolin) or below, use this:
echo "foreign-architecture i386" > /etc/dpkg/dpkg.cfg.d/multiarch
Then:
sudo apt-get update
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386
If fails, do also
sudo apt-get install multiarch-support
After these steps, you should be able to run the 32-bit application:
./example32bitprogram

Install swift 4 on bash on Ubuntu on Windows 10

I try to install Swift 4 on bash on Ubuntu on Windows 10
My version of Ubuntu:
me#DESKTOP:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
I did apt-get upgrade and apt-get update
I follow Linux steps here: to install Swift 4
Eventually I end up with the error:
me#DESKTOP:~$ swift
/home/me/swift4/swift-4.0.2-RELEASE-ubuntu16.04/usr/bin/lldb: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory
I have python2 installed:
me#DESKTOP:~$ python2 --version
Python 2.7.12
I wonder how to make it works.
Installing libpython2.7 successfully resolves the error
$ apt-get install libpython2.7
However it still failed to launch the swift repl due to kernel permissions issue.
Using docker image (or Virtual Box like OP) is a better way to go.
reference
https://bugs.swift.org/browse/SR-2743

Install robo3t on Ubuntu 16.04 LTS issue

I've tried to install robo3t in Ubuntu 16.04 LTS. When I run command ./robo3t, I received an error:
./robo3t: error while loading shared libraries: /home/robo3t-1.1.1-linux-x86_64-c93c6b0/bin/../lib/libQt5Network.so.5: file too short
Please help me resolve this issue! Thanks all
vist https://askubuntu.com/questions/386281/error-while-loading-shared-libraries-libglu-so-1
below command in my aws ubuntu 16.04 instance solved for me
sudo apt-get install libglu1

How to run 32 bit eclipse in Ubuntu 16.04 64 bit machine?

I have installed Ubuntu 16.04 64 bit. i am unable to run 32 bit applications like eclipse.I tried to install ia32-libs packages.But it shows there is no packages available.How to solve this problem ?
i have successfully installed ia32-libs by following steps in Ubuntu 14.04.But the same steps not working in Ubuntu 16.04
sudo -i
cd /etc/apt/sources.list.d
echo "deb http://archive.ubuntu.com/ubuntu/ precise main restricted
universe multiverse" >ia32-libs-raring.list
apt-get update
apt-get install ia32-libs
rm /etc/apt/sources.list.d/ia32-libs-raring.list
apt-get update
exit

Installing iCub (Humanid) simulator on Linux mint 17

Can anybody tell me the procedure for installing iCub (humanoid) simulator on Linux mint 17 operating system. It seems they have only got the instruction procedure for Linux version of Debian and Ubuntu on their website.
Thanks
Lekan
Linux Mint 17 is derived from Ubuntu 14.04. So you can use the same installation procedure for the Ubuntu to Linux Mint. Steps for the same are given below.
Open terminal and enter the following command.
sudo sh -c 'echo "deb http://www.icub.org/ubuntu trusty contrib/science" > /etc/apt/sources.list.d/icub.list'
sudo apt-get update
sudo apt-get install icub
For more information follow the link iCub Installation procedure for Linux