Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]how to download torrent with aria2c ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
saeb
Tux's lil' helper
Tux's lil' helper


Joined: 13 Apr 2017
Posts: 82
Location: iran

PostPosted: Tue Jul 25, 2017 10:23 am    Post subject: [SOLVED]how to download torrent with aria2c ? Reply with quote

Hi there
it seems when I install aria2c with emerge it doesn't compile with torrent plugins.
how i can make it add torrent download plugin to aria2?
_________________
I`m noob and I have a jillion question


Last edited by saeb on Tue Jul 25, 2017 12:14 pm; edited 1 time in total
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2583

PostPosted: Tue Jul 25, 2017 10:56 am    Post subject: Reply with quote

Please provide your emerge -pvq net-misc/aria2.
Back to top
View user's profile Send private message
saeb
Tux's lil' helper
Tux's lil' helper


Joined: 13 Apr 2017
Posts: 82
Location: iran

PostPosted: Tue Jul 25, 2017 12:13 pm    Post subject: Reply with quote

charles17 wrote:
Please provide your emerge -pvq net-misc/aria2.

it was
Code:
[ebuild   R   ] net-misc/aria2-1.32.0  USE="gnutls libxml2 nettle nls ssl -adns -bittorrent -jemalloc -libuv -metalink -scripts -sqlite -ssh -tcmalloc {-test} -xmlrpc"

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


and I wrote
Code:

 # USE="bittorrent" emerge aria2

now I cam Download torrents. tnx dude
_________________
I`m noob and I have a jillion question
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 21362
Location: here

PostPosted: Tue Jul 25, 2017 12:34 pm    Post subject: Reply with quote

The best way is to set this use flag permanently to package with package.use, otherwise next update this "use flag" will be removed
Code:
# echo "net-misc/aria2 bittorrent" >> /etc/portage/package.use

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
saeb
Tux's lil' helper
Tux's lil' helper


Joined: 13 Apr 2017
Posts: 82
Location: iran

PostPosted: Tue Jul 25, 2017 12:40 pm    Post subject: Reply with quote

fedeliallalinea wrote:
The best way is to set this use flag permanently to package with package.use, otherwise next update this "use flag" will be removed
Code:
# echo "net-misc/aria2 bittorrent" >> /etc/portage/package.use


do I need add this to
Code:
/etc/portage/package.use/xfce
?

Code:
zsh: is a directory: /etc/portage/package.use
[/quote]
_________________
I`m noob and I have a jillion question
Back to top
View user's profile Send private message
xaviermiller
Administrator
Administrator


Joined: 23 Jul 2004
Posts: 7901
Location: ~Brussels - Belgique

PostPosted: Tue Jul 25, 2017 12:44 pm    Post subject: Reply with quote

yes, create a file in /etc/portage/package.use (aria2 for example)
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2583

PostPosted: Tue Jul 25, 2017 12:44 pm    Post subject: Reply with quote

saeb wrote:
Code:
zsh: is a directory: /etc/portage/package.use
See https://wiki.gentoo.org/wiki//etc/portage/package.use

To convert to a file:
Code:
mv /etc/portage/package.use /tmp
cat /tmp/package.use/* > /etc/portage/package.use
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum