Update g++ but still old version

Installing a newer (or older) version of GCC than the Ubuntu default version via the package manager does not delete the default version. You get both. You can install as many versions as you like. gcc/g++ will continue to run the default version. If you have installed GCC 7, then you run the new compilers with gcc-7 or g++-7. For … Read more

upgade python version using pip

pip is designed to upgrade python packages and not to upgrade python itself. pip shouldn’t try to upgrade python when you ask it to do so. Don’t type pip install python but use an installer instead.

Upgrade Node.js to the latest version on Mac OS

Here’s how I successfully upgraded from v0.8.18 to v0.10.20 without any other requirements like brew etc, (type these commands in the terminal): sudo npm cache clean -f (force) clear you npm cache sudo npm install -g n install n (this might take a while) sudo n stable upgrade to the current stable version Note that sudo might prompt your password. Additional note regarding step 3: stable can be exchanged … Read more

How to upgrade Git on Windows to the latest version

Since Git 2.16.1(2) you can use In version between 2.14.2 and 2.16.1, the command was (It was later renamed to avoid confusion with updating the local repository, e.g. like svn update does it.) That command does not exist in Git 2.13 and before. If this errors with “is not a git command” then either you don’t actually … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)