Questions tagged [environment]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
40 views

Unable to update installed applications on Ubuntu 20 LTE through software center

I recently upgraded Ubuntu 18.04 to ubuntu 20.04 and after that, the software center is not working correctly:
0
votes
0answers
51 views

Error in python3.6 -m venv venv

I am using python3.6 -m venv venv to create a virtual environment. I am getting the following error. Error: Command '['/home/folder/environments/venv/bin/python3.6', '-Im', 'ensurepip', '--upgrade', ...
0
votes
2answers
70 views

Is it possible to let date return its result in ISO 8601 format by default

I want to change the behavior of the command date (possibly by setting some proper environment variable) such that it returns its output as if it was invoked as date --iso-8601=seconds Is that ...
0
votes
0answers
91 views

(environment-modules) Setting up modulefile for Intel compilers

I am trying to install openmpi (not from apt) into my system. I want to use intel compilers (fortran, c and c++) for the compilation. When ./configure my openmpi folder, without module load intel, ...
-2
votes
1answer
393 views

Changing conda environment for python commands

I wrote a Python script which uses a package named paraview. I installed this package to my environment. I want that whenever the code is run, the environment must be changed and then the code is run. ...
0
votes
1answer
104 views

Setting up custom modulefiles in environment-modules on ubuntu 18.04 LTS

Using environment-modules, I am trying to set up custom environment modules for installation of a software by using intel compiler and openmpi. I am not familiar with the method of creating a custom ...
2
votes
1answer
310 views

The problem of apt fix-broken install in Ubuntu

When I need to use apt-get to install somethings. $sudo apt-get install autoconf automake libtool curl make g++ unzip Reading package lists... Done Building dependency tree Reading state ...
1
vote
0answers
51 views

Error: Environment variable CTL_INIT_DIR or -d option must be specified

The same code is giving the output when I execute manually, but with cronjob the there is error to set the environment variable /comptel/ilink/common/6.2/comptel_utilities/bin/ctl_control status > ...
2
votes
1answer
2k views

Unable to run anaconda-navigator out of conda envirnment (base)

I am running a new installed Ubuntu 19.04 Disco Dingo on a dual boot with windows 10. I installed Anaconda for Ubuntu using this guide https://docs.anaconda.com/anaconda/install/linux/ Finishing the ...
0
votes
2answers
749 views

Conda package installs in wrong environment

I am trying to install torch using conda however, it installs it into another conda environment not the one I am interested in. How can I fix this? [jalal@goku NAACL2018]$ conda install pytorch ...
4
votes
2answers
1k views

Why $PATH is not reflecting what is in the environment file, Ubuntu 18.04?

echo $PATH provides: /usr/local/sbin:/usr/local/bin:/usr/bin:/sbin:/bin while /etc/environment states PATH="/usr/local/sbin:/usr/local/bin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games" I ...
0
votes
0answers
68 views

Package Installation error in Virtual Environment

I am using Ubuntu 16.04. So I created a virtual environment for python and activated it using cd /entire_path_to_virtual_env/bin source activate After that I used: pip3 install nltk The ...
-2
votes
1answer
187 views

Ubuntu Environment Is Broken

After installation, this PC's Desktop does not look like the Desktop on my other PC.
0
votes
1answer
2k views

Cannot open display error when I run sudo gedit on Ubuntu 14.04.5

solitude@Solitude:~/Desktop$ sudo gedit ~/.bashrc error: XDG_RUNTIME_DIR not set in the environment. (gedit:12631): Gtk-WARNING **: cannot open display:
1
vote
0answers
28 views

How to boot into 'Ubuntu on Xorg' by default? [duplicate]

Unity runs like a lame donkey on my laptop, yet flies when I switch to Xorg. Is there a way to set it to use this by default without having to log out and in again every time?
1
vote
1answer
2k views

Location to place systemd service EnvironmentFile when creating debian package

I am currently rewriting upstart jobs to use systemd and I wanted to know: where is the "default" place to an EnvironmentFile? It could potentially go in /etc/environment It could be with all the ...
7
votes
4answers
10k views

I set an environment variable in /etc/environment, but it's not in printenv using bash.exe with Windows cmd. Why? [duplicate]

I'm using WSL and I'm quite new on Linux. I have set an environment variable in /etc/environment called TESTVAR. This variable is required for some projects and it's working just fine when I'm running ...
0
votes
0answers
630 views

