<!doctypehtml><html lang=en><meta charset=utf-8><meta content=IE=edge http-equiv=X-UA-Compatible><title>
   What's the name of the package to record YouTube audio to mp3? | Q&A ProDevsBlog
  </title><meta content=#2d6ff7 name=theme-color><meta content=width=device-width,initial-scale=1.0 name=viewport><meta content="What's the name of the package to record YouTube audio to mp3? | Q&A ProDevsBlog"name=description><meta name=keywords><meta content="Q&A ProDevsBlog | What's the name of the package to record YouTube audio to mp3?"property=og:title><meta content=website property=og:type><meta content=https://prodevsblog.com/questions/images/fcda38f0f06df434b3303c4e41d96086.png property=og:image><meta content="What's the name of the package to record YouTube audio to mp3? | Q&A ProDevsBlog"property=og:description><meta content="What's the name of the package to record YouTube audio to mp3?"property=og:site_name><link href=https://www.google.com rel=preconnect><link href=https://adservice.google.com rel=preconnect><link href=https://adservice.google.co.in rel=preconnect><link href=https://www.googletagservices.com rel=preconnect><link href=https://partner.googleadservices.com rel=preconnect><link href=https://pagead2.googlesyndication.com rel=preconnect><link href=https://securepubads.g.doubleclick.net rel=preconnect><link href=https://cdn.jsdelivr.net rel=dns-prefetch><link href=https://fonts.gstatic.com rel=dns-prefetch><link href=https://cdnjs.cloudflare.com rel=dns-prefetch><link href=https://maxcdn.bootstrapcdn.com rel=dns-prefetch><link rel="shortcut icon"href=https://prodevsblog.com/questions/images/f45c707130b29e21bae6c135c5660ed8.png type=image/png><link href=https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css rel=stylesheet><link href=https://prodevsblog.com/questions/css/style.css rel=stylesheet><link href=https://prodevsblog.com/questions/css/animation.css rel=stylesheet><link href=https://prodevsblog.com/questions/plugins/loading.css rel=stylesheet><link href=https://prodevsblog.com/questions/plugins/loading-btn.css media=print onload=this.media='all' rel=stylesheet><link href=https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.css media=print onload=this.media='all' rel=stylesheet><link href=https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css media=print onload=this.media='all' rel=stylesheet><link href=https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i media=print onload=this.media='all' rel=stylesheet><script async src=https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js></script><script async src=https://securepubads.g.doubleclick.net/tag/js/gpt.js></script><body><section><header><div class=main-header-upper><div class="container custom"><div class="navbars uppernav"><ul class="navbar-navs options-nav text-center pt-2 mb-0"><li class="nav-item logo-main"><a class="nav-link custom"href=https://prodevsblog.com/questions/> <img class="img-fluid logo"alt=logo src=https://prodevsblog.com/questions/images/fcda38f0f06df434b3303c4e41d96086.png> </a><li class="nav-item pull-right d-none d-md-flex"><a class="nav-link custom"data-target=#signupModal data-toggle=modal href=#> <i class="icon ion-ios-person"> </i> Sign In </a><li class="nav-item pull-right ask-question-nav d-none d-md-flex"><a class="nav-link custom"data-target=#signupModal data-toggle=modal> Ask a Question </a></ul></div></div></div><nav class="navbar navbar-expand-md py-0"><span class="nav-item pull-right d-flex d-md-none"> <a class="nav-link custom"data-target=#signupModal data-toggle=modal href=#> <i class="icon ion-ios-person"> </i> Sign In </a> </span><span class="nav-item pull-right ask-question-nav d-sm-flex d-md-none d-none"> <a class="nav-link custom"data-target=#signupModal data-toggle=modal> Ask a Question </a> </span><button class="navbar-toggler custom"data-target=#collapsibleNavbars data-toggle=collapse type=button><span class=ti-menu> </span></button><div class="collapse navbar-collapse"id=collapsibleNavbars><ul class="navbar-nav options-nav mx-auto custom"><li class="nav-item pull-right ask-question-nav d-sm-none"><a class="nav-link custom"data-target=#signupModal data-toggle=modal> Ask a Question </a><li class=nav-item><a class="nav-link custom"href=https://prodevsblog.com/questions/> <span> <i class="fa fa-line-chart"aria-hidden=true> </i> </span> All Activity </a><li class=nav-item><a class="nav-link custom"href=https://prodevsblog.com/questions/all/> <span> <i class="icon ion-md-list"> </i> </span> Questions </a><li class=nav-item><a class="nav-link custom"href=https://prodevsblog.com/questions/hot/> <span> <i class="icon ion-md-cafe"> </i> </span> Hots </a><li class=nav-item><a class="nav-link custom"href=https://prodevsblog.com/questions/unanswered/> <span> <i class="icon ion-md-book"> </i> </span> Unanswered </a><li class=nav-item><a class="nav-link custom"href=https://prodevsblog.com/questions/categories/> <span> <i class="icon ion-md-pricetags"> </i> </span> Categories </a><li class=nav-item><a class="nav-link custom"href=https://prodevsblog.com/questions/users/> <span> <i class="icon ion-md-contacts"> </i> </span> Users </a><li class=nav-item><a class="nav-link custom"href=https://prodevsblog.com/questions/badges/> <span> <i class="icon ion-md-infinite"> </i> </span> Badges </a></ul></div></nav></header></section><div class="modal fade signin"id=signupModal><div class=modal-dialog><div class=modal-content><div class=modal-body><ul class="nav nav-pills signin w-100 text-center"role=tablist><li class="nav-item w-50"><a class="nav-link active"data-toggle=pill href=#home> Log In <span> <i class="fa fa-sign-in"aria-hidden=true> </i> </span> </a><li class="nav-item w-50"><a class=nav-link data-toggle=pill href=#menu1> Sign Up <span> <i class="icon ion-md-person"> </i> </span> </a></ul><div class=tab-content><div class="container tab-pane active py-4"id=home><div class=row><div class=col-md-6><form class=sign><div class=form-group><label>Enter your Email</label><input id=emailL placeholder=Email type=email><span class=icon-input> <i class="icon ion-md-mail"> </i> </span></div><div class=form-group><label>Enter your Password</label><input id=passwordL placeholder=Password type=password><span class=icon-input> <i class="icon ion-md-unlock"> </i> </span></div></form></div><div class=col-md-6><h2 class=heading-social-media>Login with Social Media</h2><div class=form-group><button class="btn btn-socila fb"onclick=window.location.href='https://prodevsblog.com/questions/facebook'><i class="icon ion-logo-facebook"> </i> Login with facebook</button></div><div class=form-group><button class="btn btn-socila gmail"onclick=window.location.href='https://prodevsblog.com/questions/google'><i class="fa fa-google-plus"aria-hidden=true> </i> Login with Gmail</button></div></div><div class=col-md-12><div class="alert alert-success d-none loginmessages"id=successLogin></div><div class="alert alert-danger d-none loginmessages"id=errorLogin></div><button class="btn btn-signin"id=loginB type=button>Sign In</button></div><div class=col-sm-6><a class=forgetpass id=forgotM> Forgot Password </a></div></div></div><div class="container tab-pane fade py-4"id=menu1><form class=sign><div class=row><div class=col-md-12><div class=form-group><label>Display Name</label><input placeholder="Your name"id=nameS><span class=icon-input> <i class="icon ion-md-person"> </i> </span></div></div><div class=col-md-12><div class=form-group><label>Enter your Email</label><input id=emailS placeholder=Email type=email><span class=icon-input> <i class="icon ion-md-mail"> </i> </span></div></div><div class=col-md-12><div class=form-group><label>Enter your Password</label><input id=passwordS placeholder=Password type=password><span class=icon-input> <i class="icon ion-md-unlock"> </i> </span></div></div><div class=col-md-12><div class="alert alert-success d-none signupmessages"id=successSignup></div><div class="alert alert-danger d-none signupmessages"id=errorSignup></div><button class="btn btn-signin"id=signupB type=button>Sign Up</button></div></div></form></div></div></div></div></div></div><div class="modal fade"id=forgetModal role=dialog><div class=modal-dialog><div class=modal-content><div class="modal-body p-0"><div class=header-pass-reset><h3 class="text-center m-0">Forget password</h3></div><div class="alert alert-success d-none resetmessages"id=successForgot></div><div class="alert alert-danger d-none resetmessages"id=errorForgot></div><div class=main-body-pass><div class=form-group><label class=forget-pass>Enter your email and we will send you instructions on how to reset your password</label><div class="input-group forget-pass"><span class=icon-forgwt-pass> <i class="icon ion-md-mail"> </i> </span><input id=emailF placeholder=Email type=email></div></div><button class="btn btn-reset-pass"id=resetB type=button>Reset</button></div></div></div></div></div><div class="modal fade"id=forgetModalCon role=dialog><div class=modal-dialog><div class=modal-content><div class=modal-header><button class=close data-dismiss=modal type=button>×</button><h4 class=modal-title>Forget password</h4></div><div class=modal-body><input placeholder="New password"id=passwordF type=password><input id=hash type=hidden></div><div class=modal-footer><div class="alert alert-success d-none resetmessages"id=successForgotC></div><div class="alert alert-danger d-none resetmessages"id=errorForgotC></div><button class="btn btn-default"id=resetF type=button>Reset</button></div></div></div></div><div class="modal fade"id=replyEditQuestion role=dialog><div class=modal-dialog><div class=modal-content><div class="modal-body p-0"><div class=replyq-heading><h4>Edit your Answer</h4></div><div class="main-replyq p-3"><textarea class="editorP w-100"id=editAnswer rows=5></textarea><input id=answerEditId type=hidden><button class="btn btn-edit-ans"id=updateAnswer type=button>Update</button></div></div></div></div></div><div class=main-body><div class="container custom pb-5 pt-3"><div class=row><div class="col-md-8 col-lg-9"><div class="inner-question main"><article class="article-question article-post clearfix question-type-normal py-0"><div class=single-inner-content><div class="row select-category single-head m-0"><div class="col-2 col-sm-1 col-md-1 col-lg-1 px-lg-1 text-center d-none d-sm-flex"><div class="question-image-vote ans-bg w-100"><div class="vote-count ans text-center"><span class=awnsersCount> 3 </span><b> <span class=ans-text> Answers </span> </b></div></div></div><div class="col-md-11 col-sm-11 col-12 col-lg-11 px-1"><h1 class=post-titles><a class=post-titles href rel=bookmark> What's the name of the package to record YouTube audio to mp3? </a></h1><div class="ribbon base"><div class=ribbon-container><span id=ribbon> <i class="fa fa-eye mr-1"aria-hidden=true> </i> 9.7k <span class=question-span> Views </span> </span></div></div></div></div><div class="question-inner row"><div class="col-sm-1 col-md-1 col-lg-1 col-6 px-lg-1"><div class="question-image-vote px-sm-0 text-center vote-bg"><ul class="question-mobile question-vote"><li class="question-vote-up voteQuestion"qid=928543 type=1><a class="question_vote_up vote_not_user"title=Like> <i class="fa fa-caret-up"aria-hidden=true> </i> </a><li class=count-vote-mid><span class="vote votesCount-928543"> 8 </span><li class="question-vote-down voteQuestion"qid=928543 type=0><a class="question_vote_down vote_not_user"title=Dislike> <i class="fa fa-caret-down"aria-hidden=true> </i> </a></ul></div><div class="question-content question-content-first d-none"><header class=article-header><div class=question-header><span class="author-image-span pull-left"> <img class="avatar avatar-42 photo"alt=name height=21 src=https://prodevsblog.com/questions/images/default-user-image.png width=21> </span><a class=post-author href=https://prodevsblog.com/questions/profile/93591/> Lapa Ferreira </a><div class=post-meta><span class=post-date itemprop=dateCreated> Asked: <span class="entry-date published"> Oct 19,2020 </span> </span><span class=byline> <span class=post-cat> In: <a href=https://prodevsblog.com/questions/categories/apt/> Apt </a> </span> </span></div></div></header></div></div><div class="col-md-2 col-lg-1 col-sm-2 col-6 text-center d-flex d-sm-none"><div class="question-image-vote ans-bg pt-4"><div class="vote-count ans text-center"><a href=#> <span class=awnsersCount> 3 </span> <b> <span class=ans-text> Answers </span> </b> </a></div></div></div><div class="col-sm-11 col-md-11 col-lg-11 px-lg-1"><div class="question-content question-content-first d-none"><header class="article-header d-none"><div class=question-header><span class="author-image-span pull-left"> <img class="avatar avatar-42 photo"alt=name height=21 src=https://prodevsblog.com/questions/images/default-user-image.png width=21> </span><a class=post-author href=https://prodevsblog.com/questions/profile/93591/> Lapa Ferreira </a><span style="background-color: #ffbf00"class=badge-span> Punditsdkoslkdosdkoskdo </span><div class=post-meta><span class=post-date itemprop=dateCreated> Asked: <span class="entry-date published"> Oct 19,2020 </span> </span><span class=byline> <span class=post-cat> In: <a href=https://prodevsblog.com/questions/categories/apt/> Apt </a> </span> </span></div></div></header><h2 class=post-title><a class=post-title href rel=bookmark> What's the name of the package to record YouTube audio to mp3? </a></h2></div><div class="question-content question-content-second pt-sm-4"><div class=post-wrap-content><div class=question-content-text><p>I'm trying to remove a package that records YouTube audio to .mp3 files but can't remember the package name.<p>I'm using <code>
                sudo apt-get purge &LTpackage name>
               </code> but I enter the package name incorrectly and then "Unable to locate package" is displayed.<p>Does anyone know the name of the the package?<p>Thanks</div></div><div class=wpqa_error></div><div class=tagcloud><div class=question-tags><i class=icon-tags> </i><a href=https://prodevsblog.com/questions/tags//> </a></div></div><footer class="question-footer row"><div class="col-md-7 d-none"><ul class=footer-meta><li><i class="icon ion-md-chatboxes"> </i> <a class=awnsersCount> 3 </a> <span class=question-span> <a href=#> Answers </a> </span><li><i class="fa fa-eye"aria-hidden=true> </i> 9753 <span class=question-span> Views </span></ul></div><div class="col-md-12 col-lg-8"><div class="question-content question-content-first"><div class=article-header><div class=question-header><span class="author-image-span pull-left"> <img class="avatar avatar-42 photo"alt=name height=21 src=https://prodevsblog.com/questions/images/default-user-image.png width=21> </span><a class=post-author href=https://prodevsblog.com/questions/profile/93591/> Lapa Ferreira </a><div class=post-meta><span class=post-date itemprop=dateCreated> Asked: <span class="entry-date published"> Oct 19,2020 </span> </span><span class=byline> <span class=post-cat> In: <a href=https://prodevsblog.com/questions/categories/apt/> Apt </a> </span> </span></div></div></div></div></div><div class="col-md-12 col-lg-4 text-right"><button class="meta-answer comment mx-2 my-1"href=# id=replyQuestion><span> <span class=ti-comments> </span> </span> Reply</button><a class="meta-answer dropdown my-1"onclick=animateAwnser('#submitForm');> <span> <i class="icon ion-md-chatbubbles"> </i> </span> Answer </a></div></footer><div class=main-comment id=replyQuestion-textarea style=display:none><div class=form-group><label>Your reply on this question:</label><textarea class="editorP answer w-100"id=replyTextQ rows=2></textarea></div><div class=form-group><button class="btn btn-postcomment my-2"id=addReplyQuestion>Add Reply</button><button class="btn btn-cancelcomment my-2"id=cancelReplyQuestion>Cancel</button></div></div><div class=comments><ul id=questionReplies><ul class=reply-main-brd id=question-reply-main-head-1436611><ul class="question-vote reply"><li class="vote-count voteQReplyCount-1436611"><li class="question-vote-up voteQReply"qrid=1436611><a class="question_vote_up vote_not_user"href=# title=Like> <i class="fa fa-caret-up"aria-hidden=true> </i> </a><li class="reportqr question-vote-down"qrid=1436611><a class=flag-report> <i class="icon ion-md-flag"> </i> </a></ul><li><div class=send-details><span> </span><span class=sender> <a href=https://prodevsblog.com/questions/profile/14427/> Håge Farah </a> </span><span class=send-time> <a class=comment-date href> Oct 19,2020 </a> </span></div> <div class=comment-text><div class=act-reply-1436611><code>
                   youtube-to-mp3
                  </code> ?</div></div></ul><ul class=reply-main-brd id=question-reply-main-head-1436612><ul class="question-vote reply"><li class="vote-count voteQReplyCount-1436612">2<li class="question-vote-up voteQReply"qrid=1436612><a class="question_vote_up vote_not_user"href=# title=Like> <i class="fa fa-caret-up"aria-hidden=true> </i> </a><li class="reportqr question-vote-down"qrid=1436612><a class=flag-report> <i class="icon ion-md-flag"> </i> </a></ul><li><div class=send-details><span> </span><span class=sender> <a href=https://prodevsblog.com/questions/profile/93591/> Lapa Ferreira </a> </span><span class=send-time> <a class=comment-date href> Oct 19,2020 </a> </span></div> <div class=comment-text><div class=act-reply-1436612>In was indeed youtube-to-mp3. Thank you.</div></div></ul><ul class=reply-main-brd id=question-reply-main-head-1436609><ul class="question-vote reply"><li class="vote-count voteQReplyCount-1436609">2<li class="question-vote-up voteQReply"qrid=1436609><a class="question_vote_up vote_not_user"href=# title=Like> <i class="fa fa-caret-up"aria-hidden=true> </i> </a><li class="reportqr question-vote-down"qrid=1436609><a class=flag-report> <i class="icon ion-md-flag"> </i> </a></ul><li><div class=send-details><span> </span><span class=sender> <a href=https://prodevsblog.com/questions/profile/14427/> Håge Farah </a> </span><span class=send-time> <a class=comment-date href> Oct 19,2020 </a> </span></div> <div class=comment-text><div class=act-reply-1436609>What package are you trying to find?</div></div></ul><ul class=reply-main-brd id=question-reply-main-head-1436610><ul class="question-vote reply"><li class="vote-count voteQReplyCount-1436610">1<li class="question-vote-up voteQReply"qrid=1436610><a class="question_vote_up vote_not_user"href=# title=Like> <i class="fa fa-caret-up"aria-hidden=true> </i> </a><li class="reportqr question-vote-down"qrid=1436610><a class=flag-report> <i class="icon ion-md-flag"> </i> </a></ul><li><div class=send-details><span> </span><span class=sender> <a href=https://prodevsblog.com/questions/profile/93591/> Lapa Ferreira </a> </span><span class=send-time> <a class=comment-date href> Oct 19,2020 </a> </span></div> <div class=comment-text><div class=act-reply-1436610>It's Youtube to MP3 package that I installed.</div></div></ul></ul><div class="loadmore-mqr text-center"></div></div></div></div></div></div></article></div><div class=white-box-shadow><div style="padding: 10px 30px;"class=mt-2><div class=row><div class="col-sm-12 col-md-12 col-lg-12 text-right"><ul class="nav nav-tabs ans-category"role=tablist><li class="tabs-question nav-item"type=resc><a class="nav-link active"data-toggle=tab href=#recent> Recent </a><li class="tabs-question nav-item"type=vote><a class=nav-link data-toggle=tab href=#voted> Voted </a><li class="tabs-question nav-item"type=old><a class=nav-link data-toggle=tab href=#oldest> Oldest </a></ul></div></div></div></div><div class=white-box-shadow><div style="padding: 10px 30px;"class=mt-2><div class=row><div class="col-sm-12 col-md-12 col-lg-12 text-center"style="max-height: 90px !important;"><ins class=adsbygoogle data-ad-client=ca-pub-8794103690559293 data-ad-slot=8129483915 data-full-width-responsive=true style=display:inline-block;min-width:200px;max-width:970px;width:100%;height:90px> </ins><script>(adsbygoogle = window.adsbygoogle || []).push({});</script></div></div></div></div><div class=tab-content><div class="tab-pane active"id=recent><div id=recentAwnsers><div class="white-box-shadow mt-2"><article class="article-question article-post clearfix question-type-normal"id=answer-main-head-2131646><div class=single-inner-content><div class="question-inner row"><div class="col-md-2 col-lg-1 px-md-1"><div class="question-image-vote ans"><div class="author-image text-center"><a href> <span class=author-image-span> <img class="avatar avatar-42 photo"alt=name height=42 src=https://prodevsblog.com/questions/images/default-user-image.png width=42> </span> </a><ul class="question-mobile question-vote comment comment"><li class="question-vote-up answerVote"qaid=2131646 type=1><a class="question_vote_up vote_not_user"title=Like> <i class="fa fa-caret-up"aria-hidden=true> </i> </a><li class="votes-answer-2131646 vote_result">2<li class="question-vote-down answerVote"qaid=2131646 type=0><a class="question_vote_down vote_not_user"title=Dislike> <i class="fa fa-caret-down"aria-hidden=true> </i> </a></ul></div></div><div class="question-content question-content-first d-inline-block d-md-none"><header class=article-header><div class=question-header><a class=post-author href=https://prodevsblog.com/questions/profile/87196/> Francesca Codeluppi </a></div></header></div></div><div class="col-md-10 col-lg-11"><div class="question-content question-content-first"><header class="article-header d-none d-md-block"><div class="question-header d-sm-inline-block"><a class=post-author href=https://prodevsblog.com/questions/profile/87196/> Francesca Codeluppi </a><a class=comment-date href> Added an answer on Oct 19,2020 </a></div></header></div><div class="question-content question-content-second"><div class=post-wrap-content><div class="question-content-text comment"id=answer-description-2131646><p>You can do the following using the terminal:<ol><li><p>To see all packages and look for the one you installed - <code>
                     dpkg --get-selections | grep -v deinstall
                    </code></p><li><p>To see a broader list - <code>
                     dpkg -l
                    </code></p><li><p>Use <code>
                     grep tool
                    </code> to search for the two <code>
                     keywords
                    </code> you mentioned above - <code>
                     dpkg --get-selections | grep [youtube-to-mp3]
                    </code></p></ol><p>If using Ubuntu version greater than 14.04, use <code>
                   apt list --installed
                  </code> .<p>Then after identifying the package (note: options 1 & 2 will give you large outputs as I saw when I ran it) you can simple do:<p>For Ubuntu 14.04 and older:<pre><code>sudo apt-get purge &LTthe-package-name>
