お知らせ

  • 利用規約を守って投稿してください。また、よくある質問および投稿の手引きも参照してください。
  • メッセージの投稿にはアカウントが必要です。未登録の方は、ユーザ登録ページからアカウントを作成することができます。

#1 2014-07-10 21:56:19

tomotec99
新しいメンバ
登録日: 2014-07-05

リポジトリのアンコメントの方法を教えてください。

lenovo sl500
に xubuntu14.02をインストールしてます。

勉強するため、http://0918.jp/ryusai/qucs-01.htm
こちらのサイトにある Qucsをインストールして電子回路の勉強をしたいのですが、
 ”アンコメント” という作業が必要らしいのですが、よくわかりません。
どなたか教えていただけますと助かるのですが、どなたかご教授願えませんでしょうか?

オフライン

 

#2 2014-07-10 23:24:29

si
メンバ
From: hokkaido kitami, jp
登録日: 2007-01-15

Re: リポジトリのアンコメントの方法を教えてください。

tomotec99 による投稿:

lenovo sl500
に xubuntu14.02をインストールしてます。

勉強するため、http://0918.jp/ryusai/qucs-01.htm
こちらのサイトにある Qucsをインストールして電子回路の勉強をしたいのですが、
 ”アンコメント” という作業が必要らしいのですが、よくわかりません。
どなたか教えていただけますと助かるのですが、どなたかご教授願えませんでしょうか?

linux の設定ファイルの多くは、行頭に”#”を入れることで、その行を無視するようになっています。
これは、設定ファイル等に、設定項目の説明(コメント)を入れるための機能です。
そこで、
行頭に”#”を入れることを、コメント化すると言い、
行頭の”#”を削除して、その行の設定を有効にすることを、アンコメントと言います。

オフライン

 

#3 2014-07-11 06:39:23

tomotec99
新しいメンバ
登録日: 2014-07-05

Re: リポジトリのアンコメントの方法を教えてください。

ありがとうございます。

そうしますと、hpに記載してある

deb http://archive.ubuntu.com/ubuntu intrepid main restricted
deb-src http://archive.ubuntu.com/ubuntu intrepid main restricted

deb http://security.ubuntu.com/ubuntu intrepid-security main restricted
deb-src http://security.ubuntu.com/ubuntu intrepid-security main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu intrepid-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu intrepid-updates main restricted

## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu intrepid universe
deb-src http://archive.ubuntu.com/ubuntu intrepid universe
deb http://archive.ubuntu.com/ubuntu intrepid-updates universe
deb-src http://archive.ubuntu.com/ubuntu intrepid-updates universe
deb http://security.ubuntu.com/ubuntu intrepid-security universe
deb-src http://security.ubuntu.com/ubuntu intrepid-security universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
# deb http://archive.ubuntu.com/ubuntu intrepid multiverse
# deb-src http://archive.ubuntu.com/ubuntu intrepid multiverse
# deb http://archive.ubuntu.com/ubuntu intrepid-updates multiverse
# deb-src http://archive.ubuntu.com/ubuntu intrepid-updates multiverse
# deb http://security.ubuntu.com/ubuntu intrepid-security multiverse
# deb-src http://security.ubuntu.com/ubuntu intrepid-security multiverse

上記の文章をgeditで起動された/sources.listに追加コピペして保存作業をすればよろしいのでしょうか?

オフライン

 

#4 2014-07-11 11:38:22

si
メンバ
From: hokkaido kitami, jp
登録日: 2007-01-15

Re: リポジトリのアンコメントの方法を教えてください。

tomotec99 による投稿:

上記の文章をgeditで起動された/sources.listに追加コピペして保存作業をすればよろしいのでしょうか?

コピペして保存ではいけません。
ページの参考例の Ubuntu バージョンは、intrepid (Ubuntu 8.10)であり、Ubuntu 14.04 は、trusty です。
リポジトリを混ぜると、悲劇的なことが起こります。

また、
https://launchpad.net/~fransschreuder1/+archive/ubuntu/qucs
を見ると、 Qucs は、Ubuntu 12.10で、削除(Qt のバージョンの関係)されたようです。
さらに、Qucs のホームから辿れる、Ubuntu PPA のものも、まだ、Ubuntu 14.04 対応していないようです。
試すとすれば、上記、PPA を導入してみて、動作させてみるのが、いいのかもしれません?

オフライン

 

#5 2014-07-11 18:24:38

tomotec99
新しいメンバ
登録日: 2014-07-05

Re: リポジトリのアンコメントの方法を教えてください。

SI様
ありがとうございます。
混ぜて保存すると悲劇が起こることを知らず。
やってしまったあとに、このメールをしました。

もう一度
$ sudo gedit /etc/apt/sources.list &
を、端末にいれても、geditが起動せず、listを変更できなくなってしまいました。

再インストールしなおします。

オフライン

 

#6 2014-07-11 22:56:37

tomotec99
新しいメンバ
登録日: 2014-07-05

Re: リポジトリのアンコメントの方法を教えてください。

再インストール後、おしえていただいたサイトでppaを追加し
インストールしたところ、14.04のバージョンでインストール出来ました。
ありがとうございました。

オフライン

 

Board footer

Powered by FluxBB