Ubuntu HowTo: Installing Anaconda on Ubuntu 20.04 [duplicate]

Original Source Link

I am trying to install Anaconda on my Ubuntu 20.04.

I downloaded the installer on the official site. Then I run the command:

sudo ./Anaconda3-2020.02-Linux-x86_64.sh 

And followed the steps in the CLI installer. I set up the installation directory as /home/myuser/Programs/anaconda3. At installation finished I closed and opened back the terminal as suggested, but running conda --version I get:

conda: command not found

How to verify the correct installation of Anaconda? What did I do wrong?
Note: I also restarted the OS, the result does not change.

Make sure that anaconda is added to your path environment variable

Tagged : / /

Ubuntu HowTo: Autodesk Maya 2017 symbol lookup error on start in Ubuntu 20.04

Original Source Link

I’ve installed Maya 2017 on Ubuntu 20.04, and fixed all start up errors using these commands.

ln -s /usr/lib/x86_64-linux-gnu/libtiff.so.5.2.4 /usr/lib/libtiff.so.3

ln -s /usr/lib/x86_64-linux-gnu/libssl.so /usr/autodesk/maya2017/lib/libssl.so.10

ln -s /usr/lib/x86_64-linux-gnu/libcrypto.so /usr/autodesk/maya2017/lib/libcrypto.so.10

When i launch Maya the splash screen appears and closes with the error below.

Warning: COLOR:XML:CATALOG_MANAGER: The shared catalog directory does not exist: /home/kevin/maya/synColor/Shared