</code></pre><p>For Ubuntu 16.04 and newer:<pre><code>sudo apt purge &LTthe-package-name>
</code></pre></div></div><div class=main-comment-option><ul class="question-mobile question-vote comment comment d-none"><li class="question-vote-up answerVote"qaid=2131646 type=1><a class="question_vote_up vote_not_user"title=Like> <i class="fa fa-caret-up"aria-hidden=true> </i> </a><li class="votes-answer-2131646 vote_result">2<li class="question-vote-down answerVote"qaid=2131646 type=0><a class="question_vote_down vote_not_user"title=Dislike> <i class="fa fa-caret-down"aria-hidden=true> </i> </a></ul><span class="reply-answer reply-comment"answerid=2131646> <i class="fa fa-share"aria-hidden=true> </i> Reply </span><span class=report-comment data-target=#signupModal data-toggle=modal> <i class="fa fa-exclamation-triangle"aria-hidden=true> </i> Report </span></div></div><div class="main-comment reply d-none"id=2131646-answerReplyInput><div class=form-group><label>Your comment on this answer:</label><textarea class="editorP reply answer w-100"rows=5></textarea></div><div class=form-group><button class="addReplyAnswer btn btn-postcomment my-2"answerid=2131646>Add Comment</button><button class="cancelReplyAnswer btn btn-cancelcomment my-2"answerid=2131646>Cancel</button></div></div><div class=comments><ul id=2131646-answerReplies><ul class=reply-main-brd id=answer-reply-main-head-2537028><ul class="question-vote reply"><li class="vote-count voteAReplyCount-2537028"><li class="question-vote-up voteAReply"arid=2537028><a class="question_vote_up vote_not_user"href=# title=Like> <i class="fa fa-caret-up"aria-hidden=true> </i> </a><li class="reportar question-vote-down"arid=2537028><a class=flag-report> <i class="icon ion-md-flag"> </i> </a></ul><li><div class=send-details><span> </span><span class=sender> <a href=https://prodevsblog.com/questions/profile/53668/> Simon Brisenfeldt </a> </span><span class=send-time> <a class=comment-date href> Oct 19,2020 </a> </span></div> <div class=comment-text><div class=act-reply-2537028>Instead of just copying and pasting from an existing answer please flag it as a duplicate.</div></div></ul><ul class=reply-main-brd id=answer-reply-main-head-2537029><ul class="question-vote reply"><li class="vote-count voteAReplyCount-2537029">2<li class="question-vote-up voteAReply"arid=2537029><a class="question_vote_up vote_not_user"href=# title=Like> <i class="fa fa-caret-up"aria-hidden=true> </i> </a><li class="reportar question-vote-down"arid=2537029><a class=flag-report> <i class="icon ion-md-flag"> </i> </a></ul><li><div class=send-details><span> </span><span class=sender> <a href=https://prodevsblog.com/questions/profile/87196/> Francesca Codeluppi </a> </span><span class=send-time> <a class=comment-date href> Oct 19,2020 </a> </span></div> <div class=comment-text><div class=act-reply-2537029>@Patrick I am ignorant of that fact and did not do it with that intent. I believe pointing it out to a novice would have been the right thing than punishing me. So should I remove the answer and flag as you have pointed out.</div></div></ul><ul class=reply-main-brd id=answer-reply-main-head-2537030><ul class="question-vote reply"><li class="vote-count voteAReplyCount-2537030"><li class="question-vote-up voteAReply"arid=2537030><a class="question_vote_up vote_not_user"href=# title=Like> <i class="fa fa-caret-up"aria-hidden=true> </i> </a><li class="reportar question-vote-down"arid=2537030><a class=flag-report> <i class="icon ion-md-flag"> </i> </a></ul><li><div class=send-details><span> </span><span class=sender> <a href=https://prodevsblog.com/questions/profile/71857/> Sylvie Belalia </a> </span><span class=send-time> <a class=comment-date href> Oct 19,2020 </a> </span></div> <div class=comment-text><div class=act-reply-2537030>@PatrickNegus I don't see where this is a copy/paste of an existing answer, sure, the commands are the same but it seems to be the OP's own answer. I agree the -1 might be a bit harsh. George, you can answer duplicates, if you like but they will get closed quickly and won't get many votes but there is no rule against answering them, in your own words.</div></div></ul><ul class=reply-main-brd id=answer-reply-main-head-2537031><ul class="question-vote reply"><li class="vote-count voteAReplyCount-2537031"><li class="question-vote-up voteAReply"arid=2537031><a class="question_vote_up vote_not_user"href=# title=Like> <i class="fa fa-caret-up"aria-hidden=true> </i> </a><li class="reportar question-vote-down"arid=2537031><a class=flag-report> <i class="icon ion-md-flag"> </i> </a></ul><li><div class=send-details><span> </span><span class=sender> <a href=https://prodevsblog.com/questions/profile/53668/> Simon Brisenfeldt </a> </span><span class=send-time> <a class=comment-date href> Oct 19,2020 </a> </span></div> <div class=comment-text><div class=act-reply-2537031>@MarkKirby I'm sorry, a bit stressed out today and yes, I was a way too harsh. Sorry about that.</div></div></ul><ul class=reply-main-brd id=answer-reply-main-head-2537032><ul class="question-vote reply"><li class="vote-count voteAReplyCount-2537032">2<li class="question-vote-up voteAReply"arid=2537032><a class="question_vote_up vote_not_user"href=# title=Like> <i class="fa fa-caret-up"aria-hidden=true> </i> </a><li class="reportar question-vote-down"arid=2537032><a class=flag-report> <i class="icon ion-md-flag"> </i> </a></ul><li><div class=send-details><span> </span><span class=sender> <a href=https://prodevsblog.com/questions/profile/53668/> Simon Brisenfeldt </a> </span><span class=send-time> <a class=comment-date href> Oct 19,2020 </a> </span></div> <div class=comment-text><div class=act-reply-2537032>@George Make a quick edit to your answer and I'll upvote it. Sorry about that.</div></div></ul></ul><div class="loadmore-mqar text-center"></div></div></div></div></div></article></div><div class="white-box-shadow mt-2"><article class="article-question article-post clearfix question-type-normal"id=answer-main-head-2131647><div class=single-inner-content><div class="question-inner row"><div class="col-md-2 col-lg-1 px-md-1"><div class="question-image-vote ans"><div class="author-image text-center"><a href> <span class=author-image-span> <img class="avatar avatar-42 photo"alt=name height=42 src=https://prodevsblog.com/questions/images/default-user-image.png width=42> </span> </a><ul class="question-mobile question-vote comment comment"><li class="question-vote-up answerVote"qaid=2131647 type=1><a class="question_vote_up vote_not_user"title=Like> <i class="fa fa-caret-up"aria-hidden=true> </i> </a><li class="votes-answer-2131647 vote_result">1<li class="question-vote-down answerVote"qaid=2131647 type=0><a class="question_vote_down vote_not_user"title=Dislike> <i class="fa fa-caret-down"aria-hidden=true> </i> </a></ul></div></div><div class="question-content question-content-first d-inline-block d-md-none"><header class=article-header><div class=question-header><a class=post-author href=https://prodevsblog.com/questions/profile/13316/> Morales Antonio </a></div></header></div></div><div class="col-md-10 col-lg-11"><div class="question-content question-content-first"><header class="article-header d-none d-md-block"><div class="question-header d-sm-inline-block"><a class=post-author href=https://prodevsblog.com/questions/profile/13316/> Morales Antonio </a><a class=comment-date href> Added an answer on Oct 19,2020 </a></div></header></div><div class="question-content question-content-second"><div class=post-wrap-content><div class="question-content-text comment"id=answer-description-2131647><p><code>
                   /var/log/apt/
                  </code> contains log files describing which packages were installed, and when they were installed.</div></div><div class=main-comment-option><ul class="question-mobile question-vote comment comment d-none"><li class="question-vote-up answerVote"qaid=2131647 type=1><a class="question_vote_up vote_not_user"title=Like> <i class="fa fa-caret-up"aria-hidden=true> </i> </a><li class="votes-answer-2131647 vote_result">1<li class="question-vote-down answerVote"qaid=2131647 type=0><a class="question_vote_down vote_not_user"title=Dislike> <i class="fa fa-caret-down"aria-hidden=true> </i> </a></ul><span class="reply-answer reply-comment"answerid=2131647> <i class="fa fa-share"aria-hidden=true> </i> Reply </span><span class=report-comment data-target=#signupModal data-toggle=modal> <i class="fa fa-exclamation-triangle"aria-hidden=true> </i> Report </span></div></div><div class="main-comment reply d-none"id=2131647-answerReplyInput><div class=form-group><label>Your comment on this answer:</label><textarea class="editorP reply answer w-100"rows=5></textarea></div><div class=form-group><button class="addReplyAnswer btn btn-postcomment my-2"answerid=2131647>Add Comment</button><button class="cancelReplyAnswer btn btn-cancelcomment my-2"answerid=2131647>Cancel</button></div></div><div class=comments><ul id=2131647-answerReplies></ul><div class="loadmore-mqar text-center"></div></div></div></div></div></article></div><div class="white-box-shadow mt-2"><article class="article-question article-post clearfix question-type-normal"id=answer-main-head-2131648><div class=single-inner-content><div class="question-inner row"><div class="col-md-2 col-lg-1 px-md-1"><div class="question-image-vote ans"><div class="author-image text-center"><a href> <span class=author-image-span> <img class="avatar avatar-42 photo"alt=name height=42 src=https://prodevsblog.com/questions/images/default-user-image.png width=42> </span> </a><ul class="question-mobile question-vote comment comment"><li class="question-vote-up answerVote"qaid=2131648 type=1><a class="question_vote_up vote_not_user"title=Like> <i class="fa fa-caret-up"aria-hidden=true> </i> </a><li class="votes-answer-2131648 vote_result">0<li class="question-vote-down answerVote"qaid=2131648 type=0><a class="question_vote_down vote_not_user"title=Dislike> <i class="fa fa-caret-down"aria-hidden=true> </i> </a></ul></div></div><div class="question-content question-content-first d-inline-block d-md-none"><header class=article-header><div class=question-header><a class=post-author href=https://prodevsblog.com/questions/profile/14427/> Håge Farah </a></div></header></div></div><div class="col-md-10 col-lg-11"><div class="question-content question-content-first"><header class="article-header d-none d-md-block"><div class="question-header d-sm-inline-block"><a class=post-author href=https://prodevsblog.com/questions/profile/14427/> Håge Farah </a><a class=comment-date href> Added an answer on Oct 19,2020 </a></div></header></div><div class="question-content question-content-second"><div class=post-wrap-content><div class="question-content-text comment"id=answer-description-2131648><p>To purge the package in question run:<pre><code>sudo apt-get purge youtube-to-mp3
