質問編集履歴
2
追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -51,6 +51,8 @@
|
|
51
51
|
if [ -d "$HOME/.local/bin" ] ; then
|
52
52
|
PATH="$HOME/.local/bin:$PATH"
|
53
53
|
fi
|
54
|
+
|
55
|
+
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/opt/xilinx/xrt/lib:/home/hagis/Vivado/Vitis/2019.2/bin:/home/hagis/Vivado/Vitis/2019.2/lib/lnx64.o:/home/hagis/Vivado/Vitis/2019.2/runtime/bin"
|
54
56
|
```
|
55
57
|
|
56
58
|
|
@@ -174,4 +176,9 @@
|
|
174
176
|
. /etc/bash_completion
|
175
177
|
fi
|
176
178
|
fi
|
179
|
+
|
180
|
+
source /home/hagis/Vivado/Vivado/2019.2/settings64.sh
|
181
|
+
source /home/hagis/Vivado/Vitis/2019.2/settings64.sh
|
182
|
+
source /opt/xilinx/xrt/setup.sh
|
183
|
+
source /opt/petalinux/settings.sh
|
177
184
|
```
|
1
追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -21,6 +21,40 @@
|
|
21
21
|
おそらく~/.bashrcかの中に原因があると思うのですが。
|
22
22
|
pathがリセットできない原因を教えていただけないでしょうか?
|
23
23
|
|
24
|
+
|
25
|
+
**~/.profileの内容**
|
26
|
+
```sh
|
27
|
+
# ~/.profile: executed by the command interpreter for login shells.
|
28
|
+
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
|
29
|
+
# exists.
|
30
|
+
# see /usr/share/doc/bash/examples/startup-files for examples.
|
31
|
+
# the files are located in the bash-doc package.
|
32
|
+
|
33
|
+
# the default umask is set in /etc/profile; for setting the umask
|
34
|
+
# for ssh logins, install and configure the libpam-umask package.
|
35
|
+
#umask 022
|
36
|
+
|
37
|
+
# if running bash
|
38
|
+
if [ -n "$BASH_VERSION" ]; then
|
39
|
+
# include .bashrc if it exists
|
40
|
+
if [ -f "$HOME/.bashrc" ]; then
|
41
|
+
. "$HOME/.bashrc"
|
42
|
+
fi
|
43
|
+
fi
|
44
|
+
|
45
|
+
# set PATH so it includes user's private bin if it exists
|
46
|
+
if [ -d "$HOME/bin" ] ; then
|
47
|
+
PATH="$HOME/bin:$PATH"
|
48
|
+
fi
|
49
|
+
|
50
|
+
# set PATH so it includes user's private bin if it exists
|
51
|
+
if [ -d "$HOME/.local/bin" ] ; then
|
52
|
+
PATH="$HOME/.local/bin:$PATH"
|
53
|
+
fi
|
54
|
+
```
|
55
|
+
|
56
|
+
|
57
|
+
|
24
58
|
**~/.bashrcの内容**
|
25
59
|
```sh
|
26
60
|
# ~/.bashrc: executed by bash(1) for non-login shells.
|