How to upgrade lcov if you already have one in ubuntu? - upgrade

I have lcov installed on my ubuntu 10.1. My lcov version is 1.8, how do I upgrade to the latest version, which is 1.9?

I just installed the .deb from Natty: http://packages.ubuntu.com/natty/lcov
Download and install it with:
wget http://mirrors.us.kernel.org/ubuntu//pool/universe/l/lcov/lcov_1.9-2_all.deb
sudo dpkg -i lcov_1.9-2_all.deb
I did this on 10.04 LTS without any dependency-issues.

Related

Install mongo or mongo-org latest version

I want to install mongo db on my local ubuntu system.
SHould i run
sudo apt-get install mongodb or sudo apt-get install mongodb-org
And how do i install the latest stable version only of mono db ?
My os version are
Distributor ID: Ubuntu
Description: Ubuntu 20.04.5 LTS
Release: 20.04
Codename: focal
You can install either the latest stable version of MongoDB or a specific version of MongoDB.
To install the latest stable version:
sudo apt-get install -y mongodb-org
To install a specific release, you must specify each component package individually along with the version number:
sudo apt-get install -y mongodb-org=6.0.2 mongodb-org-database=6.0.2 mongodb-org-server=6.0.2 mongodb-mongosh=6.0.2 mongodb-org-mongos=6.0.2 mongodb-org-tools=6.0.2
REF: https://www.mongodb.com/docs/manual/tutorial/install-mongodb-on-ubuntu/

Installing last libreoffice by apt-get

How to install the last LibreOffice version by the apt-get command? I ran the followed commands at a Ubuntu 16.04 and just got version 6.2.8.2 but the last official one is 6.4.
sudo apt-add-repository ppa:libreoffice/ppa
sudo apt update
sudo apt upgrade
sudo apt install libreoffice
Second the official developers, LibreOffice-official-version Ubuntu 16.04 should be 5.1.6~rc2-0ubuntu1~xenial10. Because I had manually added sudo apt-add-repository ppa:libreoffice/ppa I was able to got libreoffice 6.2.8.2.
To achieve the 6.4 and newer installation they recommend to download the package or simple use sudo snap install libreoffice.

Erro install paramiko on raspberrypi

When I install paramiko on raspberypi , have this problem:
ImportError: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.25' not found
Have you try to upgrade your libc6 package?
sudo apt-get update
sudo apt-get install libc6
From: How to fix “/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found”?
That means the program was compiled against glibc version 2.14, and it requires that version to run, but your system has an older version installed. You'll need to either recompile the program against the version of glibc that's on your system, or install a newer version of glibc (the "libc6" package in Debian).
Finally,I solve the problem by the root.Upgrade Raspbian Stretch to Raspbian Buster.
https://pimylifeup.com/upgrade-raspbian-stretch-to-raspbian-buster/

how can I upgrade virtualenv?

I installed virtualenv with bootstrapper. here in github
When I run virtualenv --version it shows 1.11.4. But I want to upgrade it to version 1.11.6. I use Linux Mint 17
sudo pip install virtualenv --upgrade

Install scala on Mac OSX Lion

http://cingusoft.posterous.com/install-scala-on-mac-os-x
I changed .profile and save. after I type
source .profile
at first it works, but after I close terminal and re-opened, It doesn't work.
How do I this problem?
Getting a Scala interpreter to work
I solved on my own.
You should add this line to your shell autoload file: .bashrc for bash or .zshrc for zsh.
Latest MacOS Catalina Scala deployment with Apache Spark and Kafka:
Install Brew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
Install Java JDK8
brew cask install adoptopenjdk/openjdk/adoptopenjdk8
Install SBT
brew install set
Install Scala (latest 2.13.3)
brew install scala
Install Spark (latest 3.0.0)
brew install apache-spark
Install Kafka (latest 2.5.0)
brew install kafka
Etc. for Cassandra
brew install cassandra ...
Latest Ubuntu 20.04 "One-Click" deployment:
curl -Lo cs https://git.io/coursier-cli-linux && chmod +x cs && ./cs setup