</code></pre></div></div><div class=main-comment-option><ul class="question-mobile question-vote comment comment d-none"><li class="question-vote-up answerVote"qaid=2131648 type=1><a class="question_vote_up vote_not_user"title=Like> <i class="fa fa-caret-up"aria-hidden=true> </i> </a><li class="votes-answer-2131648 vote_result">0<li class="question-vote-down answerVote"qaid=2131648 type=0><a class="question_vote_down vote_not_user"title=Dislike> <i class="fa fa-caret-down"aria-hidden=true> </i> </a></ul><span class="reply-answer reply-comment"answerid=2131648> <i class="fa fa-share"aria-hidden=true> </i> Reply </span><span class=report-comment data-target=#signupModal data-toggle=modal> <i class="fa fa-exclamation-triangle"aria-hidden=true> </i> Report </span></div></div><div class="main-comment reply d-none"id=2131648-answerReplyInput><div class=form-group><label>Your comment on this answer:</label><textarea class="editorP reply answer w-100"rows=5></textarea></div><div class=form-group><button class="addReplyAnswer btn btn-postcomment my-2"answerid=2131648>Add Comment</button><button class="cancelReplyAnswer btn btn-cancelcomment my-2"answerid=2131648>Cancel</button></div></div><div class=comments><ul id=2131648-answerReplies><ul class=reply-main-brd id=answer-reply-main-head-2537033><ul class="question-vote reply"><li class="vote-count voteAReplyCount-2537033">2<li class="question-vote-up voteAReply"arid=2537033><a class="question_vote_up vote_not_user"href=# title=Like> <i class="fa fa-caret-up"aria-hidden=true> </i> </a><li class="reportar question-vote-down"arid=2537033><a class=flag-report> <i class="icon ion-md-flag"> </i> </a></ul><li><div class=send-details><span> </span><span class=sender> <a href=https://prodevsblog.com/questions/profile/14427/> Håge Farah </a> </span><span class=send-time> <a class=comment-date href> Oct 19,2020 </a> </span></div> <div class=comment-text><div class=act-reply-2537033>Actually it does: the question was what is the name of the package and I have provided it. See the comments below the question.</div></div></ul><ul class=reply-main-brd id=answer-reply-main-head-2537034><ul class="question-vote reply"><li class="vote-count voteAReplyCount-2537034"><li class="question-vote-up voteAReply"arid=2537034><a class="question_vote_up vote_not_user"href=# title=Like> <i class="fa fa-caret-up"aria-hidden=true> </i> </a><li class="reportar question-vote-down"arid=2537034><a class=flag-report> <i class="icon ion-md-flag"> </i> </a></ul><li><div class=send-details><span> </span><span class=sender> <a href=https://prodevsblog.com/questions/profile/84948/> László Radicsné </a> </span><span class=send-time> <a class=comment-date href> Oct 19,2020 </a> </span></div> <div class=comment-text><div class=act-reply-2537034>I edited your answer to show you what I meant. Plain command listings are rarely considered acceptable answers on and off StackExchange. Always include a minimal explanation for context.</div></div></ul></ul><div class="loadmore-mqar text-center"></div></div></div></div></div></article></div><input id=selectedType type=hidden value=resc></div></div><div class="tab-pane fade"id=voted><div id=votedAwnsersContent><div id=votedAwnsers></div></div></div><div class="tab-pane fade"id=oldest><div id=oldestAwnsersContent><div id=oldestAwnsers></div></div></div></div></div><div class="col-md-4 col-lg-3"><section class="trendding-tags widget"style=padding-bottom:5px><h2 class=widget-title style=margin-bottom:10px>Warm tip !!!</h2><p style="font-size: 13px"><span> This article is reproduced from Stack Exchange / Stack Overflow, <a href="
						            https://askubuntu.com/questions/855937"target=_blank> please click </a> </span></section><div style="background-color:#fff;padding:10px 0px;margin-bottom:20px;"class=banner-side><div id=cbprotect><ins class=adsbygoogle data-ad-client=ca-pub-8794103690559293 data-ad-format=auto data-ad-slot=9519432720 data-full-width-responsive=true style=display:block> </ins><script>(adsbygoogle = window.adsbygoogle || []).push({});</script></div></div><section class="trendding-tags widget"><h2 class=widget-title><i class="icon ion-md-pricetags"> </i> Trending Tags</h2><div class=tagcloud><a class=tag-cloud-link href=https://prodevsblog.com/questions/tags/android/> android </a><a class=tag-cloud-link href=https://prodevsblog.com/questions/tags/android-sqlite/> android-sqlite </a><a class=tag-cloud-link href=https://prodevsblog.com/questions/tags/updatemodel/> updatemodel </a><a class=tag-cloud-link href=https://prodevsblog.com/questions/tags/gps/> gps </a><a class=tag-cloud-link href=https://prodevsblog.com/questions/tags/location/> location </a><a class=tag-cloud-link href=https://prodevsblog.com/questions/tags/html/> html </a><a class=tag-cloud-link href=https://prodevsblog.com/questions/tags/css/> css </a><a class=tag-cloud-link href=https://prodevsblog.com/questions/tags/css-selectors/> css-selectors </a></div></section><div style="background-color:#fff;padding:10px;margin-bottom:20px; position: sticky; top: 20px;"class=banner-side><div id=cbprotect><ins class=adsbygoogle data-ad-client=ca-pub-8794103690559293 data-ad-format=auto data-ad-slot=4647214146 data-full-width-responsive=true style=display:block> </ins><script>(adsbygoogle = window.adsbygoogle || []).push({});</script></div></div></div></div></div></div><script src=https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js></script><script>var csrfName="csrf_stack";
	var csrfHash="19d04c14627f9b332a10f9dfc55a460d";
    
    $(document).on('click','#replyQuestion, #cancelReplyQuestion',function() {
		$('#replyQuestion-textarea').toggle();
	});
    
    $(document).on('click','.reply-answer,.cancelReplyAnswer',function(e) {
		var answerId=$(this).attr('answerid');
		$("#"+answerId+'-answerReplyInput').toggleClass('d-none');
	});
    
    $(document).on('click','.tabs-question',function() {
		$('#votedAwnsers,#oldestAwnsers,#recentAwnsers').html('');
		
		var question=928543;
		var type=$(this).attr('type');
		var fd = new FormData(); 
		fd.append('question',question);
		fd.append('type',type);
		fd.append('next',0);
		fd.append(csrfName, csrfHash);
		$.ajax({
			type:'POST',
			url:'https://prodevsblog.com/questions/load-inner-tabs-question',
			type: "POST",
			data : fd,
			processData: false,
			contentType: false,
			success: function(response) {
				var response=$.parseJSON(response);
				if (response['type']==1) {
					var html=response['html'];
					if (type=="vote") {
						$('#votedAwnsers').html(html);
					} else if (type=="old") {
						$('#oldestAwnsers').html(html);
					} else {
						$('#recentAwnsers').html(html);
					}
				} else if (response['type']==2) {
					$('#signupModal').modal();
				} else {
					alert(response['html']);
				}
			},
			error: function (xhr, data, error) {
				if (window.confirm("This page is expired , Please click Yes to reload the page")) {
					window.location.reload(true);
				}
			}
		});
	});
    
    $(document).on('click','.loadmore-mqr-btn',function() {
		var element=$(this);
		element.html('<div class="ld ld-ring ld-spin-fast"></div>');
		var next=element.attr('value');
		var question=928543;
		var fd = new FormData(); 
		fd.append('next',next);
		fd.append('question',question);
		fd.append(csrfName,csrfHash);
		$.ajax({
			type:'POST',
			url:'https://prodevsblog.com/questions/load-more-mq',
			type: "POST",
			data : fd,
			processData: false,
			contentType: false,
			success: function(response) {
				var response=$.parseJSON(response);
				if (response['type']==1) {
					var questionReplies=response['result'];
					$('#questionReplies').append(questionReplies);
					if (response['loadMoreH']==1) {
						$('.loadmore-mqr').html('');
					} else {
						$('.loadmore-mqr-btn').val(response['next']);
						element.html('Load More');
					}
				}
				else if (response['type']==2) {
					$('#signupModal').modal();
				} else {
					alert(response['html']);
				}
			},
			error: function (xhr, data, error) {
				if (window.confirm("This page is expired , Please click Yes to reload the page")) {
					window.location.reload(true);
				} else {
					element.html('Load More');
				}
			}
		});
	});
    
    // old vote resc
	$(document).on('click','.loadmore-qa-btn',function() {
		var element=$(this);
		element.html('<div class="ld ld-ring ld-spin-fast"></div>');
		var next=element.attr('value');
		var dtype=$('#selectedType').val();
		var question=928543;
		var fd = new FormData();
		fd.append('next',next);
		fd.append('dtype',dtype);
		fd.append('question',question);
		fd.append(csrfName,csrfHash);
		$.ajax({
			type:'POST',
			url:'https://prodevsblog.com/questions/load-more-qa',
			type: "POST",
			data : fd,
			processData: false,
			contentType: false,
			success: function(response) {
				var response=$.parseJSON(response);
				if (response['type']==1) {
					var recentAwnsers=response['result'];
					$('.loadmore-qa').before(recentAwnsers);
					if (response['loadMoreH']==1) {
						$('.loadmore-qa').html('');
					} else {
						$('.loadmore-qa-btn').val(response['next']);
						element.html('Load More');
					}
				}
				else if (response['type']==2) {
					$('#signupModal').modal();
				} else {
					alert(response['html']);
				}
			},
			error: function (xhr, data, error) {
				if (window.confirm("This page is expired , Please click Yes to reload the page")) {
					window.location.reload(true);
				} else {
					element.html('Load More');
				}
			}
		});
	});

    $(document).on('click','.loadmore-sqar-btn',function() {
		var element=$(this);
		element.html('<div class="ld ld-ring ld-spin-fast"></div>');
		var answerid=element.attr('answerid');
		var next=element.attr('value');
		var fd = new FormData(); 
		fd.append('next',next);
		fd.append('answerid',answerid);
		fd.append(csrfName,csrfHash);
		$.ajax({
			type:'POST',
			url:'https://prodevsblog.com/questions/load-more-mqar',
			type: "POST",
			data : fd,
			processData: false,
			contentType: false,
			success: function(response) {
				var response=$.parseJSON(response);
				if (response['type']==1) {
					var questionReplies=response['result'];
					$('#'+answerid+'-answerReplies').append(questionReplies);
					if (response['loadMoreH']==1) {
						element.parent().html('');
					} else {
						$('.loadmore-sqar-btn[answerid='+answerid+']').val(response['next']);
						element.html('Load More');
					}
				} else if (response['type']==2) {
					$('#signupModal').modal();
				} else {
					alert(response['html']);
				}
			},
			error: function (xhr, data, error) {
				if (window.confirm("This page is expired , Please click Yes to reload the page")) {
					window.location.reload(true);
				} else {
					element.html('Load More');
				}
			}
		});
	});
	
	function animateAwnser(target) {
		$('html, body').animate({
			scrollTop: $(target).offset().top
		}, 500);
	}
	
	    
    $(document).on('click','.voteQuestion',function(e) {
		e.preventDefault();
		var element=$(this);
		element.removeClass('voteQuestion');
		var question=928543;
		var votesCount=parseFloat($('.votesCount-'+question).html().trim());
		if ($(this).hasClass('active')) {
			if (votesCount!=0) {
				return false;
			}
		}
		var type=$(this).attr('type');
		var fd = new FormData(); 
		fd.append('type',type);
		fd.append('question',question);
		fd.append(csrfName,csrfHash);
		$.ajax({
			type:'POST',
			url:'https://prodevsblog.com/questions/vote-manage-question',
			type: "POST",
			data : fd,
			processData: false,
			contentType: false,
			success: function(response) {
				var response=$.parseJSON(response);
				if (response['type']==1) {
					$('.voteQuestion[qid='+question+']').removeClass('active');
					element.addClass('active');
					
					if (type==0) {
						votesCount--;
					} else {
						votesCount++;
					}
					$('.votesCount-'+question).html(votesCount);
				} else if (response['type']==2) {
					$('#signupModal').modal();
				} else {
					alert(response['html']);
				}
				element.addClass('voteQuestion');
			},
			error: function (xhr, data, error) {
				if (window.confirm("This page is expired , Please click Yes to reload the page")) {
					window.location.reload(true);
				} else {
					element.addClass('voteQuestion');
				}
			}
		});
	});
	
	$(document).on('click','.answerVote',function(e) {
		e.preventDefault();
		var element=$(this);
		element.removeClass('answerVote');
		var qaid=$(this).attr('qaid');
		var votesCount=parseFloat($('.votes-answer-'+qaid).html().trim());
		if ($(this).hasClass('active')) {
			if (votesCount!=0) {
				return false;
			}
		}
		var type=$(this).attr('type');
		var fd = new FormData(); 
		fd.append('type',type);
		fd.append('qaid',qaid);
		fd.append(csrfName,csrfHash);
		$.ajax({
			type:'POST',
			url:'https://prodevsblog.com/questions/vote-manage-answer',
			type: "POST",
			data : fd,
			processData: false,
			contentType: false,
			success: function(response) {
				var response=$.parseJSON(response);
				if (response['type']==1) {
					$('.answerVote[qaid='+qaid+']').removeClass('active');
					element.addClass('active');
					
					if (type==0) {
						votesCount--;
					} else {
						votesCount++;
					}
					$('.votes-answer-'+qaid).html(votesCount);
				} else if (response['type']==2) {
					$('#signupModal').modal();
				} else {
					alert(response['html']);
				}
				element.addClass('answerVote');
			},
			error: function (xhr, data, error) {
				if (window.confirm("This page is expired , Please click Yes to reload the page")) {
					window.location.reload(true);
				} else {
					element.addClass('answerVote');
				}
			}
		});
	});
	
	$(document).on('click','.voteQReply',function(e) {
		e.preventDefault();
		var element=$(this);
		element.removeClass('voteQReply');
		var qrid=$(this).attr('qrid');
		var votesHtml=$('.voteQReplyCount-'+qrid).html().trim();
		
		if (votesHtml.length==0) {
			votesCount=0;
		} else {
			votesCount=parseFloat(votesHtml);
		}
		
		var type=1;
		if ($(this).hasClass('active')) {
			type=0;
		}
		
		var fd = new FormData(); 
		fd.append('qrid',qrid);
		fd.append('type',type);
		fd.append(csrfName,csrfHash);
		$.ajax({
			type:'POST',
			url:'https://prodevsblog.com/questions/vote-manage-questionR',
			type: "POST",
			data : fd,
			processData: false,
			contentType: false,
			success: function(response) {
				var response=$.parseJSON(response);
				if (response['type']==1) {
					if (type==0) {
						element.removeClass('active');
						
						votesCount--;
						if (votesCount<=0)
						$('.voteQReplyCount-'+qrid).html('');
						else
						$('.voteQReplyCount-'+qrid).html(votesCount);
					} else {
						votesCount++;
						$('.voteQReplyCount-'+qrid).html(votesCount);
						element.addClass('active');
					}
				} else if (response['type']==2) {
					$('#signupModal').modal();
				} else {
					alert(response['html']);
				}
				element.addClass('voteQReply');
			},
			error: function (xhr, data, error) {
				if (window.confirm("This page is expired , Please click Yes to reload the page")) {
					window.location.reload(true);
				} else {
					element.addClass('voteQReply');
				}
			}
		});
	});
	$(document).on('click','.voteAReply',function(e) {
		e.preventDefault();
		var element=$(this);
		element.removeClass('voteAReply');
		var arid=$(this).attr('arid');
		var votesHtml=$('.voteAReplyCount-'+arid).html().trim();
		
		if (votesHtml.length==0) {
			votesCount=0;
		} else {
			votesCount=parseFloat(votesHtml);
		}
		
		var type=1;
		if ($(this).hasClass('active')) {
			type=0;
		}
		
		var fd = new FormData(); 
		fd.append('arid',arid);
		fd.append('type',type);
		fd.append(csrfName,csrfHash);
		$.ajax({
			type:'POST',
			url:'https://prodevsblog.com/questions/vote-manage-AnswersR',
			type: "POST",
			data : fd,
			processData: false,
			contentType: false,
			success: function(response) {
				var response=$.parseJSON(response);
				if (response['type']==1) {
					if (type==0) {
						element.removeClass('active');
						
						votesCount--;
						if (votesCount<=0)
						$('.voteAReplyCount-'+arid).html('');
						else
						$('.voteAReplyCount-'+arid).html(votesCount);
					} else {
						votesCount++;
						$('.voteAReplyCount-'+arid).html(votesCount);
						element.addClass('active');
					}
				} else if (response['type']==2) {
					$('#signupModal').modal();
				} else {
					alert(response['html']);
				}
				element.addClass('voteAReply');
			},
			error: function (xhr, data, error) {
				if (window.confirm("This page is expired , Please click Yes to reload the page")) {
					window.location.reload(true);
				} else {
					element.addClass('voteAReply');
				}
			}
		});
	});
    
    $(document).on('click','#addReplyQuestion',function() {
		var element=$(this);
		element.html('<div class="ld ld-ring ld-spin-fast"></div>');
		var replyTextQ=$('#replyTextQ').val();
		var question=928543;
		var fd = new FormData(); 
		fd.append('replyTextQ',replyTextQ);
		fd.append('question',question);
		fd.append(csrfName,csrfHash);
		$.ajax({
			type:'POST',
			url:'https://prodevsblog.com/questions/post-question-reply',
			type: "POST",
			data : fd,
			processData: false,
			contentType: false,
			success: function(response) {
				var response=$.parseJSON(response);
				if (response['type']==1) {
					var replyHtml=response['html'];
					$('#replyTextQ').val('');
					$('#replyQuestion-textarea').toggle();
					$('#questionReplies').prepend(replyHtml);
				} else if (response['type']==2) {
					$('#signupModal').modal();
				} else {
					alert(response['html']);
				}
				element.html('Add Reply');
			}
			,
			error: function (xhr, data, error) {
				if (window.confirm("This page is expired , Please click Yes to reload the page")) {
					window.location.reload(true);
				} else {
					element.html('Add Reply');
				}
			}
		});
	});
    
    $(document).on('click','.addReplyAnswer',function() {
		var element=$(this);
		element.html('<div class="ld ld-ring ld-spin-fast"></div>');
		var answerid=$(this).attr('answerid');
		var textareaT=$('#'+answerid+'-answerReplyInput').find('.reply');
		var answerReply=textareaT.val();
		var fd = new FormData();
		var question=928543;
		fd.append('answerReply',answerReply);
		fd.append('answerid',answerid);
		fd.append('question',question);
		fd.append(csrfName,csrfHash);
		$.ajax({
			type:'POST',
			url:'https://prodevsblog.com/questions/post-answer-reply',
			type: "POST",
			data : fd,
			processData: false,
			contentType: false,
			success: function(response) {
				var response=$.parseJSON(response);
				if (response['type']==1) {
					var replyHtml=response['html'];
					textareaT.val('');
					$("#"+answerid+'-answerReplyInput').toggleClass('d-none');
					$("#"+answerid+'-answerReplies').prepend(replyHtml);
				} else if (response['type']==2) {
					$('#signupModal').modal();
				} else {
					alert(response['html']);
				}
				element.html('Reply');
			},
			error: function (xhr, data, error) {
				if (window.confirm("This page is expired , Please click Yes to reload the page")) {
					window.location.reload(true);
				} else {
					element.html('Reply');
				}
			}
		});
	});</script><footer class=custom><div class=main-foter><div class=container><div class=row><div class="col-sm-6 col-md-6 col-lg-4 col-xl-3 my-2"><ul class=foter-option><li class="heading-fot nav-link">Questions<li><a class="nav-link custom"href=https://prodevsblog.com/questions/> <span> <i class="fa fa-line-chart"aria-hidden=true> </i> </span> All Activity </a><li><a class="nav-link custom"href=https://prodevsblog.com/questions/all/> <span> <i class="icon ion-md-list"> </i> </span> Questions </a><li><a class="nav-link custom"href=https://prodevsblog.com/questions/hot/> <span> <i class="icon ion-md-cafe"> </i> </span> Hots </a><li><a class="nav-link custom"href=https://prodevsblog.com/questions/unanswered/> <span> <i class="icon ion-md-book"> </i> </span> Unanswered </a></ul></div><div class="col-sm-6 col-md-6 col-lg-4 col-xl-3 my-2"><ul class=foter-option><li class="heading-fot nav-link">Category<li><a class="nav-link custom"href=https://prodevsblog.com/questions/categories/> <span> <i class="icon ion-md-pricetags"> </i> </span> Categories </a><li><a class="nav-link custom"href=https://prodevsblog.com/questions/users/> <span> <i class="icon ion-md-contacts"> </i> </span> Users </a></ul></div><div class="col-sm-6 col-md-6 col-lg-4 col-xl-3 my-2"><ul class=foter-option><li class="heading-fot nav-link">Miscellaneous<li><a class="nav-link custom"href=https://prodevsblog.com/questions/badges/> <span> <i class="icon ion-md-infinite"> </i> </span> Badges </a><li><a class="nav-link custom"href=https://prodevsblog.com/questions/blogs/> <span> <i class="icon ion-md-infinite"> </i> </span> Blogs </a></ul></div><div class="col-sm-6 col-md-6 col-lg-4 col-xl-3 my-2"><ul class=foter-option><li class="nav-item logo-main w-100 mb-2"><a class="nav-link custom pl-0"href=https://prodevsblog.com/questions/> <img class="img-fluid logo foter"alt=logo src=https://prodevsblog.com/questions/images/fcda38f0f06df434b3303c4e41d96086.png> </a><li><div class=page-footer__count-item><div class=page-footer__count-value>1.5m</div><div class=page-footer__count-label>Questions</div></div> <div class=page-footer__count-item><div class=page-footer__count-value>3m</div><div class=page-footer__count-label>Answers</div></div> <div class=page-footer__count-item><div class=page-footer__count-value>2.1m</div><div class=page-footer__count-label>Best Answers</div></div> <div class=page-footer__count-item><div class=page-footer__count-value>153.4k</div><div class=page-footer__count-label>Users</div></div><li><ul class="inline-icon footer py-3"><li><a href=https://facebook.com/> <img alt=social src=https://prodevsblog.com/questions/images/facebook.png style=width:32px;> </a><li><a href=https://twiiter.com> <img alt=social src=https://prodevsblog.com/questions/images/twitter.png style=width:32px;> </a><li><a href=https://googleplus.com> <img alt=social src=https://prodevsblog.com/questions/images/google.png style=width:32px;> </a><li><a href=https://dribble.com> <img alt=social src=https://prodevsblog.com/questions/images/rss.png style=width:32px;> </a></ul></ul></div></div></div></div></footer><div class="footer-copyright foter"><div class=row><div class=col-md-1></div><div class=col-md-10><div class="container-fluid text-center"><span> © 2020 <a class=poweredby-foter href=https://prodevsblog.com> ProDevsBlog </a> </span></div></div><div class=col-md-1><div class="container-fluid text-center"><span> 1.0977 sec </span></div></div></div></div><script src=https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js></script><script src=https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js></script><script async src=https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.6/umd/popper.min.js></script><script async src=https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/js/bootstrap.min.js></script><script>var csrfName="csrf_stack";
		var csrfHash="19d04c14627f9b332a10f9dfc55a460d";
		
		$(document).on('click','#forgotM',function(){
			$('#signupModal').modal('toggle');
			$('#forgetModal').modal();
		});
		
		$(document).on('click','#signupB',function(){
			$('.signupmessages').addClass('d-none').html('');
			var name=$('#nameS').val();
			var email=$('#emailS').val();
			var password=$('#passwordS').val();
			var formData=new FormData();
			formData.append('name',name);
			formData.append('email',email);
			formData.append('password',password);
			formData.append(csrfName,csrfHash);
			$.ajax({
				type: 'post',
				data: formData,
				processData: false,
				contentType: false,
				url:"https://prodevsblog.com/questions/signup",
				success: function(response) {
					var response=$.parseJSON(response);
					if(response['type']==1)
					{
						$('#successSignup').html(response['html']);
						$('#successSignup').removeClass('d-none');
					}
					else
					{
						$('#errorSignup').html(response['html']);
						$('#errorSignup').removeClass('d-none');
					}
				},
				error: function (xhr, data, error) {
					if (window.confirm("This page is expired , Please click Yes to reload the page"))
					{
						window.location.reload(true);
					}
				}
			});
		});
		$(document).on('click','#loginB',function(){
			$('.loginmessages').addClass('d-none').html('');
			var email=$('#emailL').val();
			var password=$('#passwordL').val();
			var formData=new FormData();
			formData.append('email',email);
			formData.append('password',password);
			formData.append(csrfName,csrfHash);
			$.ajax({
				type: 'post',
				data: formData,
				processData: false,
				contentType: false,
				url:"https://prodevsblog.com/questions/loginA",
				success: function(response) {
					var response=$.parseJSON(response);
					if(response['type']==1)
					{
						$('#successLogin').html(response['html']);
						$('#successLogin').removeClass('d-none');
						window.location.reload(true);
					}
					else
					{
						$('#errorLogin').html(response['html']);
						$('#errorLogin').removeClass('d-none');
						if(response['type']==2)
						{
							window.location.reload(true);
						}
					}
				},
				error: function (xhr, data, error) {
					if (window.confirm("This page is expired , Please click Yes to reload the page"))
					{
						window.location.reload(true);
					}
				}
			});
		});
		
		$(document).on('click','#resetB',function(){
			$('.resetmessages').addClass('d-none').html('');
			var email=$('#emailF').val();
			var formData=new FormData();
			formData.append('email',email);
			formData.append(csrfName,csrfHash);
			$.ajax({
				type: 'post',
				data: formData,
				processData: false,
				contentType: false,
				url:"https://prodevsblog.com/questions/forgotA",
				success: function(response) {
					var response=$.parseJSON(response);
					if(response['type']==1)
					{
						$('#successForgot').html(response['html']);
						$('#successForgot').removeClass('d-none');
					}
					else
					{
						$('#errorForgot').html(response['html']);
						$('#errorForgot').removeClass('d-none');
						if(response['type']==2)
						{
							window.location.reload(true);
						}
					}
				},
				error: function (xhr, data, error) {
					if (window.confirm("This page is expired , Please click Yes to reload the page"))
					{
						window.location.reload(true);
					}
				}
			});
		});
		$(document).on('click','#resetF',function(){
			$('.resetmessages').addClass('d-none').html('');
			var passwordF=$('#passwordF').val();
			var hash=$('#hash').val();
			var formData=new FormData();
			formData.append('passwordF',passwordF);
			formData.append('hash',hash);
			formData.append(csrfName,csrfHash);
			$.ajax({
				type: 'post',
				data: formData,
				processData: false,
				contentType: false,
				url:"https://prodevsblog.com/questions/forgotAc",
				success: function(response) {
					var response=$.parseJSON(response);
					if(response['type']==1)
					{
						$('#successForgotC').html(response['html']);
						$('#successForgotC').removeClass('d-none');
						window.location.href="https://prodevsblog.com/questions/login";
					}
					else
					{
						$('#errorForgotC').html(response['html']);
						$('#errorForgotC').removeClass('d-none');
						if(response['type']==2)
						{
							window.location.reload(true);
						}
					}
				},
				error: function (xhr, data, error) {
					if (window.confirm("This page is expired , Please click Yes to reload the page"))
					{
						window.location.reload(true);
					}
				}
			});
		});</script>