Tag Info

Hot answers tagged

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

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

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 ...


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

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


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

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


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.



Only top voted, non community-wiki answers of a minimum length are eligible