Questions tagged [environment]
The environment tag has no usage guidance.
95
questions
0
votes
0
answers
50
views
Conda Environment
I am trying to create an environment using this https://github.com/mbareera/MuSA/blob/master/MuSA.yml file but I am getting error below. I am using conda 22.11.1 version. Can anyone help how I can ...
0
votes
1
answer
94
views
Having trouble opening a virtual environment in python3.9
I have installed python3.9 through apt in my Ubuntu 18.04.6 LTS. Then I was trying to create a new virtual environment that runs on 3.9. This is the process I did:
$ python3.9 -m venv /home/user1/py3....
1
vote
1
answer
543
views
Using files in /etc/environment.d
I am trying to setup a brand new installation of Ubuntu 22.10. I need to make some environment variables globally available. I have read in the Man pages that the correct way to do this is to provide ...
4
votes
2
answers
2k
views
How to free up some disk space on my Linux machine?
I'm still new to the Linux world, My disk size is 493 G
And when I use the command du -hs * /opt/conda, The total size I use is less than 95g
But when I use the df -h command:
Disk Size is 493 G
...
0
votes
1
answer
106
views
I need some help and clarify with Python Environment that should communicate with a scripted installer of an SDK
Ubuntu 22.04 (like all other previous versions), comes out with Python already installed by default, in fact if I open the Terminal and type:
cris@cris:~$ python3 -V
Python 3.10.6
So, Phyton is there ...
0
votes
1
answer
166
views
deleted /etc/environment file by accident
I deleted the /etc/environment file by accident. Is it important? What does it do? How can I recover it?
I saw another post saying most of the time the file has the same generic line:
PATH="/usr/...
0
votes
1
answer
3k
views
Why is /etc/environment not executable in Ubuntu 22.04?
I came across this issue as I wanted to extend the PATH variable for all users by adding another directory at the end of PATH in /etc/environment.
Neither opening a new shell nor a fresh login did ...
2
votes
1
answer
2k
views
Is the same '#!/usr/bin/env bash' than #!/bin/bash [duplicate]
Simple question, is the same ? Vim autocomplete me when write bash + tab => #!/usr/bin/env bash but I usually watch #!/bin/bash in every script. So..
0
votes
1
answer
1k
views
How to enable desktop icons in Ubuntu 20.04
After following these commands, my desktop icons are disabled. How can I enable them again? actually, I'm a new Ubuntu user please help me.
1
vote
2
answers
2k
views
Update info - how to currently set Java_home?
I'am trying to get Maven running. I have installed JDK and Maven.
Thus I have been trying to set the Java_home variable for three days now, I cannot get it working.
I have followed the instructions of ...
0
votes
2
answers
157
views
How to get variable environment from parent user?
I need to know how it's possible to get environment variable from a parent user after su? For example if I'm evan user and I have variable $DISPLAY=:10.0, then I use "su -" to go to root ...
2
votes
3
answers
3k
views
How to automatically load and unload .env file with variables
Is it possible to load an .env file when accessing the directory they are in and unload these variables when changing to another directory?
0
votes
1
answer
5k
views
Why new envonments of anaconda are empty
I am using conda version 4.9.2 in ubuntu 18.04. I firstly create a new environment and then try to install a package but surprisingly this package already exists but there but when I try o import it ...
1
vote
0
answers
364
views
frozen solving environment step in installing a package in ubuntu
I am trying to install moose framework in my ubuntu (20.4). It has three main steps: exporting path of miniconda using:
export PATH=$HOME/miniconda3/bin:$PATH
Configuring Conda to work with conda-...
4
votes
0
answers
627
views
OpenMPI - Update alternatives
I have troubles with openmpi crashing. The installed/repository version is "mpirun (Open MPI) 3.1.3".
Consequently I have locally built a "mpirun (Open MPI) 4.1.0" which does not ...
0
votes
1
answer
652
views
Making changes to Conda environment permanent instead of falling back to the default
I can set my environment to make it house_rank, and it shows on my terminal:
house_rank sgilmour14-Ubuntu
But after a reboot, it goes back to my standard terminal, and removes house_rank.
Is there a ...
0
votes
0
answers
63
views
Can't login to Ubuntu 18.04
Suddenly i edit the /etc/environmemt variable.
after that when i restart my ubuntu then i can't login. when i enter my pasaword and hit enter then it back me to login page.
then i press Ctrl + Alt + ...
0
votes
0
answers
646
views
Change temp file location of QGIS in Ubuntu
on a windows machine u can easily change the location where QGIS stores its temp files (see here: https://gis.stackexchange.com/questions/156129/how-can-i-change-the-folder-location-for-qgis-temporary-...
3
votes
1
answer
1k
views
Does X Window and GNOME are the same for Desktop Environtment?
I just wanna know, if GNOME and X windows are the same software for Desktop Environment?
Because i saw at this article
The article shows that X windows system is an open source, cross platform, client-...
1
vote
1
answer
3k
views
Environment Modules can't find installed modules
I'm trying to install and load several Perl modules in Google Colab (a Ubuntu environment). I'm installing them with CPAN, then loading them with Environment Modules. I absolutely need to use ...
1
vote
1
answer
1k
views
Can't Activate Environment // Ubuntu // Conda
I downloaded Anaconda 3 on Ubuntu VM. The conda command wasn't working so I used this command:
source ~/.bashrc
but it didn't work. Then I tried this command:
export PATH=~/anaconda3/bin:$PATH
This ...
1
vote
2
answers
3k
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 ...
1
vote
0
answers
693
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, ...
-1
votes
1
answer
4k
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
1
answer
868
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
1
answer
1k
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
0
answers
84
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 > ...
3
votes
4
answers
4k
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
2
answers
2k
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
2
answers
3k
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
0
answers
119
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
1
answer
211
views
Ubuntu Environment Is Broken
After installation, this PC's Desktop does not look like the Desktop on my other PC.
0
votes
1
answer
4k
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:
2
votes
0
answers
47
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?
5
votes
1
answer
3k
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 ...
8
votes
4
answers
16k
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
0
answers
949
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
1
answer
1k
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
0
answers
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
1
answer
1k
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
1
answer
571
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
1
answer
367
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" \
...
1
vote
1
answer
4k
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'...
3
votes
0
answers
313
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
0
answers
293
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
0
answers
935
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.
2
votes
2
answers
4k
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
1
answer
991
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
0
answers
146
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
0
answers
636
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:
...