Initialized VP2.0 renderer {

Version : 2016.3.78.11. Feature Level 5.

Adapter : GeForce GTX 1060 6GB/PCIe/SSE2

Vendor ID: 4318. Device ID :

Driver : 4.6.0 NVIDIA 440.82.

API : OpenGL V.4.6.

Max texture size : 16384 * 16384.

Max tex coords : 32

Shader versions supported (Vertex: 5, Geometry: 5, Pixel 5).

Shader compiler profile : (Best card profile)

Active stereo support available : 0

GPU Memory Limit : 6144 MB.

CPU Memory Limit: 15150.2 MB.

/usr/autodesk/maya2017/bin/maya.bin: symbol lookup error: /usr/autodesk/maya2017/bin/../lib/libOGSDeviceOGL4-16.so: undefined symbol: EVP_CIPHER_CTX_init

The commands you quoted for “fixing” the startup errors are unsafe and probably incorrect.

If Maya looks for /usr/lib/libtiff.so.3 this means that it requires a libtiff.so with major version 3 specifically. Symlinking libtiff.so.5.2.4 which has major version 5 to it may introduce incompatibilities such as missing symbols, because there’s no guarantee that different major versions are compatible.

In the same vein, libssl.so.10 and libcrypto.so.10 specifically ask for major version 10 of the crypto libraries while libssl.so and libcrypto.so in /usr/lib/x86_64-linux-gnu are themselves just symlinks to whatever version happens to be installed on your system. You should use /usr/lib/x86_64-linux-gnu/libssl.so.10 and /usr/lib/x86_64-linux-gnu/libcrypto.so.10 instead. If those don’t exist you don’t have the required version.

Tagged : /

Ubuntu HowTo: Ubuntu 20.04 system has low disk space on /var and doesnt boot

Original Source Link

I installed my Ubuntu 20.04 yesterday using the directions in internet. I just installed some IDEs and Android Studio etc to my computer (nothing very large) from Software Center, and now the system is telling me that I have low disk space on /var.

I gave lots of space for Ubuntu when partitioning; about 70 GB of my SSD.I read some old questions but can’t find a solution.

Because of this, my computer is not booting. My /var partition looks 95% to 100% full.

I already tried clean and autoremove codes.

sudo apt-get clean
sudo apt-get autoremove

I also don’t understand software store where to install programs directory…

Here is my df output

Filesystem     1K-blocks    Used Available Use% Mounted on
udev             8147072       0   8147072   0% /dev
tmpfs            1635040    2164   1632876   1% /run
/dev/sda6       19091540 6409132  11689540  36% /
tmpfs            8175192  262896   7912296   4% /dev/shm
tmpfs               5120       4      5116   1% /run/lock
tmpfs            8175192       0   8175192   0% /sys/fs/cgroup
/dev/sda5         968312  140208    761700  16% /boot
/dev/sda9       68524344  901060  64099344   2% /home
/dev/sda2          98304   33385     64919  34% /boot/efi
/dev/sda8        3779640 3559292      8636 100% /var
/dev/loop0        146304  146304         0 100% /snap/code/33
/dev/loop2         31104   31104         0 100% /snap/snapd/7777
/dev/loop1         96256   96256         0 100% /snap/core/9066
/dev/loop3         56320   56320         0 100% /snap/core18/1705
/dev/loop4         99456   99456         0 100% /snap/core/9289
/dev/loop6        246656  246656         0 100% /snap/gnome-3-34-1804/24
/dev/loop5         56320   56320         0 100% /snap/core18/1754
/dev/loop7         27776   27776         0 100% /snap/snapd/7264
/dev/loop8         63616   63616         0 100% /snap/gtk-common-themes/1506
/dev/loop9        597376  597376         0 100% /snap/intellij-idea-community/232
/dev/loop10        51072   51072         0 100% /snap/snap-store/433
/dev/loop11        51072   51072         0 100% /snap/snap-store/454
/dev/loop12       261760  261760         0 100% /snap/gnome-3-34-1804/33
tmpfs            1635036      20   1635016   1% /run/user/125
tmpfs            1635036      28   1635008   1% /run/user/1000

Thank your for any help.

Tagged : / / / /

Ubuntu HowTo: Can’t install latest Zoom version

Original Source Link

I am using Ubuntu 20.04 and have Zoom in version 5.04084598.0517. Zoom shows an update to be available, so I downloaded it from the web page, and opened the deb file with the software installer. What then shows up is the following:

enter image description here

So there is no “install” or “update” button. How do I install this latest version of Zoom?

Here is the output of apt-cache policy zoom

  Installed: 5.0.408598.0517
  Candidate: 5.0.408598.0517
  Version table:
 *** 5.0.408598.0517 100
        100 /var/lib/dpkg/status

If you want to install latest Zoom version, you should prefer installing Zoom using Snap. Latest version listed are:

latest/stable 5.0.413237.0524
latest/edge   5.0.418682.0603

To do so, you need to remove the Zoom installed on your system.

sudo dpkg -r zoom_amd64

Then install Zoom using Snap.

sudo snap install zoom-client

That will install latest Zoom from stable channel.

If you prefer to install latest Zoom from edge channel, add --channel=latest/edge.

sudo snap install zoom-client --channel=latest/edge

Visit https://snapcraft.io/install/zoom-client/ubuntu#install for more information about the zoom-client package on Snap website.

Tagged : / /

Ubuntu HowTo: “configure: error: could not find Python headers” and syntax error when running “make” to install deskbar-applet-2.32.0

Original Source Link

I am new to Ubuntu. I was trying to install deskbar-applet-2.32.0, but the make command doesn’t work.

(base) [email protected]:~/Downloads/deskbar-applet-2.32.0$ ./configure 

returns this error:

checking for headers required to compile python extensions...   File "<string>", line 1
    import sys; print sys.prefix
SyntaxError: invalid syntax
  File "<string>", line 1
    import sys; print sys.exec_prefix
SyntaxError: invalid syntax
not found
configure: error: could not find Python headers

My /usr/local/lib has got 4 folders:


On running

(base) [email protected]:~/Downloads/deskbar-applet-2.32.0$ ./configure PYTHON=/usr/local/lib/python3.7

I get:

Using config source xml:merged:/etc/gconf/gconf.xml.defaults for schema installation
Using $(sysconfdir)/gconf/schemas as install directory for schema files
checking whether /usr/local/lib/python3.7 version >= 2.4... configure: error: too old

Python versions present in my computer:

(base) [email protected]:~/Downloads/deskbar-applet-2.32.0$ ls /usr/bin | grep python

Any help is appreciated. I’m running Ubuntu 18.04 dual boot with Windows 10. The (base) appears in terminal since I installed anaconda-navigator.

The last line of the configure script is giving you an error:

checking whether usr/local/lib/python2.0 version >= 2.4... configure: error: too old

First, you seem to be giving usr/local/lib/python2.0, which means “use the python found in the directory usr which is inside the current directory“. I think you probably meant /usr, not usr.

In any case, if you have both python2 and 2.4 installed, you will need to point the configure script to the 2.4 version since that’s what it needs. So try running this (assuming you have python 2.4 in /usr/local/lib/python2.4):

./configure PYTHON=/usr/local/lib/python2.4

If that works, try make again.

Found the solution here!

Usually /usr/bin/python should be just a symbolic link to Python3 or

if it is to point to Python3, the we need to remove the link, and then
create a symbolic link to Python2

rm /usr/bin/python

ln -s /usr/bin/python2.7 /usr/bin/python

This creates a symbolic link for Python2.7, that doesn’t need to

Tagged : / / /

Ubuntu HowTo: Digital signing with qdigidoc4 (Estonian ID card software) under Ubuntu 20.04

Original Source Link

When trying to use qdigidoc4 (version on Ubuntu 20.04, and trying to sign a container, signing fails (both with ID card and Mobile ID) and I get the following message:

ASiC_E.cpp:347 Failed to sign container.
SignatureXAdES_LT.cpp:227 Could not find certificate issuer 'CN=ESTEID-SK 2015,organizationIdentifier=NTREE-10747013,O=AS Sertifitseerimiskeskus,C=EE' in certificate store.

Also viewing signed containers fails (all signatures are marked as “unknown”).

How to run qdigidoc4 on Ubuntu 20.04?

To the best of my understanding (reading this bug report), the Estonian root certificate is invalid (but probably not in a security-critical way), and OpenSSL 1.1.1f (used in Ubuntu 20.04) is stricter about the validation than OpenSSL 1.1.1e was. But OpenSSL 1.1.1g reverted this and again accepts the Estonian root certificate. The problem can be fixed by installing OpenSSL 1.1.1g. However, OpenSSL 1.1.1g is not packaged for Ubuntu yet.

Installing the Debian versions works:

wget http://ftp.br.debian.org/debian/pool/main/o/openssl/openssl_1.1.1g-1_amd64.deb
wget http://ftp.br.debian.org/debian/pool/main/o/openssl/libssl1.1_1.1.1g-1_amd64.deb
sudo dpkg -i openssl_1.1.1g-1_amd64.deb
sudo dpkg -i libssl1.1_1.1.1g-1_amd64.deb

I do not know if this breaks something else. But signing and verifying with qdigidoc4 is successful again on my system with this change.

Tagged : / / /

Ubuntu HowTo: Ubuntu App store doesn’t show any installed application

Original Source Link

I am unable to uninstall apps from my device as the Ubuntu Software center goes blank whenever I click the Installed application tab.

The screen is stuck with a blank screen

Try removing and reinstalling gnome-software. As Fix Ubuntu Software Center not loading issue in Ubuntu 16.04 LTS advises, you can do this by running:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get autoremove gnome-software
sudo apt-get install gnome-software

Tagged : / / / /

Ubuntu HowTo: sudo sh cuda_9.0.176_384.81_linux.run

Original Source Link

I am trying to install CUDA from cuda_9.0.176_384.81_linux.run file. I ran this command in Ubuntu 16.04.

sudo sh cuda_9.0.176_384.81_linux.run

When I ran the above command, I got the following error message.

sh: 0: Can't open cuda_9.0.176_384.81_linux.run

Unfortunately the guideline in nvidia website mentions .run while it is -run in the file you download. trying following would solve the problem:

sudo sh cuda_9.0.176_384.81_linux-run

Open the terminal, change directories with cd to the directory that contains the cuda_9.0.176_384.81_linux.run file and run this command:

sudo sh ./cuda_9.0.176_384.81_linux.run

I had the problem for another version of Ubuntu, I passed that by removing -run or .run from the end of command as follows:

sudo sh cuda_10.0.130_410.48_linux

Tagged : / /

Ubuntu HowTo: how can I install apps from browser? [duplicate]

Original Source Link

I downloaded it, but I can’t activate it. It looks like this…

You can’t install software in Ubuntu using .exe files. You will have to download the .deb file.

If you want multipass, you can get it by running sudo snap install multipass --classic in the terminal.

Usually, software are installed in Ubuntu through the terminal using repositories or through the Ubuntu Software Store.

See https://multipass.run/, https://snapcraft.io/multipass and https://multipass.run/docs/installing-on-linux

from the image it seems that you have downloaded a windows program (it’s file extension is “.exe” and there is “win64” in the file name).
There are a few things that you can try to get the program running under Linux:

  1. look for a Linux version of the program:

    • I am not certain whether this is the program that you are looking for, but there seems to be a snap available either by typing sudo snap install multipass in a terminal, or searching for it in the software center

    • OR There might be a “.deb” file available on the program’s website which you can install via sudo dpkg -i [filename].deb

  2. if there isn’t a Linux version of the program you can still run the program via Wine

    • So far I haven’t tried this myself, but you should be able to find plenty of tutorials on how to use wine to run windows programs on linux https://www.winehq.org/
Tagged : /

Ubuntu HowTo: How to install 7zip to extract rar files

Original Source Link

How do I install 7zip through Terminal to extract rar files?

I don’t know why would you like specifically 7-zip’s binary to extract RAR, but here we go:

To unrar files with… unrar:

sudo apt-get install unrar-free
unrar e some.rar

To extract rar files with 7-zip:

sudo apt-get install p7zip-full
7z x some.rar

e and x mean extract obviously.

You may use p7zip. And you can install p7Zip using command : sudo apt-get install p7zip.

To extract RAR archives, you’ll need to install package “p7zip-rar”, too.

Install it using : sudo apt-get install p7zip-rar

Or you can get it done in single command : sudo apt-get install p7zip p7zip-rar

Read p7zip manual for more information: man p7zip

Use the following command to Install 7Zip:

$ sudo apt-get install p7zip-full

Extract files using 7zip:

$ 7z e example.zip

(Or use the x option instead of e to preserve file paths).

Compress files using 7zip:

$ 7z a compress.zip

For more information, visit the reference

Tagged : /