How to uninstall MPICH in linux (Ubuntu)? - linux

I have manually downloaded and installed MPICH from MPICH.org using the cookbook starting from section 2.2. But now I want to remove it. Does anybody have an idea how to uninstall it correctly, so I can reinstall another version? I have googled but have not found an answer that I can use.
"sudo apt-get remove mpich" doesn't remove the manually installed version.
My OS is Linux Mint 17.1, and the mpich version is 3.2
I don't think I can use this thread Ubuntu 12.04 and MPICH performance

Related

How to install riscv-tools older version using Homebrew

I need to use riscv64-unknown-elf-gdb with Clion (on Mac) that is currently supporting only up to version 9.2, I have installed riscv-tools using brew install riscv-tools as instructed here and got the latest version which is 10.1.
After that, I tried brew install riscv-tools#9.2.0 but got: No available formula or cask with the name "riscv-tools#9.2.0"
Is there any way to install a specific older version?
And how bad it is to use an usupported version of gdb with Clion? so far it seems to be working anyway.
A solution in Linux will also be very appreciated.
If you want to get gdb 9.2, you can easily get it from https://ftp.gnu.org/gnu/gdb/ where gdb 9.2 already support risc-v.

Cannot upgrade libc6, "Already newest version"

I have recently installed Linux Mint on a new machine and I am trying to download virtual box.
The problem is it won't download because of this error:
Error: Dependency is not satisfiable: libc6 (>=2.27)
When I run:
sudo apt-get install libc6
It tells me
libc6 is already the newest version (2.23-0ubuntu10).
When I update the cache of my software sources I get the message that it could not download all repository indexes so I assume it might be related to that but I have no idea how to fix it.
Sometimes it happens when you try to run the wrong version (build) of the application in your system.
As an example, the current Virtualbox version is 6.1.22. And I download it for the Ubuntu 19.10 / 20.04 / 20.10 / 21.04 host because there is no separate download link available for Linux Mint distribution. But my Linux Mint distribution is 19.3 cinnamon and Mint 19.3 is based on Ubuntu 18.04 LTS. So, the Virtualbox version which is built for Ubuntu 20.04, 20.10, 21.04 is not going to work for the distribution which is using Ubuntu 18.04. This is the reason for getting ( Error: Dependency is not satisfiable: libc6 (>=2.29) ) error.
When I downloaded the Virtualbox which is particularly built for Ubuntu 18.04 everything worked fine :)
For more clarity watch this video https://www.youtube.com/watch?v=1K2zx32tBwA
OR, just download the VirtualBox from the Software Center. that will work fine too.
I couldn't solve the issue but I managed to download virtual box through the software manager.

Error while installinng libimobiledevice in ubuntu 14.04

After installing libimobiledevice in ubuntu 14.04, when I run command 'ideviceinfo' it is generating error
'Could not connect to lockdownd, error "code -5"'
I have other dependencies - build-essential
libudev-dev,
libimobiledevice6,
libimobiledevice-utils,
libusb-1.0-0-dev,
libimobiledevice-dev,
libzip-dev
Correctly installed with no error.
Can I get some advices about the error ?
You didn't mention how you acquired libimobiledevice - did you install it via apt-get or did you compile it from source?
Ubuntu 14.04 ships with a very old version of libimobiledevice, and there have been changes made to libimobiledevice to provide compatibility with newer versions of iOS which are probably not in Ubuntu 14.04.
We host a PPA which provides up-to-date builds of libimobiledevice; currently only for Ubuntu 16.04 though. You can find it at https://launchpad.net/~quamotion/+archive/ubuntu/ppa/+packages .
Let me know if you need help configuring the PPA and installing the latest libimobiledevice.

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.

installing mpich2 always installs me mpich

I have mpif90 for MPICH version 3.0.4, but I want to remove it and install mpich2. There is a problem with the dislin library, so I need mpich2.
While on my debian distro sudo apt-get install mpich2 installs me mpif90 for MPICH2 version 1.4.1 (it is the right one I need), if I run (on Ubuntu where I already have MPICH version 3.0.4) sudo apt-get remove libmpich10 libmpich-dev and then sudo apt-get install mpich2 it still installs mpif90 for MPICH version 3.0.4
How can I do?
UPDATE 1
Thanks. But if I try to install it with dpkg -i mpich2_1.4.1-1ubuntu1_amd64.deb I first have to remove the previous version 3.0.4, because they are in conflict.
I remove it, I try to install the 1.4.1 but there are unsolved dependencies (libmpich2-3 -1.4.1 NOT INSTALLABLE, libcr0 NOT INSTALLED, libhwloc4, hwloc-nox). So as suggested I run apt-get -f install but it installs 3.0.4
On Debian it works fine, 64 bit, wheezy release. On Ubuntu 14.04, 64 bit, it doesn't work.
You are asking how you can downgrade vendor-packaged mpich-3.0.4 to mpich2-1.4.1
Debian and Ubuntu make upgrading really easy. Downgrading is a little tricky and might require pinning a package, rebuilding an old .deb for a newer platform, or you can just build MPICH2-1.4.1 from source.
Debian: https://packages.debian.org/wheezy/mpich2
Ubuntu: http://packages.ubuntu.com/precise/mpich2
Source: http://www.mpich.org/static/downloads/1.4.1/
A word of caution: if you ask anybody for help with MPICH2-1.4, the very first thing you are going to hear is "wow, that is 2 years old. can you try the latest version?"

Resources