Tag Info

New answers tagged

1

There are many ways to find whether a package is installed or not in Ubuntu. For example if we want to find whether vim is installed or not in Ubuntu we can use any of the following commands: dpkg -s vim dpkg --get-selections | grep 'vim' #I always prefer this one as it shows other packages that has the pattern `vim` in their names, very useful in some ...


-1

For saving the entire output of dpkg -l to a file: dpkg -l > ~/Desktop/packages and open with a text editor: nano ~/Desktop/packages


2

You can list all installed packages via dpkg like this dpkg -l You can then pipe that through grep to only find the things you are interesting in: dpkg -l | grep libgmp10 Or you can be less specific in your grep dpkg -l | grep libgmp Grep will find any line in the output with that string. Installing is easy also sudo apt-get install ...


1

Use sudo apt-get install $package-name1 $package-name2 $package-name3, as many packages as you want. If they are already installed, it will say $package-name is already the newest version.


0

You can install GMP with sudo apt-get install libgmp3-dev MPFR sudo apt-get install libmpfr-dev MPC sudo apt-get install MPC


1

$ grep max_align_t /usr/include/c++/* -r /usr/include/c++/4.9/cstddef: using ::max_align_t; /usr/include/c++/4.9.2/cstddef: using ::max_align_t; /usr/include/c++/v1/cstddef: max_align_t /usr/include/c++/v1/cstddef:typedef long double max_align_t; /usr/include/c++/v1/ are files from libc++-dev so we need clang to use libc++ Simple compiler switch ...


1

You need to actually run the file: Make sure the file is executable (you can learn more about file permissions here). If gcc succeeds in linking it should already be executable (thanks @steeldriver): chmod +x remvocals Execute the file: ./remvocals


0

First of all, are you sure you mean JDK7? That came out quite a while ago. We're late into JDK8. Second, have you tried installing ia32-libs yet? It has technically been removed from the central repos (Canonical, etc.); but its jobs is to act as a crutch for strictly 32-bit programs that need to run on 64-bit systems. Details here: How to compile and ...


1

I don't know if it build correctly, but I was able to build TAUCS 2.2 on 32-bit Ubuntu 12.04 using gfortran as follows Download the Version 2.2 of the code, with external libraries, tgz format wget http://www.tau.ac.il/~stoledo/taucs/2.2/taucs_full.tgz Unpack it in your chosen location mkdir taucs_full tar xvf taucs_full.tgz -C taucs_full cd ...


1

The executable is not found because the directory it is in is not on your executable search path $PATH.To run it directly, you need to prepend either a relative path ./a.out or an absolute path /home/jim/a.out


0

This isn't a genuine fix, but a workaround. The correct course of action is to install gcc-multilib, with apt-get install gcc-multilib


0

The error points line 2128 of bow/libbow.h extern struct argp_child bow_argp_children[]; It means that struct argp_child is not defined. I noticed that in line 1346 there is a forward declaration of the structure. struct argp_child; /* forward declare this type */ The full declaration of the structure is in line 245 of argp/argp.h To resolve ...


0

Path to fix posted to the StackOverflow question linked above. export COB_LDFLAGS='-Wl,--no-as-needed' is the easy fix to get around this change to linker optimization. The real fix will be a little deeper, but Petesh offered the hint that fills the immediate need.


0

It looks like your dpkg-dev and gcc packages aren't up to date enough for the build process. Try: sudo apt-get update sudo apt-get install gcc4.9 sudo apt-get upgrade dpkg-dev And then do your backportpackage again to see if it's any better. As it looks like that build process is looking for gcc 4.9, thus the second command


1

A similar phenomenon had occurred and was solved. Built and installed gcc-4.9.2 Built another software. No problem. Built and installed binutils-2.25 gcc failed with ..../bin/as: unrecognized option: `-xarch=generic' Renamed /usr/local/i386-pc-solaris2.11/ with different name, which was installed by binutils including bin/as gcc succeeded This is my ...



Top 50 recent answers are included