Docker installation on Linux Mint 19.2 doesn't work
sudo nano /etc/apt/sources.list.d/additional-repositories.list
add the following line in the file
deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable
sudo apt update
you know the rest of the steps. Good luck!
Docker install on Linux Mint 19 Tara
The Docker repository at
https://download.docker.com/linux/ubuntu doesn't know about Linux Mint's code name
tara. Use Ubuntu's codename,
That is, your step 6 above should be this instead:
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(. /etc/os-release; echo "$UBUNTU_CODENAME") stable"
This works because Linux Mint is built on top of Ubuntu. In this step, we are simply replacing the Linux Mint codename (returned by
lsb_release -cs) with the Ubuntu base codename (returned by
. /etc/os-release; echo "$UBUNTU_CODENAME").
Because you already ran the incorrect command (with the Linux Mint codename), you might find that you continue to see warnings with
apt-get update. To fix these, you can delete the corresponding file (the one that says
/etc/apt/sources.list.d/, or use another GUI or command line tool to do this for you.
How to reinstall the latest cmake version?
Following the comments made on how to Install the latest CMake version and to post the answer for this question:
This depends with Ubuntu OS version currently installed on your PC or Mac. If you have the following Ubuntu OS version then you have this CMake installed or that you could install and reinstall with "sudo apt-get install cmake". Even if you uninstall your version and try to reinstall later version.
Ubuntu 16.04 ships with cmake-3.5.1
Ubuntu 17.10 ships with cmake-3.9.1
Ubuntu 18.04 ships with cmake-3.10.2
Ubuntu 20.04 ships with cmake-3.16.3
Ubuntu 21.04 ships with cmake-3.18.4
Now if you have Ubuntu 16.04 installed and you want cmake-3.10, there is OS problem since you can only install and reinstalled cmake-3.5.1. To get cmake-3.10 or any other version, you have to download and install the package from https://packages.ubuntu.com/. Once you find the latest version of cmake .targz files, you have to build it yourself from the command line.
prevent VC++ DLL rebasing by PE header editing
The /FIXED linker switch does not correspond to a flag in the PE header, it actually specifies whether a relocation section is added to the PE file by the linker.
DYNAMIC_BASE flag Hans Passant talks about specifies whether the OS is allowed to relocate the image in memory when it is loaded (if ASLR is on).
- Linking with /FIXED is fine for a .exe as long as you don't need ASLR for securiy (Web browser etc)
- Linking with /FIXED for a .dll is not a good idea, if the dll cannot be loaded at its preferred address (some other dll might already be loaded there) the dll loading will fail!
Installing pip is not working in python 3.6
pip 21.0 dropped support for Python 2 and 3.5. The later versions require Python 3.6+. The syntax
f"" is supported by Python 3.6+.
pip for Python 2.7 install it from https://bootstrap.pypa.io/pip/2.7/ :
- curl -O https://bootstrap.pypa.io/pip/2.7/get-pip.py
- python get-pip.py
- python -m pip install --upgrade "pip < 21.0"
The last command is to upgrade to the latest supported version.
- For Python 2.7 the latest supported is currently
- For Python 3.6 install from https://bootstrap.pypa.io/pip/3.6/
- For Python 3.5 install from https://bootstrap.pypa.io/pip/3.5/
- For Python 3.4 install from https://bootstrap.pypa.io/pip/3.4/
- For Python 3.4 the upgrade command is
python -m pip install --upgrade "pip < 19.2"
What Does "Private_Dirty" Memory Mean in Smaps
Docker - Is It Safe to Switch to Non-Root User in Entrypoint
Linux Stand Alone Executable Generation
How to Check If a String Contains a Special Character (!@#$%^&*()_+)
Rtnetlink Answers: No Such File or Directory
How to Install Docker 1.9+ in Centos 6.5
Compare Checksum of Files Between Two Servers and Report Mismatch
Ffmpeg Concat and Scale Simultaneously
One-Shot *Level*-Triggered Epoll(): Does Epolloneshot Imply Epollet
How to Change Default Number of Max Process Per User in Linux
How to Build for Linux 32-Bit with Go1.6.2
How to Handle Bash with Multiple Arguments for Multiple Options
Check for Existence of Wget/Curl
How to Use Valgrind for Memory Profile
Safer Alternative to Matlab's 'system' Command
Recording from Alsa - Understanding Memory Mapping