Help us understand the problem. What is going on with this article?

UbuntuのPATHの設定方法

More than 5 years have passed since last update.

一時的にコマンドラインからPATHに追加する

$export PATH="$PATH:/opt/mono/3.10/bin"

起動時に自動的に読み込む

Ubuntuの起動時に自動的に読み込まれるようにするには、~/.profileにパスを設定をすればいい。
テキストエディタで開いて、末尾に設定を追加する。

$vi ~/.profile 

追加するのか下記の行。

PATH="$PATH:/opt/mono/3.10/bin"

再起動させずに即時反映させるには、下記のコマンドを実行する。

$source ~/.profile

パスの確認

$echo $PATH
takanemu
ASP.Netでお仕事してます。少し前まで、WPF/C#の仕事してました。 現在は、ASP.Net Core + Vue.jsでのシステム構築を行っています。 会社では、Windows、家ではUbuntuを使ってます。 家族は、嫁とミニピンが一匹。
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした