pacman 好像不支援sendmail的安裝

27 views
Skip to first unread message

merto...@gmail.com

unread,
Dec 23, 2018, 7:02:17 PM12/23/18
to Arch Linux TW 討論群組
[jarojaro2g ~]# pacman -S sendmail
錯誤:未找到目標:sendmail
pacman 好像不支援sendmail的安裝

merto...@gmail.com

unread,
Dec 23, 2018, 7:16:32 PM12/23/18
to Arch Linux TW 討論群組
我有連結到
https://wiki.archlinux.org/index.php/sendmail
察看sendmail的『安裝』項目
有交代sendmail的『安裝』,看起來蠻複雜的,而且也以失敗收場。

PN Wu (小平)

unread,
Dec 23, 2018, 10:15:33 PM12/23/18
to shieh mert0n2016q1, Arch Linux TW 討論群組
Hi merton16q1 ,

我沒用過 sendmail ,但根據 Wiki 顯示 sendmail 在 AUR 裡,你可以手動安裝、或使用 AUR Helper 來幫助你安裝 AUR 上的東西。

參考:

AUR Helper 也都是在 AUR 中,為了使用 AUR 中的 Package ,無論如何你至少會手動裝過一次。
以下提供 AUR Helper 之一的 aurman 頁面資訊與手動方式給你當作練習參考
  1. 根據 https://aur.archlinux.org/packages/aurman 得到 Git Clone URL https://aur.archlinux.org/aurman.git
  2. 依序輸入以下指令
    git clone https://aur.archlinux.org/aurman.git 
    cd aurman
    makepkg -si 

至此應已順利安裝 aurman ,你可以簡單使用 aurman 一次安裝 https://wiki.archlinux.org/index.php/sendmail 提到所需安裝的項目,指令如下
aurman -S sendmail procmail m4



或許你不想透過 AUR Helper 安裝 procmail ,但手動安裝過程應與 aurman 類似
  1. 根據 https://aur.archlinux.org/packages/sendmail 得到 Git Clone URL https://aur.archlinux.org/sendmail.git
  2. 依序輸入以下指令
    git clone https://aur.archlinux.org/sendmail.git
    cd sendmail
    makepkg -si

procmail 以及 m4 是透過 pacman 即可順利安裝的,所以可以使用以下指令
pacman -S procmail m4


你可以嘗試看看。



<merto...@gmail.com> 於 2018年12月24日 週一 上午8:16寫道:
--
您已訂閱「Google 網上論壇」的「Arch Linux TW 討論群組」群組,因此我們特別傳送這封郵件通知您。
如要取消訂閱這個群組並停止接收來自這個群組的郵件,請傳送電子郵件到 archlinux-tw-gen...@googlegroups.com
如需更多選項,請前往:https://groups.google.com/d/optout
Reply all
Reply to author
Forward
0 new messages