<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                ![](https://ws1.sinaimg.cn/large/006tNc79ly1g1sogauqq4j30k009gq36.jpg) 不是所有的程序都可以在官方或者第三方庫中找到,因此你不能使用常規的包管理來安裝它們。有時你不得不從源代碼中手動構建這些程序。就如你已經知道的一樣,當你從源代碼中安裝一個程序的時候,這個軟件包所包含的文件將會復制到本地的多個位置,例如?`/usr/local/bin`、`/usr/local/etc/`。如果從源代碼中安裝的程序沒有內置的卸載程序,當你不再需要這個程序的時候,卸載它就會很麻煩。你可能會花費雙倍(甚至更多)的時間找出這些文件然后手動刪除它們。我以前一直是這樣做的,直到我發現了 GNU Stow。 引用官方網站里的一段介紹: > GNU Stow 是一個符號鏈接歸集管理器,它可以收集文件系統上不同目錄中的不同軟件和/或數據包,使它們看起來像是一個整體。 ## 安裝 ```bash # centos/redhat $ sudo yum install epel-release $ sudo yum install stow # ubuntu $ sudo apt install stow ``` ## 安裝測試軟件 ```bash $ wget http://dl.echosoul.cn/hello-2.10.tar.gz $ tar xf hello-2.10.tar.gz $ cd hello-2.10 $ ./conifgure --prefix=/usr/local/stow/hello $ make && make install ``` ## 創建連接 ~~~bash $ cd /usr/local/stow/ $ sudo stow hello ~~~ 剛才那一步是將包含在 hello 這個程序中的所有文件或者目錄創建了鏈接到?`/usr/local/`?目錄中。換一種說法,?`/usr/local/stow/hello/bin`?鏈接到?`/usr/local/bin`,以及?`/usr/local/stow/hello/share/man`?鏈接到?`/usr/local/share`,還有?`/usr/local/stow/hello/share/man`?鏈接到?`/usr/local/share/man` ## 刪除 ```bash $ sudo stow --delete hello ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看