/etc/environment not work

I declare PATH="/usr/local/anaconda2/bin:/mnt/code/tool:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games" in /etc/environment. But when I re-login, $ echo $...
1
vote
1answer
488 views

Setting CDPATH environment variable

"export CDPATH=/usr", like this I want to manipulate CDPATH environment variable. Then I can't be sure it is the same as before when I put "export CDPATH=." on the command line and enter. So, I want ...
0
votes
0answers
79 views

can't see value of DESKTOP related XDG environment variables from remote machine [duplicate]

When I run echo $XDG_CURRENT_DESKTOP or $XDG_SESSION_DESKTOP I can see values on my Linux machine. When I run same commands on my machine from remote machine showing empty results. IMO, those ...
0
votes
1answer
394 views

PATH environment variable behaviour when switching user with and without login

when i login as a user then switch to another one, the PATH environment variable changes when the switch is done with and without login. see the following snippet $ ssh -i ~/.ssh/ubuntu.pem ubuntu@...
0
votes
1answer
244 views

Where to find compile/build configuration - Problem with Tor from source [duplicate]

Since I need to patch tor that does not yet support binding on a link-local ipv6 address, I compiled it from source. The compile is successful (with minor warnings on the ar command) but the ...
0
votes
1answer
242 views

Infinity loop login after install JDK-9 [duplicate]

I'm not a Linux superuser. However I decided to install official JDK-9 so I done those steps: wget --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" \ ...
0
votes
1answer
2k views

Need to edit my locales under /etc/environment

I'm a complete noob so sorry for the lack of understanding. When setting my locales under /etc/environment I accidentally entered en_US.UTF-8 UTF-8 The problem being that the second "UTF-8" shouldn'...
2
votes
0answers
186 views

How to customize default live session user desktop and environment on Kubuntu while remastering it?

I am chrooting into a kubuntu iso file with cubic and installing and modifying stuff I need to change for my custom live iso. But something I couldn't figure out is how to customize the default live ...
1
vote
0answers
283 views

bash: export not a valid identifier [duplicate]

I was changing the bashrc file based upon the following video https://www.youtube.com/watch?v=Ipd8vkAj8Fk&t=182s but suddenly when I type sudo su I get the following error bash: export: `/...
0
votes
0answers
790 views

I want to install jdk-8u131-linux-i586.tar.gz on a 32 bit system

I am using ubuntu 17.04, I am new to ubuntu and I want to install jdk-8u131-linux-i586.tar.gz on my 32 bit system but i dont realy know what to do. Please help me become a good programmer.
1
vote
1answer
3k views

what is the value for JAVA_HOME?

What is the correct value for JAVA_HOME? thufir@doge:~$ thufir@doge:~$ whereis java java: /usr/bin/java /usr/share/java /usr/share/man/man1/java.1.gz thufir@doge:~$ thufir@doge:~$ which java /usr/...
0
votes
1answer
754 views

Syntax to declare the JAVA_HOME variable in /etc/environment?

Where and how does the variable JAVA_HOME go? What, specifically, should the environment file contents be to correctly set JAVA_HOME alongside PATH? current environment: thufir@doge:~$ thufir@...
1
vote
0answers
91 views

Synchronized Profile and Environment

So, I have a development machine at work, and a company laptop I take home. Both are running Ubuntu 14.04. (I can't upgrade for business software compatibility reasons.) With my current set up, when ...
0
votes
0answers
492 views

Program is not accessible from the command-line

I am trying to use BUSCO program for bioinformatic analysis. BUSCO need to Agustus program as dependency. According to BUSCO’s user guide I must add Augustus to path and I did it as following: ...
0
votes
0answers
65 views

Graphical environment dies on ubuntu 16.04

I'm actually using Kubuntu 16.04 with KDE Plasma 5.8. It runs normally, but, when I play a game or after an 1 hour or less of of PC turn on, the graphical environment dies without any way to reboot ...
0
votes
0answers
30 views

Sudo and general commands from PHP script in Apache [duplicate]

Background For some reasons, I need to able to run general commands as my user (not root) from a PHP script inside of Apache (for use from localhost only), initially running as www-data. Prior ...
0
votes
1answer
92 views

Linux, Wine for unity environment [duplicate]

How can i download wine on a unity desktop environment? I've been trying to do so by using commands i found online but nothing helps. I found it easy to download it in xfce4, but now im using unity.
1
vote
1answer
346 views

Startup Applications does not seem to load /etc/bash.bashrc

I understand this type of question has been asked Help me understand .profile, .bashrc, etc Sequence of scripts sourced upon login But I'm having a hard time understanding it. I've got an Ubuntu ...
0
votes
0answers
54 views

Sudo /bin/bash -c 'some command' does not load /etc/environment content, not set the env [duplicate]

I've got a bit confused When I do log in via sudo su - I get full environment loaded $ sudo su - # env SHELL=/bin/bash TERM=screen-256color LC_ALL=en_US.UTF-8 HTTPS_PROXY_HOST=myproxy.com ...
1
vote
1answer
131 views

How could one export from a sourced script only specific functions

I try to expose from a script only specific functions. For example, let's say I have the script hello_world.sh and it has 2 functions, hello and world: ## hello_world.sh - name of the file, not the ...
1
vote
0answers
42 views

Ubuntu version for game

Maybe I could find a lot of questions like that, but I need some help. Recently I started using Ubuntu 15.10 , but when running games that consume few resources makes me very slow rendering of the ...
-2
votes
1answer
425 views

Can't change desktop environment Ubuntu 15.10

I installed xfce and gnome desktop environments and I don't see a way how to change it. On log in screen there isn't any option, does anybody have similar problem? Thanks!
0
votes
1answer
522 views

date command appears to ignore locale settings

What I want to do is set a locale environment variable (LC_TIME, I think) to something which makes date output in a nice ISO format. From looking at some other Stack Exchange questions and answers ...
0
votes
1answer
122 views

Ubuntu 15.10 Cinnamon DE menu not functioning properly

Welcome fellow Ubuntu enthusiasts. I have a rather simple yet equally irritating problem with both of my laptops running Ubuntu 15.10 with Cinnamon 2.6.13 desktop environment. On most menu items ...
1
vote
1answer
795 views

upstart script is not picking system default environment variable

I have one openstack based service. Which we are ran using upstart script. upstart script # filename: /etc/init/myservice.conf start on runlevel [2345] and started mountall stop on runlevel [016] ...
2
votes
5answers
10k views

Setup to try OpenStack on a single machine

I have been assigned to install openstack on a single machine in our dev office. I am following the guide here : http://docs.openstack.org/kilo/install-guide/install/apt/content/ch_basic_environment....
1
vote
1answer
5k views

Mate Desktop Environment won't uninstall from Ubuntu

I have a fresh install of Ubuntu 14.04 LTS and decided to install the Mate Desktop Environment to use it instead of Unity. I have installed Mate DE from the following repositories and apt sources: ...
2
votes
1answer
959 views

Is it possible to create UI for Ubuntu with HTML & CSS?

I would like to develop a myu own UI for ubuntu.But I wouldn't like complex C-coding to do that! Rather HTML & CSS are getting more powerful and we can even make a desktop class application with ...
1
vote
1answer
2k views

How to change Desktop, Download, Music and … path? [duplicate]

How can I rename Desktop, Download, Music, Pictures & ... folders names to desktop, download, music, pictures & ... . NOTE: I'd simply rename them by mv command, but still have troubles. ...
2
votes
1answer
68 views

Diffrence among environment/profile/bash files

I know the difference among ~/.bash, ~/.profile vs. /etc/profile. I know (please correct me if I am wrong) configuration in ~/.bash is applicable for a specific user and terminal only.Configuration in ...
0
votes
1answer
595 views

Juju bootstrap environment fails

i have a problem during deploying my first juju environment "maas". The host is commissioned by MAAS but during the juju deployment there is this error: Setting up libtcmalloc-minimal4 (2.1-2ubuntu1) ...
1
vote
1answer
220 views

Sorting files by ASCII conventions in Ubuntu 14.04

This has been an incredible annoyance for me because it should be so easy to fix!!! I want ASCII conventions to be applied when sorting files (both in the terminal and in nautilus) because the "...
0
votes
1answer
231 views

Unable to choose desktop environment 14.04

I don't have the dropdown menu in the login screen. This question was posed earlier but closed as not being reproducible. Guess what? I have that problem also. Any KNOWLEDGEABLE suggestions would be ...